All docs
Payments
Updated 2026-04-28
5 min read
WebXPay setup
Wire WebXPay IPG with your secret + public keys for installment-capable card payments.
WebXPay is a Sri Lankan card payment gateway. In Gannako, WebXPay is treated as a regular IPG — customers pay with their card on the WebXPay checkout page and you get the funds in your settlement bank account.
What you'll need
- A WebXPay merchant account.
- Your business registration certificate.
- Bank account details for settlements.
Step 1 — Apply for a WebXPay account
- Visit webxpay.com and request a merchant account.
- Their team will email you. Reply with your business documents and your storefront domain.
- Approval usually takes 3-7 working days.
Step 2 — Get your keys
Once approved, WebXPay sends you two things by email:
- Public Key — used to encrypt payment data sent to WebXPay.
- Secret Key — used to verify that responses really came from WebXPay.
Both are long strings of random-looking characters. You don't need to understand them — just keep them safe.
Step 3 — Set up the webhook
Tell WebXPay where to send payment notifications.
Webhook URL
https://gannako.com/api/webhooks/webxpayReply to your WebXPay onboarding email with this URL and ask them to register it as your Notify URL / IPN URL.
Step 4 — Paste credentials into Gannako
- Open Settings → Payments → WebXPay in your Gannako admin.
- Click the API Credentials tab.
- Paste the Public Key and Secret Key.
- Click Save.
- Toggle WebXPay Enabled on the main payments page.
Step 5 — Test and go live
- Leave Test Mode on. WebXPay's sandbox accepts any test card.
- Place a test order. Confirm it shows as Paid in your admin.
- Switch Test Mode off and place one real order to verify everything works.