Adyen

Adyen is a Dutch company that offers several online payment possibilities.

Configuración

Pestaña de credenciales

Odoo necesita sus credenciales API para conectarse con su cuenta de Adyen, que comprenden:

  • Cuenta de comerciante: el código de la cuenta de comerciante que se usará con Adyen.

  • API Key: The API key of the webservice user.

  • Clave HMAC: la clave HMAC (código de autorización de mensajes basado en hash, por su siglas en inglés) del webhook.

  • URL de API de pago: el URL base para los puntos finales del API de pago.

Puede copiar las credenciales de su cuenta de Adyen y pegarlas en los campos relacionados en la pestaña de Credenciales.

Importante

Si está probando Adyen, en una cuenta de prueba, cambie el Estado a Modo de prueba. Le recomendamos hacer esto en una base de datos de prueba en lugar de su base de datos de Odoo principal.

Clave API

In order to retrieve the API 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 Authentication and get 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.

Clave HMAC

Para obtener la clave HMAC, necesitará configurar un webhook de Notificación estándar. Para hacer esto, inicie sesión en su cuenta de Adyen y vaya a Desarrolladores ‣ Webhooks ‣ Agregar webhook ‣ Agregar notificación estándar.

Configure a webhook.

There, in General ‣ Server Configuration ‣ URL, enter your server address followed by /payment/adyen/notification and in General ‣ Server Configuration ‣ Method, select HTTP Post.

Enter the notification URL.

Then continue in Security ‣ HMAC Key ‣ Generate new HMAC key. Be careful to copy it as you’ll not be allowed to get it later without generating a new one.

Debe guardar el webhook para finalizar su creación.

URL

To retrieve the URLs, log into your Adyen account, go to Developers ‣ API URLs. Pick one of the URLs listed next to Checkout API as your Checkout API URL.

Get the links for the different API.