cancel
Showing results for 
Search instead for 
Did you mean: 

SHIPMENT_ADDRESS_INVALID error when shipping to Argentina. Working with address from Spain.

Highlighted

SHIPMENT_ADDRESS_INVALID error when shipping to Argentina. Working with address from Spain.

Hey guys, I'm setting up the Paypal module to a Prestashop website, and it doesn't work when shipment address is set to Argentina, yet it works with an address to Spain.

 

The data set as shipment address to Argentina is as follows:

 

  • Street, Number: Avenida Ayacucho, 2
  • ZIP Code: B7160AEB (it's a valid postal codehttps://codigo-postal.co/en-us/argentina/cpa/B7160AEB/)
  • City: Maipu
  • State/Province: Buenos Aires -> ISO code on backend is B
  • Country: Argentina-> ISO code on backend is AR

The only difference I've found between Argentina and Spain, is that Spain is not on this list: https://developer.paypal.com/docs/classic/api/state_codes/#, and it doesn't need a state code. Then for Argentina, the state of Buenos Aires, has the code BUENOS AIRES, which is not a valid ISO Code; for this reason, I'v tried setting the name to BUENOS AIRES (all capital letters), but with no luck.

 

Then, the error is the following:

 

error_paypal.png

 

Anyone has any idea what could be happening?