Hey, all.
I just noticed this problem- a friend of mine in the USA bought a test item from my Canadian site and used a Cdn. shipping address and PP blocked it saying, "Paypal does not allow your country of residence to ship to the country you wish to."
I saw only one other thread about this from two years ago that recognized the problem and ended with PP not budging from their position. http://www.zen-cart.com/forum/showth...=paypal+canada
Well, I just called them and got the following info to resolve it:
"In order to bypass the issue where customers in one country trying to ship to another country are getting the message 'Paypal does not allow...,' your shopping cart will need to pass the "address_override" variable to us in the payment form, with a value of "0". This should resolve the issue."
I believe that's from includes/modules/payment/paypal.php and this line in particular-
I'm going to test it, but would like to hear from someone experienced if this sounds right and if the "0" in question replaces the "1" near the very end of the above.PHP Code:$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Address override', 'MODULE_PAYMENT_PAYPAL_ADDRESS_OVERRIDE', '', 'If set to 1 the address passed in via Zen Cart will override the customer PayPal-stored address. The customer will be shown their address from Zen Cart, but will not be able to edit it. If the address is not valid (i.e. missing required fields, including country) or not included, then no address will be shown.<br />Empty=No Override<br />1=Passed-in Address overrides customers PayPal-stored address', '6', '18', 'zen_cfg_select_option(array(\'\',\'1\'), ', now())");
Cheers,
Robbie




