Xendit¶
Xendit is an Indonesian-based payment solution provider that covers several Southeast Asian countries. It allows businesses to accept credit cards as well as several local payment methods.
Configuration on the Xendit Dashboard¶
Create a Xendit account if necessary and log in to the Xendit Dashboard.
Check your account mode in the top left corner of the page. Use the Test Mode to try the integration without charging your customers. Switch to Live Mode once you are ready to accept payments.
Navigate to Developers section, click API Keys.
in the left part of the application page. In theClick Generate Secret Key. In the popup box, enter any API key name, select Write for the Money-in Products permission and None for all other permissions then click Generate key.
Confirm your password to display your API key. Copy or download the key and save this information securely for later. This is the only time the API key can be viewed or downloaded.
Once completed, scroll down the page to the Webhooks section to generate the webhook token.
Under Webhook verification token, click View Webhook Verification Token, then confirm your password to display the token. Save it for later.
In the Webhook URL section, enter your Odoo database URL (e.g.,
https://example.odoo.com
) in the field Invoices paid and click the Test and save button next to it.
Configuration on Odoo¶
Navigate to the payment provider Xendit and change its state to Enabled.
Fill in the Secret Key and Webhook Token fields with the information saved at the step Configuration on the Xendit Dashboard.
Configure the rest of the options to your liking.
See also