PrestaShop - Upgrade your Amazon Pay module
Installation
- Download the latest Amazon Pay module installation package.
- Sign in to your PrestaShop admin.
- Click Module, and then click Module Manager (for PrestaShop 1.6, click Modules and Services, and then click Modules and Services).
- Disable the module Amazon Pay - Login and Pay with Amazon.
- Go to Upload a module (for PrestaShop 1.6, go to Add a new module), and then click Choose a file, and then add the Amazon Pay Checkout v2 module installation package you downloaded in Step 1.
- Click Upload this module.
Get your Public Key ID
- In Seller Central click Integration, and then click Integration Central.
- Under Integration channel, select Website or mobile, then choose Self-developed from the first drop-down, and the choose default One-time Payments, Single Authorization as Payment type.
- Click Get instructions.
- Scroll down to the Create API keys section, and click Create keys.
- In the pop-up window, select Generate API credentials, and then add your shop name to the Name your API keys field.
- Click Create keys.
- Save the Private Key (PEM file) to your hard disk.
Configuration
- When installation is finished, click Configure. Alternatively, search for the Amazon Pay V2 module in Module Manager and click Configure.
- Go to Seller Central and sign in to your Amazon Payments merchant account.
- Open a different browser tab and sign in to your PrestaShop admin.
- Click Module, and then click Module Manager (for PrestaShop 1.6, click Modules and Services, and then click Modules and Services).
- Find the Amazon Pay V2 module and click Configure.
- Add your Merchant ID, your Public Key ID, and your Store ID to the corresponding fields. You find all required IDs in Integration Central within Seller Central.
- Choose the Region from the drop-down for which you registered your Amazon Payments merchant account.
- To upload your Private Key, click Add file, then selects the Private Key file (PEM file) that you’ve downloaded, and then click
- Open the tab Configuration, and scroll down to the end of the page.
- Copy the URL that show under Please use this URL for your IPN configuration.
- Go to Seller Central, then click Settings, and then click Integration Settings.
- Click Edit on Instant Notification Settings, paste the URL you copied in step 10. into the field Merchant URL, and then click Update.
- In the drop-down menu on top, choose Sandbox view (or Production view, depending which view was enabled) and repeat steps 11. and 12.
- Go back to your PrestaShop admin. In the Amazon Pay V2 module, open the tab Configuration.
- To test your integration in sandbox mode, disable Livemode.
- In the Loglevel drop-down, choose Debug mode.
- Disable Button hidden mode.
- In the Capture mode drop-down, choose when an order will be captured (when order is placed, when order is shipped, or manually).
- Set the different order statuses that correspond to your shop configuration .
- Click Save.
Alexa Delivery Notifications
- Sign in to your PrestaShop admin.
- Click Modules, and then click Module Manager.
- Go to the Amazon Pay V2 module and click Configure.
- Open the tab Alexa Delivery Notifications.
- Set Enable Alexa delivery notifications to Yes.
- For each carrier enabled in the shop, choose the corresponded carrier supported by Amazon Pay from the dropdown menu on the right side.
- Click Save.
Create a test account
- Go to Seller Central.
- In the drop-down menu on top of the page click Sandbox view.
- Click Integration, and then click Test Accounts.
- Click Create a new test account and fill in the required information.
- Click Create Account.
Test your integration
- Do a test order with your new test account.
- After finishing testing, go to your PrestaShop admin.
- Open the Amazon Pay V2 plugin configuration.
- Open the Configuration tab, and then enable Livemode.
- Click Save.
Troubleshooting
If you have had any difficulties with your test order, or subsequent capture or refund, open the Amazon Pay V2 plugin configuration, open the Contact us tab, and then download your log files. Send them to your Amazon Pay account manager including a detailed description of the issue, or contact Merchant support.