艾迪恩

Connecting an Adyen payment terminal allows you to offer a fluid payment flow to your customers and ease the work of your cashiers.

重要

  • Adyen payment terminals do not require an IoT Box.

  • Adyen terminals can be used in many countries, but not worldwide. Check the List of countries supported by Adyen.

  • Adyen works only with businesses processing more than $10 million annually or invoicing a minimum of 1,000 transactions per month.

配置

Start by creating your Adyen account on Adyen’s website. Then, board your terminal following the steps described on your terminal’s screen.

生成 Adyen API 密钥

The Adyen API key is used to authenticate requests from your Adyen terminal. To generate an API key, go to your Adyen account ‣ Developers ‣ API credentials, and create new credentials or select existing ones. Click Generate an API key and save the key to paste it into the Odoo Adyen API key field at the payment method creation.

查找 Adyen 终端标识符

The Adyen Terminal Identifier is the terminal’s serial number, which is used to identify the hardware.

To find this number, go to your Adyen account ‣ Point of Sale ‣ Terminals, select the terminal to link with, and save its serial number to paste it into the Odoo Adyen Terminal Identifier field at the payment method creation.

设置事件URL

为了让Odoo知道何时进行付款,您必须设置终端的 事件URL 。为此,请

  1. Log in to Adyen’s website;

  2. 前往 Adyen’s dashboard ‣ Point of Sale ‣ Terminals 并 选择已连接的终端;

  3. 从终端设置中,点击 Integrations

  4. 切换到解密模式以编辑此设置 字段设置为 解密;

  5. 点击 铅笔图标 按钮,输入您的服务器地址,后跟 /pos_adyen/notification事件URL 字段中;并且

  6. 点击 保存 在屏幕底部保存更改。

配置支付方式

Enable the payment terminal in the application settings and create the related payment method. Set the journal type as Bank and select Adyen in the Use a Payment Terminal field.

Finally, fill in the mandatory fields with your Adyen API key, Adyen Terminal Identifier, and Adyen Merchant Account.

../../../../../_images/payment-method1.png

Once the payment method is created, you can select it in your POS settings. To do so, go to the POS’ settings, click Edit, and add the payment method under the Payments section.