Jump to content

Is this a bug about country and state


Recommended Posts

First of all, I'm using PrestaShop v.1.2.5
during the checkout using Paypal API,error message is occured [in sandbox]

# ACK -> Failure
# VERSION -> 53.0
# BUILD -> 1227335
# L_ERRORCODE0 -> 10729
# L_SHORTMESSAGE0 -> Shipping Address State Empty
# L_LONGMESSAGE0 -> The field Shipping Address State is required
# L_SEVERITYCODE0 -> Error

Here is the point, my customer's address is in Brazil,so I am not able to modify [state],but abviously,the above error
telling me to fill in the state?
How can I do that?

Anyone got idea about this case?your help are highly appreciated!

Frank Wong

Link to comment
Share on other sites

  • 1 month later...

Hi
I have that same problem as you!
I still am searching for a solution.
Have you solve this problem yet?
I will back here, if i found this solution.

Josh Qiu

Link to comment
Share on other sites

  • 3 months later...

Hi,

We've run into a similar problem with Japan. There is some discussion on the PayPal API forum but nothing in their official documentation. This is the thread (strange URL, I know) https://www.x.com/message/151205

From that thread: "It seems that signing up for AU,CA,CN,ES,GB,IT,JP,US mandatorily need state entry during address fill"

Which is a bad sign because that list does not include Brazil...

@whitelighter the PayPal API sets NOSHIPPING to 1 which I think means PayPal should not be strictly validating the address.

There is no official documentation of the state names outside of the US and Canada. Pretty poor form. But maybe this means any string is OK. At least one post in the PayPal forums indicates this is the case.

A great module would add something like this into Prestashop: http://bdhacker.sourceforge.net/javascript/countries/

Regards,
Mark

Link to comment
Share on other sites

  • 3 months later...
  • 2 weeks later...

i added in redirect.tpl file of paypal module this code:

<input type="hidden" name="no_shipping" value="1" />


options are:

Do not prompt payers for shipping address. Allowable values:
0 – prompt for an address, but do not require one
1 – do not prompt for an address
2 – prompt for an address, and require one
The default is 0.

Link to comment
Share on other sites

  • 1 month later...
i added in redirect.tpl file of paypal module this code:

<input type="hidden" name="no_shipping" value="1" />


options are:

Do not prompt payers for shipping address. Allowable values:
0 – prompt for an address, but do not require one
1 – do not prompt for an address
2 – prompt for an address, and require one
The default is 0.


Could you please indicate in which line the codes should be added? Thanks.
Link to comment
Share on other sites

General note on that: that will result in PayPal not prompting your buyer for a shipping address, which in turn may affect seller protection, any cases filed, et cetera.

This issue was reportedly fixed with 1.4, but I can't see any new data added there yet. Once I can reproduce the issue, I'll try and see if I can supplement it with the required data

Link to comment
Share on other sites

  • 4 months later...
General note on that: that will result in PayPal not prompting your buyer for a shipping address, which in turn may affect seller protection, any cases filed, et cetera.

This issue was reportedly fixed with 1.4, but I can't see any new data added there yet. Once I can reproduce the issue, I'll try and see if I can supplement it with the required data


any update on this issue I am getting the OP error even in the address in USA, and sometime even after the state has been selected.. I am using Prestashop 1.4.1
Link to comment
Share on other sites

  • 2 years later...

I am using prestashop 1.5.4.1 and paypal module 3.5.0.

I have tried to buy a test product with express checkout but I got this error:

Please try to contact the merchant:

  1. PayPal response:
  2. TIMESTAMP -> 2014-05-21T15:45:53Z
  3. L_ERRORCODE0 -> 10729
  4. L_SHORTMESSAGE0 -> Shipping Address State Empty
  5. L_LONGMESSAGE0 -> The field Shipping Address State is required
  6. L_SEVERITYCODE0 -> Error

 

http://www.kado2iran.com

If you search test, a test product is there with price of 0.1 CAD.

I really appreciate if you could do a test and help me to solve this problem.

 

Thank you very much in advance.

 

--------------------------------------------------------------------

 

Sadly, I just disabled express check out.

At least my customers can pay me now!

Edited by mojtabam (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...