DEV Community

Eahiya Khan
Eahiya Khan

Posted on • Originally published at bdwallet.app

How We Finally Solved the bKash & Nagad Payment Problem for Shopify in Bangladesh

If you're a developer or store owner running a Shopify store in Bangladesh, you already know Shopify doesn't natively support bKash or Nagad — the two most popular mobile wallets in the country. I spent months chasing workarounds, custom checkout hacks, and expensive third-party gateways. Then I discovered BDWallet (https://bdwallet.app/), a Shopify app purpose-built for this exact problem. This post is a breakdown of the problem space, what's wrong with existing gateways, and how BDWallet approaches it differently — from a developer's perspective.

The Problem Nobody Talks About

Shopify is the go-to e-commerce platform for thousands of Bangladeshi merchants. But there's a painful gap:

  • bKash and Nagad together process the majority of digital transactions in Bangladesh.
  • Shopify's native payment integrations don't support either of them out of the box.
  • Cash-on-Delivery (COD) still dominates — and it comes with massive fraud, return, and cash-flow issues.

If you've ever built or managed a Shopify store in BD, you've probably faced this conversation with a client:

"Why can't my customers pay with bKash at checkout?"

And your answer usually goes something like:

"We'll have to integrate a third-party gateway, which means custom scripts, webhook handling, manual reconciliation, and a 2.5–3.5% cut per transaction."

Not fun.


What's Wrong with Existing Payment Gateways?

I've personally worked with or evaluated most of the local Shopify payment options — SSLCommerz, ShurjoPay, AamarPay, Portwallet, and a few others. Here's a summary of the recurring issues:

1. High Transaction Fees

Most charge 2.5%–3.5% per transaction. For low-margin products (which is common in BD), this is brutal. A merchant doing ৳10,00,000/month in sales is giving up ৳25,000–35,000 in fees alone.

2. Monthly Subscription on Top of Per-Transaction Fees

Some gateways charge both — a fixed monthly fee and a percentage. If your store has a slow month, you still pay.

3. No COD Automation

None of the mainstream gateways offer a real COD-to-prepaid conversion flow. You have to manually:

  • Export COD orders.
  • Call or SMS each customer.
  • Send them a payment link (often from a different system).
  • Update Shopify order status manually once paid.

This kills operational scale.

4. Zero Fraud Protection

Fake orders, wrong addresses, and serial return-abusers are an everyday reality. But there's no shared fraud database across merchants — so every store keeps getting burned by the same bad actors.

5. Poor Developer Experience

  • Documentation is inconsistent.
  • Sandbox environments are unreliable.
  • Webhook delivery is flaky.
  • Support response times can stretch into days.

6. Middleman Settlement Delays

Your money sits in the gateway's nostro account for 3–7 days before settlement. For a small store, that's a cash-flow nightmare.


Enter BDWallet

BDWallet (https://bdwallet.app/) launched recently, and it's the first payment solution I've seen that addresses the whole problem — not just the "accept bKash" part. Here's what stood out to me as a developer:

✅ Direct bKash + Nagad Checkout on Shopify

  • Customer clicks checkout → selects bKash or Nagad → pays on mobile → Shopify order auto-updates to "Paid."
  • No redirect gymnastics, no manual reconciliation.

✅ COD Automation (The Killer Feature)

  • When a COD order is placed, the system automatically sends an SMS with a payment link.
  • Customer can convert their COD to prepaid with one click.
  • Agent works 24/7 — no human intervention needed.
  • Manual re-send and bulk operations are available in the dashboard.

✅ Cross-Merchant Fraud Registry

This is unique. BDWallet operates Bangladesh's only cross-merchant shared fraud database:

  • Every phone number gets a risk badge: LOW / MEDIUM / HIGH.
  • The badge is calculated from how many merchants have flagged the number.
  • Phone numbers are hashed before storage, so privacy is preserved.
  • You see the risk score at the order level before you fulfill.

As a dev, I love this — it's essentially a collaborative Bloom-filter for fraud signals.

✅ Direct Settlement (No Middleman)

Payments go directly to your merchant wallet. BDWallet doesn't hold your money. That's a big architectural decision — it removes settlement delay entirely.

✅ Security

  • AES-256-GCM encryption for stored merchant credentials.
  • Credentials are never stored in plain text.
  • Credentials are permanently deleted on disconnection.
  • Sandbox mode for testing before going live.

✅ Installs as a Custom Shopify App

  • Setup takes under 10 minutes.
  • No App Store middleman.
  • Transparent credential management inside the dashboard.

✅ Dashboard Features

  • Live transaction logs with reference IDs and timestamps.
  • Analytics: collection rate, payment volume, conversion.
  • Refund management with SMS notifications.
  • One-click fraud reporting.

Pricing (This Surprised Me)

Plan Price Limits
Starter Free 10 transactions/month, both gateways, Fraud Registry
Growth ৳1,499/month (~$9.99) 500 transactions, analytics, priority support
Business ৳2,499/month (~$19.99) Unlimited transactions, dedicated support
Pay-As-You-Go 2% per completed transaction No monthly fee — great for seasonal stores

No customer surcharges. No setup fees. The Free plan alone is enough for a developer to build and test a full integration without paying anything.

Compare that to 2.5–3.5% forever on traditional gateways. The math isn't close.


Why This Matters for Developers

If you build Shopify stores for BD clients (I do this as a freelance gig), BDWallet removes a ton of technical debt:

  • No custom webhook handlers — order status syncs automatically.
  • No reconciliation scripts — everything is logged in the dashboard.
  • No custom SMS sender for COD — built-in.
  • No fraud-detection logic to ship — shared registry handles it.
  • No settlement reconciliation — direct wallet settlement.

Basically, a problem that used to take 2–3 weeks of custom development is now a 10-minute setup.


My Take

Honestly, after two years of patching together bKash/Nagad payments for Shopify clients, finding a purpose-built solution that understands the local context feels overdue.

The fraud registry and COD automation are features you won't find anywhere else — not from international gateways (because they don't care about the BD market), and not from local gateways (because they haven't innovated in years).

If you're building or maintaining a Shopify store for a BD merchant, you owe it to your client (and yourself) to at least try the free plan.


Links

  • Website: https://bdwallet.app/
  • Support: +880 1711085864 (WhatsApp, Email, Messenger)
  • Location: Dhaka, Bangladesh

If you've tried BDWallet or have questions about integrating Shopify payments in Bangladesh, drop a comment — happy to discuss technical details, sandbox testing, or fraud-detection architecture.

Also, if you've built something similar or solved this problem differently, I'd love to hear about it. This space desperately needs more builders.

Thanks for reading. 🇧🇩


Tags to add when publishing on Dev.to:

shopify #ecommerce #payments #bangladesh #webdev #integration #api #startups

Top comments (0)