Step 1: Install the plugin
Implementation examplesTry it out on GitHub! 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:
-
Install the plugin:
-
Enable the plugin:
-
Execute the update scripts:
-
Flush cache storage:
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
The Express Checkout module enables express checkout with Apple Pay and Google Pay and PayPal. To use the module, you must be using: 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:-
Install the plugin:
-
Enable the plugin:
-
Execute the update scripts:
-
Flush cache storage:
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. For webhook processing, you can also use RabbitMQ. For instructions on how to set up RabbitMQ queueing, refer to Set up RabbitMQ service. After you have set up the queuing, you have to enable the queue in Adobe Commerce:- Log in to your Adobe Commerce admin panel.
- In the left navigation bar, go to Stores > Configuration.
- In the menu, go to Sales > Payment Methods and select Adyen Payments.
- Under Testing and performance, set Webhook processor to Queue.
Step 3: Configure the plugin in Adobe Commerce
Before you begin, make sure that you have set up your Adyen Customer Area. There are two ways to set up the plugin:-
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.
- Log in to your Adobe Commerce admin panel.
- In the left navigation bar, go to Stores > Configuration.
- In the menu, go to Sales > Payment Methods.
- Select Configure next to Adyen Payments.
- Select Initial setup and fill out the following fields:
- Automated
- Manual