Your clients can pay invoices and store orders with Xendit (cards, virtual accounts, e-wallets, QR codes and more), on Xendit's secure checkout page.
Requirements
- RISE 4.2 or newer, with the cron job running.
- A Xendit account.
- Your RISE site on a public https address: Xendit can't send webhooks to a local address (localhost).
Get your credentials
Test (sandbox) credentials
- Create an account on the Xendit sign-up page and confirm your email. New accounts start in Test mode.
- Secret API Key: open Settings > API keys (Developers), click Generate secret key, give it a name, set Money-in to Write and save. Copy the key (xnd_development_...) right away: it is shown once.
- Webhook Verification Token: open Settings > Webhooks. Paste the Webhook listener link from RISE into the Payment Session URL and save. Copy the Webhook verification token shown on that page.
Live credentials
- Click Activate account in the Dashboard and send your business details and documents. Xendit reviews them and turns on the payment methods.
- After activation, switch the Dashboard to Live mode and repeat the steps there: a live secret key (xnd_production_...), the webhook URL, and the verification token shown in Live mode.
Setup
- Install and activate the plugin in Settings > Plugins.
- Go to Settings > Payment methods and edit Xendit.
- Enter the Secret API Key (see Get your credentials). A test key (xnd_development_...) takes test payments, a live key (xnd_production_...) takes real payments.
- Set the Xendit Payment Session webhook URL to the Webhook listener link shown here, and enter the Webhook Verification Token.
- Turn on Available on Invoice and save.
Xendit takes IDR, PHP, THB, VND, MYR and SGD. IDR and VND amounts must be whole numbers (no cents); the other currencies keep cents (ex PHP 10.55).
Testing
With a test key, open the invoice in a private browser window and pay by card 4000 0000 0000 1000, any future date, any CVV. Use the test mode switch of the Xendit Dashboard to find the test payment and the test webhook settings.