Starting from Magento version 2.3.0, the extension is available via Composer in Packagist or Magento
For Magento versions 2.2.6 up to 2.2.11 (EOL), the Legacy
extension (EOL) is already preinstalled and the new extension for those versions has also reached
EOL. The new extension for those versions is available here
and, once installed, will appear in the Configuration panel as an
alternative (V2) to the Legacy (V1) checkout experience, as shown in the following image:
For Magento versions below 2.2.6 (EOL), the Legacy version of our extension (EOL) is available at Amazon Pay and Amazon Sign-in for Magento 2 (Legacy) documentation.
For Magento versions from 2.2.4 up to 2.4.x, our Legacy extension (EOL) is probably already pre-installed.
Please settle pending transactions processed with any version of Legacy Amazon Pay extension (EOL) extension prior to proceeding
with the installation. Refund operation on past transactions will always be possible with
newer versions. In case of issues, you can settle pending transactions in Seller Central and then
mark them as settled offline in Magento
Create a backup of your shop before proceeding to install this new Amazon Pay extension. Before
installing Amazon Pay, please disable any previously installed or preinstalled Amazon Pay extension:
bin/magento module:disable Amazon_Core Amazon_Login Amazon_Payment
Then remove all directories and their files from the following paths:
Composer Install Method¶
The composer require command below will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please replace the version behind the colon with the preferred version.
app/code/Amazonfolder if already present in your Magento installation.
Sign in to your server via SSH.
cdinto you Magento installation directory.
Install the extension via Composer. The right command is dependent on your Magento 2 version:
- Magento 2.1.0 - 2.2.5:
Not supported by this extension. Please take a look at our Legacy extension here.
- Magento 2.2.6 - 2.2.11 (EOL):
- composer require amzn/amazon-payments-magento-2-plugin:dev-V2checkout-1.2.x
php bin/magento module:enable Amazon_PayV2 --clear-static-content
- Magento 2.3.0 and above: Purchase our free module from Magento
Marketplace and then run:
composer require amzn/amazon-pay-magento-2-module:5.*
php bin/magento module:enable Amazon_Pay --clear-static-content
- Magento 2.1.0 - 2.2.5:
Run Magento database scripts:
php bin/magento setup:upgrade
Follow any advice the upgrade routine provides
Compile code and dependency injection:
php bin/magento setup:di:compile
Deploy static view files (production mode only):
php bin/magento setup:static-content:deploy xx_XX yy_YY
where xx_XX, yy_YY, ... are the locales you are aiming to support
Check permissions on directories and files and set them correctly if needed
At this point the module is installed, and ready to be configured! You can proceed to Configuration.
Magento Marketplace has disabled the ability to download packages directly in favor of installing packages via the Composer install method. For more information on adding packages via Composer, please see General CLI installation in the Magento dev docs.
Please also have a look at the official Magento documentation for command line configuration: http://devdocs.magento.com/guides/v2.4/config-guide/cli/config-cli-subcommands.html
If there is a need to disable the module, you can disable Amazon Pay in the extension settings. This will remove all customer facing parts.
To completely disable the module, please run:
php bin/magento module:disable Amazon_Pay
To completely uninstall the module using Composer, please run:
composer remove amzn/amazon-pay-magento-2-module
composer remove amzn/amazon-payments-magento-2-plugin