The installation of Amazon Pay is possible in several ways.
On the one hand, you can obtain and configure the extension directly during the installation of Shopware in the initial setup wizard.
On the other hand, you can also license the Shopware Markets extension directly in the Shopware Store at store.shopware.com. You can then download and install the extension under Extensions > My Extensions.
It is important that you have previously logged in with your account in the Shopware Account tab.
After the extension has been installed, you can activate it using the button to the left of the extension.
Amazon Pay is a checkout process from Amazon that enables millions of Amazon customers worldwide to log in to third-party websites using their Amazon login and pay easily with the payment and shipping information from their Amazon account.
With the Amazon Pay extension for Shopware 6 you can quickly and easily activate Amazon Pay on your website. All you need is an Amazon Pay merchant account. If you don't have a merchant account yet, you can start the registration here.
After creating the account, please follow the steps described under "Amazon Pay access information" to obtain the access data required to configure the extension.
Express Checkout with Amazon Pay Button on the following pages/elements:
Cart
Registration
Product details page
Minicart/Sidebar (Offcanvas Cart)
Amazon Pay as payment method for the regular checkout
"Sign-in with Amazon": account creation and login using an Amazon account
Support for "Multicurrency payments"
PSD2 compliant
A valid Amazon Pay merchant account is required to receive the access data required for the configuration of the extension. If you do not have a merchant account yet, you can register a new account here:
After logging in to your Seller Central account, you can follow the steps described below.
Step 1 - Open Integration Central
Please log in to Seller Central, then use the drop down on top of the page to select Amazon Pay (Sandbox View). Then select „Integration“ > „Integration Central“ in the menu on top.
Step 2 - Choose eCommerce solution provider
On the top of the page, perform the following selection:
Step 3 - Open "Create API keys" dialog
First, scroll down on the page to the section „API access“, then click the button Create keys. If this button is not available and showing "Add Store ID" instead, click this button first and follow the steps on the next page for creating a new application. When having finished the application setup, choose again „Integration“ > „Integration Central“ via the menu on top to return to the original page. The button Create keys should now be visible.
Step 4 - Create API keys
In the dialog window, provide a name to the key pair and click "Create keys". A file will be downloaded to your machine that contains the "Private Key", which is similar to a password. Like a password, it should be stored at a secure place and never be shared via an unsecure channel like email. The Private Key will be uploaded later on to the Shopware instance via an import dialog.
Step 5 - Note down access credentials
Please note down the access credentials required for configuring the extension:
Step 6 - Create Buyer Test Account
For testing the checkout, a test account is required to login to Amazon in the sandbox environment. For creating this account, please choose Integration > Test Accounts via the menu on top, then click "Create a new test account" on the following page. Fill out the fields for name, email address and password, then select a delivery address that is typical for the countries that you are supporting with your shop (for instance an address in the UK, in Ireland and maybe in Germany). When ready, click Create Account to finish the buyer test account setup.
You can download and install the Amazon Pay extension in your administration under Extensions > My Extensions.
It is important that you have previously logged in to the Shopware Account tab with your account and licensed the extension in the store.
After the extension has been installed, you can activate it via the button to the left of the extension.
If you want to upload the extension manually, you have to follow these steps according to the documentation:
Download the extension in your Shopware account in the Merchant area, if it is already available in your Shopware account.
In the backend, choose Extension >My Extensions
Choose Upload Extension
Select the ZIP file downloaded before and confirm
Wait a moment until the installation is confirmed with Extension has been uploaded (may take a moment)
After the successful upload, open the menu on the right for the new entry, click "Install" and wait for the "Success" prompt.
On the same screen, activate the extension via the selector in the middle.
The extension settings are configured in Shopware Admin via Settings > Extensions > Amazon Pay.
Please note that only HTTPS domains are supported by Amazon Pay.
The settings can be configured individually for each sales channel. If the settings are to apply to the entire shop, the option All sales channels must be selected under Sales channel. For a sales channel-specific configuration, please select the respective sales channel instead. In addition, here you can directly select the payment method in the selected sales channel as the default payment method.
With the buttons Export settings and Import settings you have the possibility to export or import the settings for the extension Amazon Pay. By clicking on Export settings the download of the file
"swag-amazon-pay.config.json" starts automatically. As soon as you click on Import settings, a new dialog will appear where you can upload a file.
The settings for the various sections of the expansion are described below.
In this area the access data of the dealer account are stored. The required data can be retrieved via Seller Central, see "Amazon Pay access information" in this documentation.
After entering all data of the merchant account, please click on Save. Then you can check the validity of the access data by clicking on the button Test API access data.
In this section you configure the general settings of the extension.
Note: If you are configuring Amazon Pay on a live site, please switch from Amazon Pay (sandbox view) to Amazon Pay (production view) in the dropdown in Seller Central in the upper right-hand corner and repeat the previously described steps for depositing the IPN URL.
Note: If you have activated the option "Hide Amazon Pay Button globally", you can show the button again by using the following command in the browser console. This will make the button invisible to other users. In addition, the command must be sent again each time the page is reloaded.
for (let item of document.getElementsByClassName("swag-amazon-pay-wrapper")) { if(!item)
{continue;} item.hidden = false }
Configure here which payment status the extension should assign when a certain payment event occurs, e.g. payment collection.
The collection mode specifies when a payment is collected. Payments can be collected either immediately (recommended), when changing to a certain order status, or manually.
Here you can configure the logging of the extension and download log files. Select Enable extended logging here, so that the relevant log data is available for support in case of an error. Please send the log data on request of the support team.
Before going live, the Amazon Pay Checkout should be fully tested. For this purpose, the previously created test account is used to test the start of the Amazon Pay Checkout via the following pages:
Amazon Pay can also be used via the regular checkout "Checkout" if "Amazon Pay" is selected as payment method here.
After the checkout has been successfully tested, the Amazon Pay Sandbox mode can be disabled. To do this, please deactivate the option Enable sandbox in the extension options. Then delete all caches for security reasons and test the checkout again. You can now use a real Amazon account for this. Following the test with your real Amazon account, you should also immediately make a refund in order to have tested this process as well.
In your Admin Dashboard under Orders > Overview you can click on the tab Amazon Pay (1) after clicking on the order details for orders placed with Amazon Pay.
This tab shows you all relevant information about the payment or transaction with Amazon Pay.
In the general area on the left side you can see the account information (name and email address) (2) of your Amazon customer.
On the right side you will find the payment information (3) for the order. The uppermost amount (marked bold) shows you the total value of the order. The value shown in green is the amount that has already been collected - i.e. paid - from the total amount. The amount in red indicates the amount of refunds.
You can use the button Refund (4) to make a (partial) refund. After clicking this button a window will open in which you can enter the desired amount and the reason for the refund. After confirmation, the refund will be displayed in the payment information area (3).
The button Cancel (5) can only be clicked if the payment has not yet been made. This allows you to cancel the payment process.
By clicking the button Charge (6) you have the possibility to collect the amount partially or completely.
In the grey-shaded area (7) you will find information such as the Amazon reference number, status, billing address and delivery address. The Amazon reference number is the ID of the payment that was made. You can search for this ID in the Amazon Pay Merchant Account in Seller Central to see more details.
The status display gives you information about the current status of the payment from Amazon.
In the payment history section (8) you can see when transactions were made in the past. You can use the Object ID to view further details about the payment in the Amazon Pay Merchant Account. If no transactions are visible here, please check urgently if your IPN settings are configured correctly, see [General Settings > IPN URL].
In our Amazon Pay Troubleshooting Guide you will find help on possible problems, which are usually caused by a faulty configuration of the extension or a damaged template.
Your Shopware account will provide you with competent support for setting up your shop and for any problems that may arise. To create a ticket, follow the instructions in the support documentation.