⚠️ NoticeWhen it comes to configuration of Sylius itself: some countries need to contain the state or province field to properly handle some of the offered payment methods. These can be configured under Configuration > Countries in the Sylius admin panel.
⚠️ NoticeMind that refunds from Adyen do not work. You must refund order items directly from the Sylius admin panel.
⚠️ NoticeThe plugin resolves the available payment methods based on the base currency of your shop. This means that when USD is the base currency and the user switches over to EUR and, say, Klarna is constrained to EUR, the payment method will not be visible to the customer.
-
Obtain an Adyen account. If you want to test the gateway, register a test account.
-
Head over to the API Credentials page:
-
Choose an existing merchant account or create a new one.
-
Generate an API key + client key (remember to copy them immediately, they're displayed only once):
-
Add an origin; type your shop URL and save it:
-
Create a new Adyen payment method. Fill in the merchant account, API and client keys obtained in step 4. Also, create a username and password to be used for webhook credentials and choose the correct environment, either
live
ortest
. Don't save yet. -
Come back to the Adyen panel, create a standard webhook:
-
Type the username and password obtained in step 6:
-
Expand the
Additional settings section
and generate an HMAC key: -
Go back to the Sylius payment method configuration and paste the previously generated HMAC key.
-
Save the payment method.
-
Once saved, an additional box will be displayed. Copy the URL and paste it in the Adyen panel:
-
Now you're ready to save and test the webhooks. If everything goes green, you're done and ready to go.
-
Before going to production you will have to create and set up your api url prefix