Addresses from Amazon with only `AddressLine2` are not recognized
-
Hi there,
I’m building an integration between the Amazon Pay plugin and our Fluid Checkout plugin.
During our tests we had some addresses from Amazon API that returned with only the “Address line 2” and the plugin does not recognize it, showing the “Address field” for the customer to complete:
The same problem happens when our plugins is deactivated, so it is not a problem with our integration:
Upon investigating the code and data returned from the Amazon Pay API, I noticed there is no conditional for such cases when only the
AddressLine2
is returned from the Amazon Pay API, andAddressLine1
andAddressLine3
are returned asnull
:This would happen for address in Germany and Austria only, as there is special treatment for addresses in those two countries.
I hope you can fix this issue soon ??
Best,
Diego
- The topic ‘Addresses from Amazon with only `AddressLine2` are not recognized’ is closed to new replies.