万事达¶
Worldline is a France-based company and the world’s fourth largest payment provider.
Settings in Worldline¶
创建一个API用户¶
It is recommended to set up an API user to create transactions from Odoo to ensure that your Worldline configuration remains safe even if credentials are compromised. Additionally, API users do not require frequent password updates like regular accounts.
To create an API user, proceed as follows:
Log into your Worldline Merchant Portal, click the (menu) icon, and select Back Office.
Go to New User.
and click onConfigure the following fields:
Specify a UserID, User’s name, E-mail address, and Timezone of your choice.
Set the Profile field to Admin.
Enable Special user for API.
小技巧
If you have already set up a user, make sure it is activated without any error.
Set up Worldline for Odoo¶
Worldline must now be configured to accept payments from Odoo.
From your merchant portal, go to Generate API key. Copy the API key ID and the Secret API key and save them for later.
and click onGo to Generate webhook keys. Copy the Webhook ID and the associated Secret webhook key and save them for later.
and click on- Click Add webhook endpoint, enter your Odoo database’s URL followed by
/payment/worldline/webhook
in the Endpoint url field, and Confirm.For example:https://example.odoo.com/payment/worldline/webhook
.
Odoo中的设置¶
To set up Worldline in Odoo:
Navigate to the payment provider Worldline and change its state to Enabled.
In the Credentials tab, enter the PSPID of your Worldline account and fill in the API Key, API Secret, Webhook Key, and Webhook Secret with the values you saved at the step Set up Worldline for Odoo.
根据您的喜好配置其余选项。
另请参阅