Quote Originally Posted by naani1 View Post
I did try one thing which got me further:

I hard coded /includes/modules/payment/paypalwpp.php file:

$options['LOCALECODE'] = '';

and

$options['SHIPTOSTATE'] = 'UK';

now, the method in my madness is this: if the localecode is set to US, (as in my previous posting), the shiptostate is required + it is validated by paypal. However, if you leave localecode as null, it defaults to whatever the paypal account is, i.e. UK paypal in my case. The shiptostate is still required, but you can get away with entering anything in here. I hard coded 'UK'.
1. Valid LOCALECODEs (according to PayPal's documentation) are:
AU, DE, FR, IT, GB, ES, US. Any other values default to US.
This shouldn't have any bearing on the reported error returned from PayPal.

2. For the particular customer address you're sending to PayPal when this occurs, what is the state/province value in Zen Cart? If it's blank in Zen Cart, then it'll be blank when sending to PayPal ... thus causing the problem you're reporting...