Jump to content

PayPal Fatal Error Page for orders from China


benjamingojr

Recommended Posts

Hi Everyone,

 

My client from China receives a "fatal error" page everytime he tries to complete his order. His PayPal actually gets charged but the we get a "Payment Error" status at Back Office.  (PS1.6 PayPal Module 3.7.2)

 

PayPal sent me their analysis of the problem (italics) and says I have to speak with the shopping cart provider...

 

Thanks for contacting us, my name is Kai from PayPal merchant technical support team. 
I have checked your API cal logs and noticed you are integrating PayPal's Express Checkout. You may refer to the below for its detals.
https://developer.paypal.com/webapps/developer/docs/classic/express-checkout/gs_expresscheckout/
In the DoExpressCheckoutPayment API, your shopping cart system does not send state info via variable PAYMENTREQUEST_n_SHIPTOSTATE , which is compulsory if the variable PAYMENTREQUEST_n_SHIPTOCOUNTRYCODE is set to "CN", so that error "10729 - Shipping Address State Empty" is returned. 
https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/DoExpressCheckoutPayment_API_Operation_NVP/
So my suggestion is to ask your technician or your shopping cart provider, PrestaShop's supporting team, to help to fix the code to solve this problem.

 

Can anyone help me out on this?

 

Thanks!

Link to comment
Share on other sites

  • 8 months later...

Guys, the solution that PayPal provided you is not good enough. In fact, there is no any technical issue on Prestashop side, neither on PayPal side.

 

The problem you have now is that your chinese clients didn't set the State parameter in their shipping address.

 

You have to go to Localization / Localization (back-office), then select China in drop-down list, and check States check-box. Prestashop will import all states for China, your client just have to set the right State in Shipping address, then order & pay. That's all :)

Link to comment
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
×
×
  • Create New...