Viva.com¶
Viva.com是一项付款服务,通过viva.com Terminal应用程序为实体和虚拟终端提供付款解决方案。
注解
重要
Odoo 仅支持使用 viva.com 的欧元货币。
Viva.com 配置¶
要配置 viva.com 终端,请访问Viva.com 网站,创建账户,然后按照以下步骤操作:
在 viva.com 仪表板上,转到。
复制
商户 ID 和 API 密钥 <https://developer.viva.com/getting-started/find-your-account-credentials/merchant-id-and-api-key/>。复制
客户端 ID 和生成的客户端密钥(POS API 凭证)<https://developer.viva.com/getting-started/find-your-account-credentials/pos-apis-credentials/>。在设备上下载 viva.com Terminal 应用程序,然后生成并复制
激活代码 <https://euhelp.viva.com/en/articles/5316775-how-do-i-activate-the-viva-com-terminal>。在 viva.com 仪表板上,转到。
创建一个新的
刷卡终端并粘贴激活代码 <https://euhelp.viva.com/en/articles/5316775-how-do-i-activate-the-viva-com-terminal>。复制终端激活生成的终端 ID。
警告
POS API 凭证仅显示一次。请务必保留副本以确保其安全。
注解
POS API 凭证用于使用基本身份验证的 API,包括用于 Android 和 iOS POS 激活的 API 以及
云终端 API <https://developer.viva.com/apis-for-point-of-sale/card-terminals-devices/rest-api/>。
Odoo POS 销售点配置¶
要将 viva.com 终端与 Odoo POS 连接,请按照以下步骤操作:
Go to , scroll down to the Payment Terminals section, enable the Viva Wallet terminal, and click Save.
转到 ,然后 创建付款方式。
将 日记账 字段设置为 银行。
将 整合 字段设置为 终端机。
Set the Integrate with field to Viva Wallet.
将从viva.com复制的信息粘贴到相应字段中:
商户 ID
API 密钥
客户端 ID
客户端密钥
终端 ID
Save the form and copy the generated webhook URL from the Viva Wallet Webhook Endpoint field.
转到viva.com账户并将 webhook URL 粘贴到
相应字段 <https://developer.viva.com/webhooks-for-payments/transaction-payment-created/>中。In Odoo, access the relevant point of sale settings, scroll down to the Payment section, and add the created payment method in the Payment Methods field.
点击:guilabel:
保存。