Nagad
PaymentsAccept Nagad payments from your customers at checkout.
How it works
Connect your Nagad merchant account (Checkout API) so customers can pay with Nagad directly at checkout. Enter your Merchant ID, Merchant Private Key, and Nagad Gateway Public Key issued during onboarding, and Quikey handles the RSA-secured checkout handshake and payment verification automatically — no manual integration required.
Before you start
Register as a Nagad merchant. You'll be issued a Merchant ID, an RSA Merchant Private Key, and the Nagad Gateway Public Key — sandbox credentials first, live ones after approval.
What you'll need
Merchant ID
Merchant Private Key
paste the RSA key body only — no BEGIN/END lines needed
Nagad Gateway Public Key
the public key body issued to you
Toggle between Sandbox (testing) and Live (production) — start on Sandbox, switch to Live once Test Connection succeeds.
Setup
- 1
Install Nagad from the App Store.
- 2
Give Nagad your callback URL so they can whitelist it: your Quikey API domain + /storefront/nagad/callback.
- 3
Enter your Merchant ID, Merchant Private Key, and Nagad Gateway Public Key. Keep Sandbox selected while testing, then click Save Configuration.
- 4
Click Test Connection to confirm Nagad accepts your key pair before going live.
- 5
Turn on Enable Integration — Nagad now appears as a payment option on your storefront checkout.
- 6
When you're ready to accept real payments, switch to Live, re-enter your production credentials, and save again.
What Test Connection actually does
A real handshake, not a simulation — Quikey initiates a checkout session with Nagad, then decrypts the response using your own private key to confirm the key pair actually works.
How checkout works
Nagad's flow is a two-step encrypted and signed handshake, ending in a redirect to Nagad's own hosted payment page. After payment, Quikey re-verifies server-side through Nagad's Verify Payment API before marking the order Paid — the redirect result alone is never trusted.
Good to know
- —Nagad is the only one of the payment apps that requires you to manually whitelist a callback URL with them — don't skip that step or payments can't complete.
- —Refunds aren't available from inside Quikey yet — process any Nagad refund directly through Nagad's own merchant tools for now.
