Amazon Pay and Login with Amazon integration guide

Taking your integration live

We recommend that you thoroughly test your integration with Amazon Pay and Login with Amazon in a test environment before taking your integration live. For more information, see Testing your integration in the Sandbox environment.

After successfully testing the integration, release to production and go live by switching the following URLs from the Sandbox environment to the Production environment:

Widgets.js URL

In the header of each web page where you have added an Amazon Pay button, update the source for the Widgets.js file:

From Sandbox  https://static-na.payments-amazon.com/OffAmazonPayments/us/sandbox/js/Widgets.js

To Production  https://static-na.payments-amazon.com/OffAmazonPayments/us/js/Widgets.js

Login API endpoint

From Sandbox  https://api.sandbox.amazon.com

To Production  https://api.amazon.com

Profile API endpoint

From Sandbox  https://api.sandbox.amazon.com/user/profile

To Production  https://api.amazon.com/user/profile

URLs for Amazon Pay and Login with Amazon application whitelisting

Make sure that any production URLs in Seller Central are properly whitelisted in your Login with Amazon application, including both the Allowed JavaScript Origins and the Allowed Return URLs, by doing this:

  1. Sign in to Seller Central.
  2. From the dropdown after the name of your business near the upper right, choose Login with Amazon.
  3. Under Web Settings, click Edit, add the URLs that you need, and then click Save.

Instant Payment Notification endpoints

If you have set up Instant Payment Notification (IPN) messages, add the IPN Production endpoints in Seller Central.

  1. Sign in to Seller Central, and then choose Production View.
  2. Click Settings, click Integration Settings, and then click Edit.
  3. In the Merchant URL textbox, enter your IPN Production endpoint, and then click Update.

Learn more: Handling Instant Payment Notification (IPN) messages


Copyright © 2009-2018 Amazon.com, Inc. or its affiliates. Amazon and Amazon.com are registered trademarks of Amazon.com, Inc. or its affiliates. All other trademarks are the property of their respective owners.