2 min read • Updated 7 months ago
Xendit
Connect Foxy to Xendit for secure payments.
- Countries
Indonesia, Philippines
- Features
Xendit is a leading payment gateway for Indonesia, the Philippines and Southeast Asia. Foxy integrates with Xendit's Hosted Checkout option (XenInvoice).
Subscriptions are not supported with Xendit at this time. If you intend to sell subscriptions with your FoxyCart store, you will also need to make use of another payment gateway that does.
Setting Up Xendit for FoxyCart
1Go to your Xendit dashboard's “Settings” page.
2Find the “Developers” section and click on the API Keys link.
3Click the “+ Generate secret key” button. Name the key “Foxy”, give it “write” permissions for “money-in”, none for “money-out”, and “read” for “xenPlatform”.
4Copy the generated secret key. Download it as well if you'd like. If you lose this key, you can delete it and redo it later.
5Paste the secret key into the Foxy admin's Xendit settings (in the store → payments section) for the “secret key”.
6Go back to Xendit and copy the public key, found below the secret keys.
7Paste that into Foxy where Foxy asks for the public key.
8Save the settings in Foxy.
9Configure Callback URLs. The URL will look like https://YOUR-STORE.foxycart.com/ipn.php. If your FoxyCart store was example.foxycart.com, then the callback URL would be https://example.foxycart.com/ipn.php. If you have a custom subdomain for your FoxyCart store like secure.yourstore.com, the callback URL would be https://secure.yourstore.com/ipn.php. You should set: FVA paid, Disbursement sent, Retail outlet paid, Payment completed, Expiring/Expired payment method, Refund finalized, Invoices paid, OVO Paid (to be deprecated), eWallet Payment Status, PayLater Paid.
10Test it to make sure it works as intended.
Obtaining A Test Account
Contact xendit for info. Know more? Feel free to edit this page with info.
Test Card Numbers
Contact xendit for info. Know more? Feel free to edit this page with info.
Troubleshooting & Interpreting Response Codes
Contact xendit for info. Know more? Feel free to edit this page with info.