Adyen¶
Adyen is a Dutch-based company that offers several online payment possibilities.
基础配置¶
凭据选项卡¶
Odoo needs your API Credentials to connect with your Adyen account, which comprise:
Merchant Account: The code of the merchant account to use with Adyen.
API Key: The API key of the webservice user.
Client Key: The client key of the webservice user.
HMAC Key: The HMAC key of the webhook.
Checkout API URL: The base URL for the Checkout API endpoints.
Recurring API URL: The base URL for the Recurring API endpoints.
You can copy your credentials from your Adyen account, and paste them in the related fields under the Credentials tab.
重要
If you are trying Adyen as a test, with a test account, change the State to Test Mode. We recommend doing this on a test Odoo database, rather than on your main database.
API Key and Client Key¶
In order to retrieve the API Key and the Client Key, log into your Adyen account, go to
. - If you already have an API user, open it. - If you don’t have an API user yet, click on Create new credential. Go to and get or generate your API Key and Client Key. Be careful to copy your API key as you’ll not be allowed to get it later without generating a new one.This is also the place where you’ll allow payments to be made from your website.
HMAC key¶
In order to retrieve the HMAC Key, you’ll need to configure a Standard Notification
webhook. For
this, log into your Adyen account then go to .

There, in /payment/adyen/notification
.

Then continue in
. Be careful to copy it as you’ll not be allowed to get it later without generating a new one.You have to save the webhook to finalize its creation.
URLs¶
To retrieve the URLs, log into your Adyen account, go to
. Pick one of the URLs listed next to Recurring as your Recurring API URL and one of the URLs listed next to Checkout API as your Checkout API URL.
Adyen帐户¶
Allow payments from a specific origin¶
To allow payment originated from your website, follow the steps in API Key and Client Key to navigate to your API user and go to , then add the URLs from where payments will be made (the URLs of the servers hosting your Odoo instances).
