When integrating without the AddressBook widget it errors on confirmation with ShippingAddressNotSet.
The buyer is providing the address on the website and then selecting Payment Method from the Wallet, but when the confirmOrderReference is requested it errors with ShippingAddressNotSet. How can this issue be mitigated? Is there a way(an API) to set the shipping address the buyer has provided? Or is there a setting to specify that shipping address is not being selected from the widgets?
When integrating without the AddressBook widget, you may encounter an error during the confirmation process with the message “ShippingAddressNotSet.” This occurs when the buyer provides their address on the website and then selects the payment method from their wallet. However, when the “confirmOrderReference” is requested, it fails because the shipping address is not set.
To mitigate this issue, there are a couple of potential solutions:
Set the shipping address using the provided buyer’s address through an API: You can make use of the Amazon Pay API to set the shipping address that the buyer has provided during the checkout process. By using the appropriate API call, you can pass the address details to Amazon Pay and ensure that the shipping address is properly associated with the order.
Specify that the shipping address is not being selected from the widgets: If you want to indicate that the shipping address is not being selected from the AddressBook widget, you should review the integration documentation or contact the Amazon Pay support team for guidance. There may be specific settings or configuration options available that allow you to indicate that the shipping address is provided through a different method, such as on your website.
It’s worth noting that the exact implementation details and available options may vary depending on the specific integration and version of the Amazon Pay service you are using. Therefore, referring to the official Amazon Pay documentation or reaching out to their support team would provide the most accurate and up-to-date information tailored to your integration.
I hope this helps! If you have any further questions, feel free to ask.