Jump to content

darth_D

Members
  • Posts

    9
  • Joined

  • Last visited

Profile Information

  • First Name
    Daniel
  • Last Name
    Arnold

darth_D's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi Can the Paypal USA module v1.3.9 script be modified to not send shipping (most importantly country) information to Paypal? There have been several suggestions I have seen online with editing the module but they do not seem to apply to 1.3.9 (either the arrays or variables suggested don't exist e.g $fields['ADDROVERRIDE']). I had found this section of script in paypalusa.php that appeared to be where the modification could be made but haven't been successful. $billing_address = new Address((int)$this->context->cart->id_address_invoice); $billing_address->country = new Country((int)$billing_address->id_country); $billing_address->state = new State((int)$billing_address->id_state); $this->context->smarty->assign(array( 'paypal_usa_action' => 'https://www'.(Configuration::get('PAYPAL_USA_SANDBOX') ? '.sandbox' : '').'.paypal.com/cgi-bin/webscr', 'paypal_usa_customer' => $this->context->customer, 'paypal_usa_business_account' => Configuration::get('PAYPAL_USA_ACCOUNT'), 'paypal_usa_billing_address' => $billing_address, 'paypal_usa_total_tax' => (float)$this->context->cart->getOrderTotal(true) - (float)$this->context->cart->getOrderTotal(false), 'paypal_usa_cancel_url' => $this->context->link->getPageLink('order.php',''), 'paypal_usa_notify_url' => $this->getModuleLink('paypalusa', 'validation', array('pps' => 1), Configuration::get('PS_SSL_ENABLED')), 'paypal_usa_return_url' => /*26/12/2013 fix for Backward compatibilies on confirmation page*/ version_compare(_PS_VERSION_, '1.5', '<') ? (Configuration::get('PS_SSL_ENABLED') ? Tools::getShopDomainSsl(true) : Tools::getShopDomain(true)). __PS_BASE_URI__.'order-confirmation.php?id_cart='.(int)$this->context->cart->id.'&id_module='.(int)$this->id.'&key='.$this->context->customer->secure_key : $this->context->link->getPageLink('order-confirmation.php', null, null, array('id_cart' => (int)$this->context->cart->id, 'key' => $this->context->customer->secure_key, 'id_module' => $this->id)), )); All suggestions are appreciated.
  2. I am using the Paypal USA module. Whats most disturbing is the first test purchase I tried worked. All the rest after that failed
  3. Could you please elaborate? I had assumed virtual products didn't have shipping/delivery addresses sent to Paypal. And worse still, the country I am in is not one of those that supports shipping from Paypal which is why I wanted to avoid sending that data to Paypal all together
  4. Hi, Is there a way to prevent the Paypal USA module from send shipping information to Paypal? I tried using virtual products (which worked only once) but whenever I try to make a test purchase on paypal sandbox, I get a "We're sorry, PayPal doesn't allow residents of United States to ship purchases to [country]" error. Thanks
  5. Hi, I am trying to create an online store whose deliveries will be handled my company. I installed the Paypal USA module to handle payments and created virtual products so that shipping would not be an issue. Using paypal sandbox I successfully made a test purchase (received invoice, email and all). Today when I tried to make the same purchase, I get the "We're sorry, PayPal doesn't allow residents of United States to ship purchases to [country]." error at Paypal. What could be the issue? Thanks
  6. Hi To avoid the "We're sorry, PayPal doesn't allow residents of United States to ship purchases to Uganda" error, I had made all my products virtual products as delivery would be handled by my company in Uganda and not Paypal. This worked once, with me making a test purchase using the paypal sandbox yesterday. Today I tried another test purchase and Paypal sandbox brought the "We're sorry, PayPal doesn't allow residents of United States to ship purchases to Uganda" error. What could be the issue? Thanks
  7. Thanks. I am using the paypal USA module. Its validation.php page seems the best option as it posts a curl to the paypal (in this case paypal sandbox) page. Unfortunately it looks like the order information it sends is limited to the product purchased. I was interested in posting both product and delivery information to the URL. Is that possible?
  8. Hi I am pretty new to PrestaShop and some of its features. I wanted to know if it was possible to POST order data to a URL when the order is validated (Payment method is clicked in one page checkout and user is taken to Paypal page) And also if returned paypal data (purchase information) can be POSTed to the same URL when payment is complete and user is redirected back to shopping site? I found information online about coding hooks but it wasn't very clear on its implementation. Any help given is highly appreciated. Thanks
×
×
  • Create New...