Worldline¶
Worldline 是一家总部设在法国的公司,也是世界第四大支付服务提供商。
Worldline 中的设置¶
创建API用户¶
建议设置一个 API 用户 来从 Odoo 创建事务,以确保即使凭证泄露,您的 Worldline 配置仍然安全。此外,API 用户不需要像普通账户那样频繁更新密码。
创建 **API 用户**的步骤如下:
Log into your Worldline Merchant Portal, click the (menu) icon, and select Back Office.
进入 并点击 新用户。
配置以下字段:
指定 用户名、用户姓名、电子邮件地址 和 :guilabel:` 时区`。
将 简介 字段设置为 管理员。
启用 :guilabel:` API 特殊用户`。
小技巧
如果您已经设置了用户,请确保该用户已激活,且没有任何错误。
为 Odoo 设置 Worldline¶
现在必须对 Worldline 进行配置,以接受来自 Odoo 的付款。
From your merchant portal, go to and click on Generate API key. Copy the API key ID and the Secret API key and save them for later.
Go to and click on Generate webhook keys. Copy the Webhook ID and the associated Secret webhook key and save them for later.
- 点击 添加网络钩子端点,在 端点网址 字段中输入 Odoo 数据库的 URL 和`/payment/worldline/webhook`,然后点击 确认。例如:
https://example.odoo.com/payment/worldline/webhook。
在Odoo上设置¶
在 Odoo 中设置 Worldline:
在 证书 选项卡中,输入您 Worldline 帐户的 PSPID 并使用您在步骤 为 Odoo 设置 Worldline 中保存的值填写 API 密钥、API 秘密、网络钩子密钥 和 网络钩子秘密。
根据个人喜好配置其他选项。
将 状态 字段设置为 已启用。
其他资料
Migration from Ogone to Worldline¶
As of January 1, 2026, Worldline, the company behind the Ogone payment solution, no longer supports Ogone. Users of the Ogone payment provider should migrate to Worldline. To do so, follow these steps:
Log into the Worldline Merchant Portal using your Ogone account credentials.
Complete the Worldline setup for Odoo. The existing API key and secret can be reused; however, a new webhook key and secret must be regenerated.
For on-premise installations or databases managed by a partner, update the Odoo installation as described in the 错误修复更新 documentation, or by contacting your integrating partner.
In Odoo, install the Payment Provider: Worldline (
payment_worldline) module.