📢 Use this project, contribute to it or open issues to help evolve it using Store Discussion.
This app integrates Adyen with VTEX checkout.
Before you can configure the VTEX Adyen connector, you will need to do the following setup in your Adyen merchant account:
- Generate Web Service API credentials.
- Under the Developers tab, select
API credentials
- Select
Webservice
- Keep
Username
andPassword
somewhere safe - Generate a new API Key and store it somewhere safe. This can be regenerated if lost
- Under the Developers tab, select
- (Do Only Once) Send an email to Adyen support ([email protected]), requesting the permissions listed in the model below:
- Subject: Setting VTEX web-service user permissions for {accountName}
- Email Body: Adyen Support, I send this email to ask you to grant the necessary permissions to the user [email protected] so that it can be used on the VTEX platform. Thank you in advance!
- In Merchant Settings, update the Capture Delay option to
manual
. This allows VTEX to handle payment capture timing. - Create a Standard Notification Webhook
- Use
https://{accountName}.myvtex.com/_v/api/connector-adyen/v0/hook
for the URL- Example:
https://mysampleshop.myvtex.com/_v/api/connector-adyen/v0/hook
- Example:
- Make sure
Service Version
is1
- Make sure the webhook is marked as
active
- Make sure
Method
is set toJSON
- Create a
username
andpassword
of your choice for the webhook events
- Use
- Install this app in the desired account using the CLI command
vtex install vtex.connector-adyen
. - In your admin sidebar, search for
Payments
and selectSettings
under thePayments
tab. - Click the
Gateway Affiliations
tab and click the green plus sign to add a new affiliation. - Select
Adyen Payments
from the Others list. - Modify the
Affiliation name
if desired, choose anAuto Settlement
behavior from the dropdown and then clickSave
. LeaveApplication Key
andApplication Token
blank. - Click the
Payment Conditions
tab and click the green plus sign to add a new payment condition. - From the Credit Card list, click the card type you want to process using Adyen.
- In the
Process with affiliation
dropdown, chooseAdyen Payments
or the name of the affiliation that you created in step 6. Set the status toActive
and clickSave
. Note that this will activate the payment method in checkout! - Repeat steps 8 and 9 for each credit type to be processed with Adyen.
- In your admin sidebar, search for
Adyen
. This will bring you to theAdyen
admin panel to configure the app settings. - Complete the settings with the values from your Adyen setup, following the guide below.
⚠️ Only users with access to the Payments section in the VTEX admin (or assigned the PCI Gateway role in License Manager) will be able to configure the app.
Adyen Merchant Account
is the merchant account name.- Note: This is not the company name.
Adyen API Key
is the API key that is generated in Step 1 ofAdyen Setup
Adyen Production API URI
is the Checkout API's URI.- This can be found in the Developer > API URLs tab in Adyen.
- Example:
http://checkout-test.adyen.com
- Note: Please use http instead of https
Adyen Webhook Username
andAdyen Webhook Password
is the Username/Password created in Step 4 ofAdyen Setup
VTEX App Key/App Token
should be a VTEX application key that has theSuper Admin
role in your account and its associated token. Reference this documentation for app key generation and configuration.
- If you are running Adyen in a marketplace, make sure to grant this application key the same
Super Admin
role on all seller accounts as well. In other words, create the application key on the marketplace account, then go to theApplication Keys
admin panel on each seller account and click+ Add
to grant the key permissions for that account.
Thanks goes to these wonderful people:
This project follows the all-contributors specification. Contributions of any kind are welcome!