Pinkloveshy Posted May 9, 2011 Share Posted May 9, 2011 Hi AllMy prestashop sent me the following email. Is this an error with the paypal moduleAny ideas please???RegardsPinkloveshyHi,Error reporting from your PayPalAPI moduleA client has encountered a problem with the module PayPalAPI, see the report:PayPal response:TIMESTAMP -> 2011-05-09T19:30:30ZL_ERRORCODE0 -> 10729L_SHORTMESSAGE0 -> Shipping Address State EmptyL_LONGMESSAGE0 -> The field Shipping Address State is requiredL_SEVERITYCODE0 -> ErrorShorts4u.com powered with PrestaShop™ Link to comment Share on other sites More sharing options...
shokinro Posted May 9, 2011 Share Posted May 9, 2011 I think it is an error that obviousely tells you that there is no state in the shipping address customer provider.I think the customer comes from a country that contain state, but you store has not configured the conuntry with containing state. Link to comment Share on other sites More sharing options...
khuysmans Posted May 27, 2011 Share Posted May 27, 2011 I'm using PrestaShop 1.4.1.0 with PayPal module v2.4 only since yesterday. I have had a few succesful sales made via Paypal, but tonight I also received the error from the Paypal module: A client has encountered a problem with the module PayPalAPI, see the report: PayPal response: TIMESTAMP -> 2011-05-27T17:46:45Z L_ERRORCODE0 -> 10729 L_SHORTMESSAGE0 -> Shipping Address State Empty L_LONGMESSAGE0 -> The field Shipping Address State is required L_SEVERITYCODE0 -> Error It is a bit hard to troubleshoot though. Of course it is the API complaining that the State had to be filled out, but without any reference to the cart, I don't know which country the cart was for.I also cannot locate any details on which countries require States to be filled out for the Paypal API to work. Link to comment Share on other sites More sharing options...
shokinro Posted May 27, 2011 Share Posted May 27, 2011 You can check related order and shipping address to see if the country requires state.I am sure the address is in a country the Paypal requires state but you have not set it at your store.Actually, if you are using my Agile Paypal Express Checkout module, the module will automatically fix the missing state issue by adding it to database. So that you never see this errors. If you are interested, you can tale a look at following threadhttp://www.prestashop.com/forums/viewthread/77195/ Link to comment Share on other sites More sharing options...
khuysmans Posted May 27, 2011 Share Posted May 27, 2011 Thanks for your thoughts shokinro.I would be very happy to check the order if there were any. Since payment fails due to the error I mentioned, no order is registered so I can't find it out that way.After investigating further on the Paypal developer forums the most common suggestion is to repeat the country ISO code in the field reserved for the State if no State is available. So I adjusted the function makePayPalAPIValidation in paypal.php:In the "// Getting address" section: if (isset($address->id_state) AND $address->id_state) $state = new State((int)($address->id_state)); else $state = new Country((int)($address->id_country)); Thanks for suggestion an alternative Paypal module although at the moment the Paypal module that comes with PS 1.4.1 seems to be very viable as well. I am using Express Checkout and it is quite possible that a customer perhaps didn't enter his/her State when filling out the credit card details at the Paypal prompt since no Paypal account is required. Though I would assume Paypal would just ask the visitor to enter the missing details and not abort the call alltogether. Link to comment Share on other sites More sharing options...
cool cellphone case Posted May 29, 2011 Share Posted May 29, 2011 same issue, many buyers didn’t enter his/her State when checkout, there are hundreds of countries if all countries need states information by Paypal then that is a touch job to list all states in the shipping->states. i have disabled the Paypal 2.4 API in order to let customer place order. i also have other shopping cart that using same paypal so i can't use IPN in paypal. it is a headache, hope the new version will sort this problem out.Hi, Error reporting from your PayPalAPI module A client has encountered a problem with the module PayPalAPI, see the report: Making new connection to 'api-3t.paypal.com/nvp'Connect with CURL method successfulSending this params:METHOD=DoExpressCheckoutPayment&VERSION=60.0&PWD;=******************&TOKEN=EC-54E117....ERID=WGBXYF4LGF468&PAYMENTACTION=Sale&AMT=29.99&CURRENCYCODE=USD&IPADDRESS=digitalschina.com&NOTIFYURL=http://www.digitalschina.com.../ipn.php&BUTTONSOURCE=PRESTASHOP_ECM&SHIPTONAME;=+Danilo+Henriquez&SHIPTOSTREET=2451+E+TREMONT+AVE+&SHIPTOCITY=Bronx+NY&SHIPTOSTATE;=&SHIPTOCOUNTRYCODE=US&SHIPTOZIP=10461Send with CURL method successfulPayPal response:TIMESTAMP -> 2011-05-28T15:38:55ZCORRELATIONID -> ff611794e81e5ACK -> FailureVERSION -> 60.0BUILD -> 1913139L_ERRORCODE0 -> 10729L_SHORTMESSAGE0 -> Shipping Address State EmptyL_LONGMESSAGE0 -> The field Shipping Address State is requiredL_SEVERITYCODE0 -> Error Link to comment Share on other sites More sharing options...
JPC Solutions Posted June 6, 2011 Share Posted June 6, 2011 I am getting the same thing. I get there's an error with the API. However, why am I receiving this message in English, French, Spanish, and Greek? That doesn't make sense to me. My site clearly states that I don't do overseas sales, so why would people go through with this? This seems like some kind of Internet bot is doing this... Link to comment Share on other sites More sharing options...
matduke Posted June 20, 2011 Share Posted June 20, 2011 Thanks for your thoughts shokinro.I would be very happy to check the order if there were any. Since payment fails due to the error I mentioned, no order is registered so I can't find it out that way.After investigating further on the Paypal developer forums the most common suggestion is to repeat the country ISO code in the field reserved for the State if no State is available. So I adjusted the function makePayPalAPIValidation in paypal.php:In the "// Getting address" section:if (isset($address->id_state) AND $address->id_state) $state = new State((int)($address->id_state)); else $state = new Country((int)($address->id_country)); Thanks for suggestion an alternative Paypal module although at the moment the Paypal module that comes with PS 1.4.1 seems to be very viable as well. I am using Express Checkout and it is quite possible that a customer perhaps didn't enter his/her State when filling out the credit card details at the Paypal prompt since no Paypal account is required. Though I would assume Paypal would just ask the visitor to enter the missing details and not abort the call alltogether. This seems like a great fix for this issue! However I have no idea where to put the line of code exactly. Tried it at 2 places and both time it gave me a parse error in the modules tab. Can you please tell me where to put the line exactly so I don't encounter this paypal error anymore...? Thanks! Link to comment Share on other sites More sharing options...
nathanielleee Posted October 22, 2012 Share Posted October 22, 2012 I am stuck at this point as well. all of my paypal orders were declined due to no state. I attempted to checkout myself and got the same error. PayPal response: TIMESTAMP -> 2012-10-22T23:00:55Z L_ERRORCODE0 -> 10729 L_SHORTMESSAGE0 -> Shipping Address State Empty L_LONGMESSAGE0 -> The field Shipping Address State is required L_SEVERITYCODE0 -> Error Link to comment Share on other sites More sharing options...
SuperCharlie Posted October 23, 2012 Share Posted October 23, 2012 If memory serves, you may be able to get more info by logging in to paypal and digging around for some response/log/api something area to see the entire failed post response. This might let you track down who and where it was from to see where paypal wants you to have a state and PS isnt putting in a state entry box for. I would think most everywhere would have some sort of state/province/region/something to limit the whole country area.. Link to comment Share on other sites More sharing options...
bside2234 Posted December 6, 2012 Share Posted December 6, 2012 I get this error when customers use the Checkout With Paypal button. Prestashop doesn't transfer the State field over and that triggers the error. All is fine if they checkout via the "normal" checkout system though. Link to comment Share on other sites More sharing options...
icenil Posted December 15, 2012 Share Posted December 15, 2012 So anybody, Please, need a help to solve this problem. Thanks in advance. Link to comment Share on other sites More sharing options...
designguy79 Posted January 20, 2013 Share Posted January 20, 2013 I am getting this error on version 1.5.3.1 and PayPal v 3.4.1 Has anyone been able to figure out how to fix this? Link to comment Share on other sites More sharing options...
ymergui Posted January 25, 2013 Share Posted January 25, 2013 I have the same issue with PS 1.5.3.1 and Paypal v3.4.4 Link to comment Share on other sites More sharing options...
bside2234 Posted January 25, 2013 Share Posted January 25, 2013 A temporary fix so you don't get this error and orders will go through properly is to go to the back office, modules,paypal module: Check "no" for: Express Checkout shortcut Offer your customers a 3-click checkout experience This will get rid of all the Checkout with Paypal buttons on all the product pages and you shouldn't get the error anymore. Not really a fix but more of a workaround until the issue is fixed. Link to comment Share on other sites More sharing options...
ymergui Posted January 25, 2013 Share Posted January 25, 2013 Thanks a lot ! I will try it tomorrow . Link to comment Share on other sites More sharing options...
mojtabam Posted May 21, 2014 Share Posted May 21, 2014 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: PayPal response: TIMESTAMP -> 2014-05-21T15:45:53Z L_ERRORCODE0 -> 10729 L_SHORTMESSAGE0 -> Shipping Address State Empty L_LONGMESSAGE0 -> The field Shipping Address State is required 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. Link to comment Share on other sites More sharing options...
mojtabam Posted May 22, 2014 Share Posted May 22, 2014 Sadly, I just disabled express check out. At least my customers can pay me now! Link to comment Share on other sites More sharing options...
bside2234 Posted May 22, 2014 Share Posted May 22, 2014 (edited) I disabled express checkout over a year ago to "fix" this. Sad to see it's still an issue. I'm using 1.6.0.6 now. Not sure if anything has been fixed. Never thought to try and enable it and give it a go. Edited May 22, 2014 by bside2234 (see edit history) Link to comment Share on other sites More sharing options...
Stanleyek Posted September 3, 2014 Share Posted September 3, 2014 Issiue is stil there. Today i check off express checkout. Link to comment Share on other sites More sharing options...
bside2234 Posted September 26, 2014 Share Posted September 26, 2014 Maybe try going into Localization in your back office and import the localization pack for the country that's causing this error. Link to comment Share on other sites More sharing options...
Recommended Posts