Rss Feed Tweeter button Facebook button Technorati button Reddit button Myspace button Delicious button Digg button

Zen Cart Error: Sorry, we are not shipping to your region at this time.

That old error from Zen Cart came back again.

I have recently moved the site and had to make the 2 changes in code for PayPal to send the correct country code to the shopping cart in order to calculate the shipping.

For those running 1.38a and do a fresh install here is a reminder of the changes:

Zen Cart forum fix for:

/includes/modules/payment/paypal/paypal_curl.php

and the zen cart fix for:

line 1825 in /includes/modules/payment/paypalwpp.php from

It was only over the course of a few hours since going live that this error was spotted and all is working well now. Once again apologies to anyone inconvenienced by this.

PayPal Express and Zen Cart – Shipping Not Available Error

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 :)