Skip to content

Set Up Amazon Pay

Follow these steps to set up Amazon Pay.

  1. Ensure that your Domain URL and Return URL are added to Amazon’s approved list of URLs. This includes your website and the page where users will be redirected to after granting consent are formally listed as approved entities. This is necessary to ensure that authorization codes are correctly delivered back to your application.

    Reach out to your Amazon assigned POC for further details.

  2. Allow JavaScript origins.

    a. Add your website origin to Allowed JavaScript Origins.

    b. An origin is the combination of protocol, domain name, and port (for example, https://www.example.com:8443).

    • Allowed origins must use the HTTPS protocol.

    • If you are using a standard port (port 80 or port 443) you need only include the domain name (for example, https://www.example.com).

    • Adding your domain here allows the SDK for JavaScript to communicate with your website directly during the login process.

  3. Allow Return URLs in the Dev Console.

    a. Add the redirect URIs to Allowed Return URLs.

    • The return URL includes the protocol, domain, path, and query string(s)(for example, https://www.example.com/login.php).