Self-hosted payment gateway · Bangladesh

bKash, Nagad, Rocket and Bangla QR payments that confirm themselves.

AIOePay runs on your own hosting. Your Android phone reads the "money received" SMS, matches it with the TrxID your customer typed, and completes the order in seconds — no screenshots, no manual checking, no per-payment fee to a middleman.

Money goes straight to your own wallet numbers. AIOePay never holds it.

Want to take payments through this gateway for your business? Request a merchant account

A payment page with a custom order form and the payment methods
Checkout on a phone: the customer sends money and types the TrxID

Your number, your moneyPaid straight into your bKash, Nagad, Rocket or bank account.

Confirmed in secondsAs soon as the SMS reaches your phone, the order is paid.

On your own hostingPHP + MySQL on ordinary cPanel. Your data stays with you.

Takes payments from

  • bKash
  • Nagad
  • Rocket
  • Upay
  • Bangla QR
  • CellFin
  • Tap
  • OK Wallet

01How it works

From "Send Money" to a paid order, without anyone watching

The same four steps happen for every payment, day and night. The only thing you set up once is the phone.

  1. API · plugin · link · invoice

    Your website asks for a payment

    Your shop calls the API (or the WooCommerce / WHMCS plugin does it), or you share a payment link or an invoice. The customer lands on your own checkout page, in Bangla or English.

  2. Checkout page

    The customer pays from their own app

    They pick bKash, Nagad, Rocket, Upay or Bangla QR. Your number appears only now, as a picture with a Copy button. They send the money and type the TrxID from their confirmation SMS.

  3. Android · Pay Sync

    Your phone forwards the SMS

    Pay Sync, the Android app on the phone with your SIM, sends the "You have received" message to your server in a signed request. OTP and PIN messages never leave the phone.

  4. Server · webhook

    The order is paid

    The server checks the TrxID, the amount, the time and the receiving number. When everything fits, the payment completes, your website gets a signed webhook and the customer goes back to your site.

The whole flow, step by step

02The SMS, explained

One SMS, read the way your accountant would

This is a real "money received" message from bKash. Five things in it decide whether an order is paid.

bbKashText message · now

You have received Tk 500.001 from 017123456782. Ref 1001. Fee Tk 0.00. Balance Tk 1,500.003. TrxID 9KD7A1B2C34 at 16/11/2026 10:155

The SMS rules can be edited in the admin panel when a provider changes its wording, with a live test box.
  1. 1
    Amount

    Must cover the payment. A short amount never completes it; an over-payment is accepted and noted.

  2. 2
    Sender number

    An extra check, and the way to match a payment when the customer lost the TrxID (only if you switch it on).

  3. 3
    Balance

    Read by the fake-SMS shield: the previous balance plus this amount must equal the new balance.

  4. 4
    TrxID

    The customer types it at checkout. One TrxID pays one payment, once.

  5. 5
    Time

    An SMS older than the payment is never used for it.

03What you get

Built for how people in Bangladesh actually pay

ACheckout

A checkout your customers already understand

Mobile first, in Bangla or English, with the steps for each wallet written out. The receiving number is not in the page source: it appears only after the customer picks a method, drawn as a picture with a Copy button, and several numbers of one wallet take turns on their own.

  • bKash, Nagad, Rocket, Upay, CellFin, Tap and OK Wallet: personal, agent or merchant numbers
  • Bangla QR with the amount inside, a few paisa different for every payment
  • A daily limit per number, then the next number takes over
  • Test keys with a "Simulate a successful payment" button
Checkout page with the bKash number shown as a picture
Bangla QR checkout with the amount inside the QR

BLinks & invoices

Sell on Facebook and WhatsApp without a website

Make a payment link with your own form (student ID, size, delivery address), pick one of five designs and share it. Or send an invoice with tax, terms and a QR code by WhatsApp or e-mail; it marks itself PAID when the money arrives.

  • Form builder with 8 field types and English + Bangla labels
  • Invoices in three designs with PAID / UNPAID / OVERDUE stamps
  • The answers arrive with the payment and in your webhook
Making a payment link with its own form fields
An invoice on a phone with a Pay now button

CPay Sync app

The phone that does the checking

Install Pay Sync on any Android phone with your wallet SIM, scan the pairing QR, and it forwards only wallet messages. It keeps working with the screen off, queues SMS while offline and sends them as soon as the internet is back.

  • Signed requests (HMAC-SHA256) with a time stamp and a one-time nonce
  • Dual SIM: each SIM can be its own wallet
  • Your name, logo and colours in the app, set from the admin panel
  • An e-mail when a phone goes offline
Pay Sync status screen: online, forwarding service running
Pay Sync log with bKash, Nagad, Rocket and Upay messages

DMany websites

One gateway for every brand you run

