How do I connect PayMongo to my store?
PayMongo lets customers in the Philippines pay by card, GCash, Maya, GrabPay or QR Ph on PayMongo's secure checkout, using your own PayMongo account. It charges in Philippine pesos (PHP) only, so it appears at checkout only when your prices are in PHP.
Steps
- In your PayMongo dashboard (dashboard.paymongo.com), open Developers > API Keys and copy the secret key. Test keys start with
sk_test_, live keys withsk_live_. - In Dropify, go to Apps, find PayMongo and click Install and connect.
- On the app page click Connect PayMongo, type an Account name, fill in Secret key and Webhook secret, then click Add account. Dropify checks the keys with PayMongo before saving.
- Recommended: under Webhook URL click Copy webhook URL and add it in PayMongo (Developers > Webhooks, event checkout_session.payment.paid), and paste its secret in Webhook secret. Payments are then confirmed even if the customer closes the page.
- 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 PayMongo on. You can also set a Discount for prepaid orders for it.
- Place a test order in PHP and pay on the PayMongo test page.
Common problems
- "PayMongo rejected these keys in test mode…"keys of the other mode, or copied with spaces. Copy them again or switch the mode in Settings.
- PayMongo does not show at checkoutyour prices (or the visitor's currency) are not in PHP, or PayMongo 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 PayMongo page without paying.
- An order paid later stays unpaidthe webhook is missing or its secret does not match. Paste the webhook URL in PayMongo and copy the secret again.