Testing Signatures

You can easily test your signature creation code using any of the examples in API Reference. Each example contains a signature calculated from the values in the rest of the example.

  1. Copy any one of the sample query request examples from among the Actions in API Reference.

  2. Remove the HTTP verb (GET or POST) and the URI from your copy. Also remove the explicit '\n' characters.

  3. Remove the line with the Signature parameter from your copy.

  4. Create a signature using the instructions in Generating a Signature

  5. Compare the output from your signature creation code with the value you removed from the HTML example. They should be identical.

Migrating your Application from the Sandbox to Production

When your application is running correctly in the sandbox, you need to do the following to switch it to the production environment:

Launch Process

1

Change the Amazon FPS sandbox endpoint to the Amazon FPS live endpoints as listed in the following table:

ApplicationEndpoint

Co-Branded UI Pipeline

https://payments.amazon.com/sdui/sdui/managecobranding

Amazon FPS web service requests

https://fps.amazonaws.com/

Amazon Payments Account Management UI

https://payments.amazon.com/

2

If your application is set up to receive IPN notifications, set its IPN URL at https://payments.amazon.com/sdui/sdui/managecobranding.

3

Please ensure you have specified your co-branding URL on production using the form at https://payments.amazon.com/sdui/sdui/managecobranding.

4

Please ensure that the rest of your account settings are current at https://payments.amazon.com/sdui/sdui/accountsettings.

5

For a marketplace application, make sure you register for that option when you register the application in the production environment. If you did not select the option when you registered the application, you can file a contact-us request at https://payments.amazon.com/sdui/contactus.


You can use the same credentials to sign your requests as long as your Amazon Payments Developer account on both Sandbox and Production are linked to the same email address and password.