# How do I connect Xendit to my store?

Xendit lets customers in Indonesia, the Philippines, Thailand, Vietnam and Malaysia pay by virtual account, QRIS, e-wallet or card on Xendit's invoice page, using your own Xendit account. It charges in your account country's currency only and appears at checkout only for that currency.

## Steps

1. In your Xendit dashboard (dashboard.xendit.co), open **Settings > API keys** and generate a **secret key** with Write permission for Money-in.
2. In Dropify, go to **Apps**, find **Xendit** and click **Install and connect**.
3. On the app page click **Connect Xendit**, type an **Account name**, fill in **Account country**, **Secret key** and **Webhook authentication token**, then click **Add account**. Dropify checks the keys with Xendit before saving. Pick your **Account country**.
4. Required: under **Webhook URL** click **Copy webhook URL** and add it in Xendit (**Settings > Webhooks**, as the "Invoices paid" URL), then copy the **verification token** shown there into **Webhook authentication token**. Bank and store payments made later are confirmed through it.
5. In the **Settings** section choose **Sandbox Mode** to test or **Live Mode** for real payments, with the matching keys.
6. Go to **Payments > Payment methods** and switch Xendit on. You can also set a **Discount for prepaid orders** for it.
7. Place a test order in IDR, PHP, THB, VND or MYR (your account country) and pay on the Xendit test page.

## Common problems

- "Xendit rejected these keys in test mode…" → keys of the other mode, or copied with spaces. Copy them again or switch the mode in **Settings**.
- Xendit does not show at checkout → your prices (or the visitor's currency) are not in IDR, PHP, THB, VND or MYR (your account country), or Xendit is switched off in **Payments > Payment methods**.
- The customer sees "You cancelled the payment. You can try again or choose another payment method." → they left the Xendit page without paying.
- An order paid later stays unpaid → the webhook is missing or its secret does not match. Paste the webhook URL in Xendit and copy the secret again.

## Related
- [How do I connect Midtrans to my store?](https://help.dropify.shop/en/payments_gateways/midtrans/)
- [How do I connect PayMongo to my store?](https://help.dropify.shop/en/payments_gateways/paymongo/)
