Plugins-2 icon

Set up the plugin in Adobe Commerce

Install Adyen's plugin for Adobe Commerce, and configure it in your Adobe Commerce admin panel. 

Version 8 of the plugin will be deprecated in January 2025. This means that there will be no security updates and you will no longer receive support from Adyen. We recommend to migrate the latest major version.

Step 1: Install the plugin

Adyen's plugin for Adobe Commerce (formerly Magento 2) is open-source and available on GitHub. The GitHub repository is connected to Packagist, so you can easily include it in your project through Composer.

Before you begin, make sure that you have installed Composer. In your command-line tool, go to the Adobe Commerce folder and run the following commands:

  1. Install the plugin:

    composer require adyen/module-payment
  2. Enable the plugin: 

    bin/magento module:enable Adyen_Payment
  3. Execute the update scripts:

    bin/magento setup:upgrade
  4. Flush cache storage:

    bin/magento cache:flush

    If you are using a caching layer such as Varnish, you need to exclude the following URL pattern from being cached: /adyen/process/*.

(Optional) Use Express Checkout flows

Only possible with the Adobe Commerce plugin v8.8.0 or later.

Express Checkout is available for Apple Pay and Google Pay. To activate the Express Checkout Module, go to the Adobe Commerce (formerly Magento 2) folder and run the following commands in your command-line tool:

  1. Install the plugin:

    composer require adyen/adyen-magento2-expresscheckout:1.*
  2. Enable the plugin: 

    bin/magento module:enable Adyen_ExpressCheckout
  3. Execute the update scripts:

    bin/magento setup:upgrade
  4. Flush cache storage:

    bin/magento cache:flush

Step 2: Run cron

To process webhooks, update the cache, and close unfinished orders, you need to have cron running on your server. For instructions on how to set up cron in Adobe Commerce, refer to Configure and run cron.

The cron job generation time interval for the adyen_payment group is set to one minute. 

Step 3: Configure the plugin in Adobe Commerce

Before you begin, make sure that you have set up your Adyen Customer Area.

  • Automated: available for Adobe Commerce plugin version 8.4.0 or later.

    • We recommend this option if you are new to using the Adobe Commerce plugin.
    • The required settings are configured automatically for you by using your API key.
    • You can also reconfigure your integration using this option, but in that case the older configuration will be lost.
  • Manual: available for all Adobe Commerce plugin versions.

    • We recommend this option if you have used the Adobe Commerce (formerly Magento 2) plugin before.
    • You manually generate credentials and configure your integration.

Configure the Adyen plugin in your Adobe Commerce admin panel: 

  1. Log in to your Adobe Commerce admin panel. 
  2. In the left navigation bar, go to Stores > Configuration
  3. In the menu, go to Sales > Payment Methods and select Adyen Payments.
  4. Select Required settings and fill out the following fields: 

Watch how to configure the plugin in Adobe Commerce:

Step 4 (optional): Configure order management settings

  1. Log in to your Adobe Commerce admin panel.
  2. In the left navigation bar, go to Stores > Configuration.
  3. In the menu, go to Sales > Payment Methods.
  4. Select Advanced settings. Here you can find sections for configuring several advanced settings, explained below.
Field Description
Use manual capture for PayPal Select Yes if you want to use manual capture for your PayPal integration. To change this setting, you first need to contact our Support Team.
Capture on shipment for open invoice methods (Klarna, Afterpay, and RatePAY) Select Yes to automatically capture buy now, pay later (open invoice) payments such as Klarna, Afterpay, and Ratepay when a new shipment is created in Adobe Commerce.
You can not use this functionality if you have enabled auto-capture for buy now pay later payment methods.
Use auto-capture for OpenInvoice payments Select Yes if you want to use automatic capture for your Buy Now Pay Later payment methods (Klarna, Afterpay, and Ratepay). To change this setting, you first need to contact our Support Team.
Send order confirmation email for Bank Transfer/SEPA Select Yes to send a confirmation email to the shopper, after you received a PENDING webhook from Adyen.
Sepa Payment flow Choose the payment flow that you want to use for SEPA payments. Possible values:
- Sale – Use immediate automatic capture for SEPA payments. This is the default setting.
- Auth/Cap – Use the value that you set for Capture Delay in Adyen Customer Area.
Capture Delay The capture delay that you set in Adyen Customer Area. Possible values:
- manual – Select this if you set capture delay to manual (manual capture).
- immediate – Select if you set capture delay to immediate.
Order status: order creation Only applicable to payments processed with the redirect method: status given to orders before receiving an AUTHORISATION webhook from Adyen. For more information, refer to Order management.
Order status: payment authorisation Only applicable to payments with manual capture: status given to orders after receiving a successful AUTHORISATION webhook from Adyen. For more information, refer to Order management.
Order status: payment confirmed Status given to orders after the payment has been completed. When this happens depends on whether the capture is manual or automatic.
- Manual capture: after receiving a successful CAPTURE webhook from Adyen.
- Automatic capture: after receiving a successful AUTHORISATION webhook from Adyen.
For more information, refer to Order management.
Order status: order cancellation Status given to orders after receiving one of the following webhooks from Adyen:
- a successful CANCELLATION webhook
- an OFFER_CLOSED
- successful CANCEL_OR_REFUND webhook
Order status: payment capture (virtual products) Status given to orders of virtual products after payment is confirmed. By default, this is the same as for normal products.
Order status: pending Bank Transfer/SEPA orders Status given to orders after receiving a PENDING webhook from Adyen. By default, Adyen does not inform your Adobe Commerce store about pending payments. To set them up, add BankTransfer pending and Direct-debit pending webhooks when setting up webhooks.

See also

Next steps