Skip to content

Payments

Payment Gateway Integration

Taking money online is easy to get almost right, and almost right is expensive. I integrate bKash, SSLCommerz and Stripe so that an order is only marked paid after your own server has checked it.

Payment Gateway Integration product screen, shown with sample data

How I think about this

The rule I never break: a redirect from the browser is not proof of payment. The server calls the gateway, compares the amount with the saved order, and only then marks it paid.

Customers refresh pages and close tabs at the worst moment, so the same notification can arrive twice or not at all. Handling that properly is most of the work, and it is why I keep a record of every payment attempt.

Project ideas

  • Online fee payment

    Parents pay school fees by bKash and the ledger updates by itself.

  • Subscription billing

    Monthly plans with reminders, grace periods and invoices.

  • Payment audit

    Check an existing store for tampering and duplicate payment problems.

Delivery process

  1. Gateway SetupChoosing the right gateway and preparing sandbox credentials.
  2. Checkout FlowBuilding payment creation with totals calculated on the server.
  3. VerificationHandling callbacks and webhooks to confirm every payment.
  4. Live TestingTesting success, failure and cancellation before switching to live keys.

Questions

Yes. For example, Bangladeshi customers can use bKash or SSLCommerz while international customers pay with Stripe.