Installation
1. Prepare Your Environment
Before installing the plugin, ensure that your project:
Uses Symfony Flex
Runs Sylius ^2.0 version
Has yarn and Symfony Encore correctly configured
2. Allow Symfony Contrib Recipes
To allow Symfony to install community recipes:
composer config extra.symfony.allow-contrib trueIf prompted during plugin installation, accept the community recipe when asked.
3. Install the Plugin via Composer
composer require sylius/adyen-plugin:"^2.0"This will install the plugin and apply the Flex recipe, which registers required services and configuration.
4. Update and run Rector
Update <project_root>/rector.php
<project_root>/rector.phpRun rector
5. Install and build assets
6. Run database migrations
7. Clear cache
[Optional] Add the Adyen gateway to supported gateways of Refund Plugin
[Optional] Route Adyen logs to specific handlers
The plugin comes with the adyen monolog channel preconfigured, if you want you can route the logs generated to a specific handler by environment
Next steps
Once the plugin is installed, don’t forget to configure at least one Sylius payment method that uses Adyen as the gateway.
Follow the guide here: Configuring Adyen Payment Method
This step is required to make Adyen payment options available during checkout.
Last updated
Was this helpful?
