Vielen Dank für deinen Besuch. Diese Seite ist nur in Englisch verfügbar.
 Step 9. Test your integration in the Sandbox environment, and then switch to Production | Amazon Pay

Step 9. Test your integration in the Sandbox environment, and then switch to Production

To test your integration and to make sure that you have covered all possible edge cases, Amazon Pay provides a Sandbox environment for testing. When you test your implementation in Sandbox mode, you can simulate the buyers' experience as they navigate through the Amazon Pay button on your website.

In Sandbox mode, you can also test your API operation calls to Amazon Pay to make sure that the calls are configured correctly and that the responses include all the payment parameters that you need for tracking the entire order. The Sandbox environment also lets you simulate various error conditions to help you better manage your buyers' experiences in the event that something goes wrong during the checkout process.

For example, you can simulate a payment decline or a browser cookie timeout. For information about using the Amazon Pay and Login with Amazon Pay Sandbox environment, see Testing your integration in the Sandbox environment in the Amazon Pay and Login with Amazon integration guide.

After you have thoroughly tested your integration, you can replace the sandbox endpoints in the JavaScript snippet with the Production endpoints and push your integration to your production site. (The Production endpoint is shown in the Step 1. Add the Amazon Pay JavaScript reference code snippet that renders the button.)