Add each website as a brand with its own API keys, webhook, return URLs, allowed methods, colours and checkout theme. When you open the gateway to others, businesses sign up as merchants with their own numbers and phones, on plans you set.

  • Live and test keys for every website
  • Staff roles, 2-step sign-in and an activity log
  • Merchants, plans and limits; each merchant is paid into their own number
Merchant dashboard with today's payments and phones online

04And the rest

Everything a payment desk needs, already in the box

  • REST API

    Create, check and cancel payments; make invoices and payment links from your code.

  • Signed webhooks

    HMAC-SHA256 signed, retried six times over about 16 hours, and resent from the panel.

  • WooCommerce plugin

    Classic and block checkout, HPOS ready; the order turns Processing when paid.

  • WHMCS module

    Clients pay invoices; the payment is recorded with the TrxID as transaction ID.

  • PHP SDK

    One file, no Composer, PHP 7.4 or newer, with webhook verification built in.

  • Plugins & themes

    Hooks, API gateways (Stripe, PayPal, bKash Checkout), admin pages and checkout themes.

  • English & বাংলা

    Checkout, links, invoices, receipts and the admin panel in both languages.

  • SMS & WhatsApp

    Messages to customers and to you, with a template for every event and a sent log.

  • 2-step sign-in

    Authenticator app or a code by e-mail, SMS or WhatsApp, for staff and merchants.

  • Reports & CSV

    Totals by day, method and website; export payments to CSV.

  • Several currencies

    A USD order can be paid in BDT by bKash at the rate you set.

  • Cron with a fallback

    Expiry, webhook retries and alerts keep running even when cPanel cron is late.

05Fake-SMS shield

A fake "You have received" SMS will not pass.

Every real bKash and Nagad SMS carries your new balance. AIOePay checks that the previous balance plus this amount equals the new balance, and which SMS centre the message came through. When something does not add up, the SMS is held for you to approve — an order is never paid by a forged message.

Balance chain
Previous balance + amount = new balance. A typed or forwarded fake breaks the chain.
SMS centre
The server learns which SMS centres a wallet normally uses; an unknown one is a warning sign.
Four modes
Off, warn, hold (the default) or strict, set in Settings → Checkout.
You decide
Held messages wait in the SMS inbox with Approve and Reject. The customer sees "being checked".
SMS inbox: a payment SMS held because it came from an unusual SMS centre

Held, not paid

06Compared

Three ways to take mobile-banking payments

Comparison of three ways to take mobile-banking payments
Checking by handHosted aggregatorAIOePay
Where the money landsYour walletThe aggregator's account, paid out to you laterYour own wallet or bank number, at once
Who confirms a paymentYou, reading SMS and screenshotsThe aggregatorYour phone and your server, automatically
Fee for each paymentNoneA percentage of every paymentNone from the software
A payment at 2 a.m.Waits until someone wakes upConfirmedConfirmed
Fake SMS and edited screenshotsEasy to missNot usedBalance chain and SMS-centre check; doubtful SMS held
Papers to startNoneTrade licence, documents, approvalNone; personal numbers work
Your customer dataIn your phoneOn their serversOn your own hosting

Card payments and international customers still need an API gateway; Stripe, PayPal and bKash Checkout plugins can run next to the SMS methods on the same checkout.

8
payment methods built in: bKash, Nagad, Rocket, Upay, CellFin, Tap, OK Wallet and Bangla QR
0%
fee per payment taken by the software — you keep what the customer sends
1 SMS
pays exactly one order — a TrxID is never used twice
2
languages on every customer page: English and বাংলা

07Questions

Questions people ask before they start

Do I need a bKash or Nagad merchant account?

No. Personal, agent and merchant numbers all work. The customer uses Send Money, Cash Out or Payment as your number type needs, and the phone forwards the SMS that your number receives.

Where does the money go?

Straight into your own wallet or bank account. AIO ePay only reads the confirmation SMS; it never touches, holds or settles your money.

What happens if the phone is offline?

Payments wait in "processing". The app keeps every SMS in a queue and sends it as soon as the phone is back online, and waiting payments then complete on their own. You also get an alert when a phone goes offline.

Can a customer cheat with a fake SMS or an old TrxID?

An SMS can pay only one payment, SMS older than the payment are not used, short amounts do not complete, and the fake-SMS shield checks the balance chain and the SMS centre before anything is paid.

What hosting do I need?

Ordinary cPanel hosting with PHP 8, MySQL, HTTPS and a one-minute cron job. It installs in the main domain, a sub-domain or a sub-folder.

Does it work with my website?

Yes: a REST API with signed webhooks, a ready WooCommerce plugin, a WHMCS module and a one-file PHP client. Without a website you can still sell with payment links and invoices.

See it confirm a real payment

Tell us about your shop or website. We will show you a live payment going from the customer's phone to a paid order.