Getting started
What the gateway does, what you need, and the order to set things up in.
AIO ePay confirms mobile-banking payments automatically. A customer sends money to your bKash, Nagad, Rocket or Upay number, types the TrxID on your checkout page, and the "You have received" SMS on your Android phone completes the payment — no manual approval.
What you need
| Part | Details |
|---|---|
| Hosting | PHP 8.0 or newer (8.2 / 8.3 recommended) with pdo_mysql, curl, openssl, mbstring; MySQL 5.7+ or MariaDB 10.3+ |
| HTTPS | Required. The Android app does not connect to plain HTTP servers. |
| Cron | One job every minute (the panel shows the command). |
| A phone | Any Android phone with the SIM of your wallet number. An old phone used only for payments is ideal. |
The order to set things up
- Install the server on your hosting.
- Add the cron job.
- Pair the phone with the Pay Sync app.
- Add your payment methods: your wallet numbers, or Bangla QR.
- Connect your website with an API key, or use the WooCommerce or WHMCS plugin.
- Send yourself a small real payment and watch it complete.
How a payment is confirmed
- Your website creates a payment and sends the customer to the checkout URL.
- The customer picks a method, sends money to the number shown, and types the TrxID.
- Pay Sync forwards the incoming SMS to your server in a signed request.
- The server matches TrxID, amount, time and the receiving number. On a match the payment is completed, a signed webhook goes to your website, and the customer is sent back.
If the SMS is late, the payment waits in processing and completes the moment the SMS arrives.