Xendit
Connecting Xendit
OneEntry supports integration with the Xendit payment system. Choose this payment account type if you want to accept payments through Xendit.
Create a payment account of the Xendit type
To learn how to create a payment account, see this page (opens in a new tab). In the "Type" field, select Xendit.
Fill in the account settings
Open the new payment account for editing. In the Details section, specify:
- Success URL: the address the customer returns to after a successful payment.
- Cancel URL: the address the customer returns to if they cancel the payment.
- Session timeout: how long the payment session lasts. After this time, an unpaid session becomes invalid. For Xendit, the value must be greater than 10.
Connect Xendit
In the Connect Xendit section, enter the credentials from your Xendit account (Xendit Dashboard → Settings → Developers):
- Testing mode: while this checkbox is selected, the connection uses Xendit test keys. Clear it to accept real payments.
- API Key: the secret API key of your Xendit account (in the API Keys section).
- Callback Token: the Xendit callback verification token (in the Callbacks section). It is used to verify that incoming payment notifications are authentic.
- Available payment methods: the payment methods available to the customer. This field is required, so select at least one method. The available methods include
CARDS, bank virtual accounts (BCA_VIRTUAL_ACCOUNT,BNI_VIRTUAL_ACCOUNT,BRI_VIRTUAL_ACCOUNT,MANDIRI_VIRTUAL_ACCOUNT,PERMATA_VIRTUAL_ACCOUNT,CIMB_VIRTUAL_ACCOUNT), e-wallets (OVO,DANA,LINKAJA,SHOPEEPAY,ASTRAPAY),QRIS,ALFAMART, andINDOMARET.
Changes are saved automatically.
Set up automatic order status updates
Go to Payments → Statuses, select the order storage, and link (opens in a new tab) the preset payment statuses to the statuses of your order storage. The order status will then update automatically when Xendit sends payment events.
Custom parameters for the payment API
As with other providers, you can add custom parameters specific to the Xendit API to a Xendit payment account (in the "Custom Parameters for Payment API" section). For more on how this works, see the "Accounts" section (opens in a new tab).