Earlier I commented on the fix for PayPal Express and Zen Cart but unfortunately it broke again. I asked PayPal to investigate as it looked as if the wrong country code was being passed - they were helpful but did not find a problem so it was back to the shopping cart php code.
Customers could not find a shipping option when returning from PayPal to AllGiftsDirect.co.uk so they abandoned their carts. Credit card payments were fine, it was only PayPal Express that had a problem.
After looking at the previous post ( by the way, using a blog to track Zen Cart changes is extremely helpful, there is no way I would have remembered which pieces of code were altered) I changed line 1825 in paypalwpp.php back to the original suggestion:
’ship_country_name’ => urldecode($response['SHIPTOCOUNTRY']));
This was mentioned on the Zen Cart forum post number 57. PayPal express is working fine again.
It was working fine, nothing changed but it then stopped functioning correctly, so I made a small change and now it is back working again.
Aren’t computers so annoying sometimes? Apologies to any customers who found it as frustrating as I did ![]()
Tags: country code, paypal express, paypal php, shipping error, Zen Cart
One Response to “PayPal Express and Zen Cart - Shipping Not Available Error”
Trackbacks/Pingbacks
Leave a Reply