| Did this page help you? Yes No Tell us about it... |
The Amazon Payments sandbox enables you to create a fully functioning button in a test environment. Simple Pay buttons created in the sandbox contain all the functionality, look, and feel of buttons created for a production environment. The only difference is no charges are incurred.
The Amazon Payments sandbox pages appear nearly identical to the Amazon Payments business account pages. Most will display the Amazon Payments sandbox logo in the upper left corner of the page, and the front part of your browser address will display http://payments-sandbox.amazon.com the entire time.
![]() | Note |
|---|---|
You can simulate any task in the sandbox which you can do in Amazon Simple Pay. Explore the sandbox at http://payments-sandbox.amazon.com |
We recommend you create and test your buttons in the Amazon Payments sandbox before deploying them into production.
To test a button
If you are logged into your Business account at http://payments.amazon.com, sign out now.
Go to http://payments-sandbox.amazon.com and log into your Amazon Payments Sandbox account. If you do not yet have a Amazon Payments Sandbox account, see How to Get an Amazon Payments Sandbox Account.
Create your Simple Pay button using the appropriate procedure in Creating Simple Pay Buttons, but within the Amazon Payments sandbox.
Once you have created the button, add it to your web page, and test all its functionality without incurring any charges.
Go back to your Amazon Payments Sandbox account, and navigate to the Your Account tab. The actions you performed with the button appear as recent transactions in the Account Activity table. You can open and inspect the results of each by clicking the Details link associated with a transaction.
If the button doesn't function to your satisfaction, repeat steps 3-5 until it produces the transaction you need.
When your button works correctly, log out of your Amazon Payments Sandbox account, log into your Amazon Payments business account, and create the final version of the button for your production environment.
![]() | Note |
|---|---|
Do not copy the HTML code you created in the sandbox to your production environment. Instead, make careful notes and recreate the button using your business account. For best results, test the button again in the production environment. |
Developers can use the Amazon Payments sandbox to perform sophisticated button testing, testing signatures based on your AWS Access Key ID, and returning specific return values and error codes. For more information, see Overview of Advanced Features.