These examples are suitable for the following scenarios:
- If your parameters will change dynamically on the checkout page and cannot be preloaded.
- If you have a multi-item shopping cart.
- If your store contains multiple items wherein using static buttons for each item is not feasible.
The demos follow this pattern:
- A simple cart page is displayed with Item name and Quantity.
- The dynamic parameters are passed to the backend and a signature is calculated.
- The signature is appended to a data-structure along with the other parameters and encoded in JSON.
- The checkout process begins once the signature and the other required input parameters are verified.
The amount of the payment.
The message that will appear in the checkout pages (maximum length of 1024 characters).
The seller-specified identifier of this order. This is displayed in emails to your buyers and in the transaction history on the Amazon Payments website.
We recommend that you use the following characters only:
dash (-), or
Max length: 50 characters
The currency to use to charge the buyer (eg - 'USD'). This defaults to currency for your region.
2. Production Endpoint