Adyen

Adyen este o companie olandeza care ofera diverse posibilitati de plata online.

Notă

Adyen works only with customers processing more than 10 million annually or invoicing a minimum of 1.000 transactions per month.

Configurare

Tabul Credentiale

Odoo are nevoie de API Credentials pentru a se conecta cu contul tau Adyen, care sunt:

  • Merchant Account: Codul contului comerciantului pentru a fi folosit cu Adyen.

  • API Key: Cheia API a utilizatorului de servicii web.

  • Client Key: Cheia client a utilizatorului de servicii web.

  • HMAC Key: Cheia HMAC a webhook-ului.

  • Checkout API URL: URL-ul de baza pentru punctele de terminare ale API-ului Checkout

  • Recurring API URL: URL-ul de baza pentru punctele de terminare ale API-ului Recurring.

Puteti copia credentialele dvs. din contul dvs. Adyen si le puteti lipi in campurile corespunzatoare din tabul Credentials.

Important

If you are trying Adyen as a test, with an Adyen test account, head to Accounting ‣ Configuration ‣ Payment Acquirers. There, click on Adyen, enable Test Mode and enter your credentials in the Credentials tab.

Cheia API si Cheia Client

In order to retrieve the API Key and the Client Key, log into your Adyen account, go to 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 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.

Acum, mergeti la Client settings ‣ Authentification si copiati sau generati Client Key. Acesta este si locul unde puteti permite platilor sa fie facute de pe site-ul dvs..

Cheia HMAC

Ca sa obtineti cheia HMAC, va trebui sa configurati un webhook Standard Notification. Pentru asta, va rugam sa va logati in contul Adyen, apoi sa mergeti la Developers ‣ Webhooks ‣ Add webhook ‣ Add Standard notification.

Configurare webhook.

In General ‣ Server configuration ‣ URL, introduceti adresa serverului dvs. urmata de /payment/adyen/notification.

Introduceti URL-ul de notificare.

Apoi introduceti Security ‣ HMAC Key ‣ Generate. Aveti grija sa copiati cheia deoarece nu veti putea sa o obtineti mai tarziu fara a genera una noua.

Generati o cheie HMAC si salvati-o.

Trebuie sa salvati webhook-ul pentru a finaliza crearea lui.

API URLs

All Adyen API URLs include a customer area-specific prefix generated by Adyen. To configure the URLs, proceed as follows:

  1. Log into your Adyen account, then go to Developers ‣ API URLs.

  2. Copy the Prefix for your live Customer area (i.e., data center) and save it for later.

    Copy the prefix for the Adyen APIs
  3. In Odoo, navigate to the payment acquirer Adyen.

  4. In the Checkout API URL field, enter the following URL and replace yourprefix with the prefix you previously saved: https://yourprefix-checkout-live.adyenpayments.com/checkout.

  5. In the Recurring API URL field, enter the following URL and replace yourprefix with the prefix you previously saved: https://yourprefix-pal-live.adyenpayments.com/pal/servlet/Recurring.

Notă

If you are trying Adyen as a test, you can use the following URLs instead:

  • Checkout API URL: https://checkout-test.adyen.com

  • Recurring API URL: https://pal-test.adyen.com/pal/servlet/Recurring

Cont Adyen

Permiteti platile de la o origine specifica

Pentru a permite platile provenite de pe site-ul dvs., urmati pasii din Cheia API si Cheia Client pentru a naviga la utilizatorul API si sa mergeti la Add allowed origins, apoi adaugati URL-urile de unde vor fi facute platile (URL-urile serverelor gazduind instantele Odoo).

Permite platile provenite de la un domeniu specific.