Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

DRMasterChief

field address_state > gives error for some countries

Recommended Posts

Hello, afaik Paypal wants a state for a lot of countries. Many customers do not give that and I do not need it for shipping. I know that sometimes there comes the following error from Paypal when a customer try to order (mostly from Asia):

PayPal response:TIMESTAMP -> xxx ERRORCODE0 -> xxxSHORTMESSAGE0 -> Shipping Address State EmptyLLONGMESSAGE0 -> The field Shipping Address State is required xxxCODE0 -> Error

In the meantime, i have seen that PayPal wants to have an additional data field with 'state' in some countries (e.g. Mexico or Thailand), which causes the error above.

Is this problem also known for thirtybees ? If yes, there should be an workaround which fills 'addressstate' with country code. So this is not empty and the problem is gone. I think it should be in /expresschecout/process.php

thank you for your ideas about this!

Share this post


Link to post
Share on other sites

Hello this problem is known in Paypal, not only in TB but albo in Presta. The workaround it comment the line when the Paypal module send info about address to Paypal.

Sometimes Paypal try to validate some real address and think that is a fake address.

I had such situations with some customers in USA.

When I read right the newest Paypal module don't send via API addess so it might help in such problems.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×