quiqqer/payment-amazon
?
How do i get the necessary API credentials that are required for the configuration of - Create an Amazon Seller account (this is essential!)
- Follow the steps provided in https://pay.amazon.com/uk/developer/documentation/lpwa/201951060
- Enter your credentials in the "Amazon Pay" configuration in the QUIQQER Backend
These further steps are extremely important:
- Set an IPN endpoint URL in your Amazon Seller account to allow Amazon to contact your website if the status of an order changes (this is crucial to successfully mark orders as paid). See https://pay.amazon.com/uk/developer/documentation/lpwa/201985720 under "Setting up to receive IPN messages".
- Set an allowed JavaScript origin to make the "amazon pay" button and authentication process with Amazon work (see https://pay.amazon.com/uk/developer/documentation/lpwa/201956540 under "Setting allowed JavaScript origins or allowed return URLs". Usually you just have to set the main domain of your website (e.g. "https://my-super-webshop.com"). Yes, using Amazon Pay requires you to have a valid SSL certificate!
Important: If you decide to test Amazon Pay in your environment via sandbox mode, you need special sandbox accounts. Follow the instructions in https://pay.amazon.com/uk/developer/documentation/lpwa/201956330 to create them.