diff --git a/content/applications/finance/payment_providers/adyen.rst b/content/applications/finance/payment_providers/adyen.rst index f4d8a62dd..b8aebe7c6 100644 --- a/content/applications/finance/payment_providers/adyen.rst +++ b/content/applications/finance/payment_providers/adyen.rst @@ -49,8 +49,10 @@ API Key and Client Key In order to retrieve the API Key and the Client Key, log into your Adyen account, go to :menuselection:`Developers --> API Credentials`. + - 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 :menuselection:`Server settings --> Authentification` and copy or generate your **API Key**. Be careful to copy your API key as you'll not be allowed to get it later without generating a new one. @@ -90,17 +92,30 @@ You have to save the webhook to finalize its creation. .. _adyen/urls: -URLs -~~~~ +API URLs +~~~~~~~~ -To retrieve the URLs, log into your Adyen account, go to :menuselection:`Developers --> API URLs`. -Select one of the URLs listed next to :guilabel:`Classic Recurring API` as your -:guilabel:`Recurring API URL` and one listed next to :guilabel:`Checkout API` as your -:guilabel:`Checkout API URL`. +All Adyen API URLs include a customer area-specific prefix generated by Adyen. To configure the +URLs, proceed as follows: -.. image:: adyen/adyen-api-urls.png - :align: center - :alt: Get the links for the different API. +#. Log into your Adyen account, then go to :menuselection:`Developers --> API URLs`. +#. Copy the :guilabel:`Prefix` for your live Customer area (i.e., **data center**) and save it for + later. + + .. image:: adyen/adyen-api-urls.png + :alt: Copy the prefix for the Adyen APIs + +#. In Odoo, :ref:`navigate to the payment provider Adyen `. +#. In the :guilabel:`Checkout API URL` field, enter the following URL and replace `yourprefix` with the + prefix you previously saved: `https://yourprefix.com/checkout`. +#. In the :guilabel:`Recurring API URL` field, enter the following URL and replace `yourprefix` with + the prefix you previously saved: `https://yourprefix.com/pal/servlet/Recurring`. + +.. note:: + If you are trying Adyen as a test, you can use the following URLs instead: + + - :guilabel:`Checkout API URL`: `https://checkout-test.adyen.com/checkout/` + - :guilabel:`Recurring API URL`: `https://pal-test.adyen.com/pal/servlet/Recurring/` Adyen Account ------------- diff --git a/content/applications/finance/payment_providers/adyen/adyen-api-urls.png b/content/applications/finance/payment_providers/adyen/adyen-api-urls.png index 4ad7552ab..39ccd37f8 100644 Binary files a/content/applications/finance/payment_providers/adyen/adyen-api-urls.png and b/content/applications/finance/payment_providers/adyen/adyen-api-urls.png differ