How do I connect Midtrans to my store?
Midtrans lets customers in Indonesia pay with GoPay, QRIS, bank virtual accounts, cards or Indomaret on Midtrans' secure page, using your own Midtrans account. It charges in Indonesian rupiah (IDR) only, so it appears at checkout only when your prices are in IDR.
Steps
- In your Midtrans dashboard (dashboard.midtrans.com), open Settings > Access Keys and copy the server key. Sandbox keys start with
SB-Mid-server-, production keys withMid-server-. - In Dropify, go to Apps, find Midtrans and click Install and connect.
- On the app page click Connect Midtrans, type an Account name, fill in Server key, then click Add account. Dropify checks the keys with Midtrans before saving.
- Nothing to paste: under Webhook URL the page says Dropify sends the address to Midtrans with every payment.
- In the Settings section choose Sandbox Mode to test or Live Mode for real payments, with the matching keys.
- Go to Payments > Payment methods and switch Midtrans on. You can also set a Discount for prepaid orders for it.
- Place a test order in IDR and pay on the Midtrans test page.
Common problems
- "Midtrans rejected these keys in test mode…"keys of the other mode, or copied with spaces. Copy them again or switch the mode in Settings.
- Midtrans does not show at checkoutyour prices (or the visitor's currency) are not in IDR, or Midtrans 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 Midtrans page without paying.