Adding bKash and Nagad payments to your website: what to plan first
Mobile wallet payments can make checkout easier for local customers, but only if the order flow around them is designed carefully.
For many customers in Bangladesh, paying with a mobile wallet feels more natural than entering card details. Adding bKash or Nagad to a website is therefore a common request. The integration itself is only one part of the job; the order flow around it matters just as much.
Choose the right integration path
You can integrate directly with each provider's merchant API, or use a payment gateway that bundles several methods together. Direct integration gives more control, while a gateway can be quicker to launch with. Check the current merchant requirements and fees with each provider before you decide.
Design the order states
Every order should move through clear states, and your system should never mark an order as paid based only on what the browser reports. Confirm each payment on the server with the provider before releasing the order.
- Pending: order created, payment not yet confirmed
- Paid: payment verified on the server
- Failed or cancelled: customer can retry
- Refunded: recorded with a reason and a date
Plan for failed and duplicate payments
Networks drop, customers press the button twice, and confirmation messages sometimes arrive late. Make your payment handling safe to run more than once, and give customers a clear way to check their order status. A short help message with a support contact prevents most panic.
Keep reading
Related articles
Building web apps for slow networks and budget phones
Your users may not have the latest phone or a fast connection. Designing for those conditions makes the app better for everyone.
Website, web app or mobile app: what does your business need first?
The right first build depends on what your customers need to do. A few questions help you avoid paying for the wrong thing.
How to scope your first SaaS MVP without overbuilding
A practical way to decide what goes into version one, what waits, and how to know when the MVP is ready for real users.