Jump to content

[Solved] Appearing non enabled country in a order of a cliente


Recommended Posts

Hello,

 

I realised I have an order of a client who chose a country that it isn't enabled in the backoffice. In fact, in my shop there's just one country selected. That client chose Paypal as a method of payment. The order has a state of "Payment error" with the following response:

 

ZL_ERRORCODE0 -> 10729

L_SHORTMESSAGE0 -> Shipping Address State Empty

L_LONGMESSAGE0 -> The field Shipping Address State is required

L_SEVERITYCODE0 -> Error

 

I read that error appears when the shop has not configured the current selected country...

 

I'm asking. How is possible this client was able to select another country? When adding an adress there's just 1 country selectable!

 

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

I found I wasn't the first one who soffered that. The solution here: https://www.prestashop.com/forums/topic/309248-paypal-address-overrides-my-address/?do=findComment&comment=1604095

 

- modules/paypal/views/templates/hook/integral_evolution_payment.tpl:

Change the line: <input type="hidden" name="address_override" value="true" />

Change for: <input type="hidden" name="address_override" value="false" />

 

-modules/paypal/views/templates/hook/integral_evolution_payment.tpl 

Comment lines:

line 194 -- $address->add();
line 199 -- $address->save();
 
I will check if that works in the future!
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...