AutoMFS – Manual Payment Auto-Verify for bKash & Nagad

Description

AutoMFS – Manual Payment Auto-Verify for bKash & Nagad lets WooCommerce store owners accept Personal, Agent, or Merchant bKash and Nagad payments and verify them automatically within seconds—without requiring costly merchant API agreements.

Customers simply send money to your bKash or Nagad number and paste their Transaction ID (TrxID / TxnID) into the checkout modal. AutoMFS matches the Transaction ID, gateway provider, and exact BDT order total against incoming SMS webhook logs in real time.

Website: https://automfs.connectivo.net/
Support: automfs@connectivo.net

Key Features

  • Dual bKash & Nagad Gateways: Separate WooCommerce payment methods for bKash and Nagad with individual account numbers, account types (Personal, Agent, Merchant), custom modal brand colors, and editable popup instructions.
  • TrxID-Only Checkout Verification: Customers only enter their Transaction ID—10 alphanumeric characters for bKash (TrxID) or 8 alphanumeric characters for Nagad (TxnID)—with a one-tap Paste button that automatically extracts the ID from copied SMS text.
  • Strict Automated Matching & Double-Spend Protection: Verifies Normalized Transaction ID, Payment Provider (bKash vs. Nagad), Exact BDT Order Amount, and Unclaimed Status using atomic database locking so a TrxID can never be reused across orders. Any parsed sender number from the SMS is automatically saved to the order meta and notes for admin reference.
  • Digital vs. Physical Order Status Rules: Configure separate post-verification order statuses (Completed or Processing) for Digital Products (virtual/downloadable) and Physical Products (shippable).
  • 30-Second Live Verification Loader & Fallback Screen: Polls for payment confirmation every 3 seconds right inside the modal. Once matched, displays a green checkmark with Order Confirmed! before redirecting; if still pending, shows Waiting for Payment Verification along with your configured support channels (Phone, WhatsApp, Facebook, Messenger, Telegram).
  • 5 Modal UI Templates: Switch between Classic Brand Solid, Modern Clean Light, Dark Mode Fintech Pro, Gradient Hero Banner, and Compact Split Receipt layouts from AutoMFS Templates.
  • Optional Cash Out Charge: Automatically add a configurable percentage fee as “Payment Gateway Fee” to the order total when enabled.
  • Device Token Security & Live Monitor: Register up to two phones under AutoMFS Devices, each with its own revocable X-ACBN-Device-Token alongside your masked, regeneratable X-Webhook-Secret key.
  • Transaction Logs & Apple-Style Admin UI: Full-width, clean admin interface with single-row filtering by gateway, match status, search query (TrxID, sender, or order ID), and date range.

How It Works

  1. Customer Selects bKash or Nagad at Checkout: Clicking Place Order validates required checkout fields and opens the branded payment modal showing your account number, exact payable amount, and step-by-step instructions.
  2. Customer Sends Money & Enters Transaction ID: The customer sends the exact amount via the bKash/Nagad app or USSD, pastes the 10-character bKash TrxID or 8-character Nagad TxnID, and clicks Confirm Payment.
  3. Real-Time SMS Webhook Forwarding: Your connected iPhone (via iOS Shortcuts) or Android phone forwards the incoming bKash/Nagad confirmation SMS to the plugin’s REST API endpoint (/wp-json/acbn-mfs/v1/webhook or ?rest_route=/acbn-mfs/v1/webhook).
  4. Instant Matching & Order Completion: AutoMFS parses the SMS, logs it, and matches it whether the SMS arrived before or during the 30-second live verification window. Upon matching, the Transaction ID is locked as used, any parsed sender number is attached to the order, and the order status automatically updates based on your Digital/Physical product rules.

Transaction Verification

Customers enter the Transaction ID shown in their bKash or Nagad payment confirmation. AutoMFS validates the provider-specific Transaction ID format and matches it against incoming SMS records using the payment provider and exact order amount. The Transaction ID is protected against reuse so that the same payment cannot be applied to multiple orders.

AutoMFS does not require customers to enter their sending phone number. If a sender number is present in the incoming SMS, it may be recorded for the store administrator’s reference.

Privacy and Data Handling

To verify payments, AutoMFS receives payment confirmation SMS data sent by a store owner’s configured device or automation to the store’s WordPress REST API webhook. The plugin stores the payment provider, sender number when available, Transaction ID, payment amount, SMS message content, match status, related WooCommerce order ID, and log timestamp in the store’s WordPress database. It also stores relevant verification details in WooCommerce order metadata and order notes.

This information is used to match payments, prevent Transaction ID reuse, display transaction logs, and help the store administrator resolve payment issues. AutoMFS does not send this payment data to an AutoMFS-operated or other third-party server. The store owner is responsible for configuring the SMS-forwarding device, securing webhook credentials, and handling retained customer/payment data in accordance with applicable privacy requirements.

Screenshots

Installation

Step 1: Install & Activate the Plugin

  1. Upload the automfs-manual-payment-auto-verify-bkash-nagad folder to /wp-content/plugins/ or install the ZIP via Plugins Add New Upload Plugin.
  2. (Optional) Place custom bkash.png and nagad.png icons inside includes/img/ (clean SVG badges are included as fallback).
  3. Activate the plugin through the Plugins menu in WordPress.

Step 2: Configure Gateways & Webhook

  1. Go to WooCommerce Settings Payments to enable and configure bKash Auto Verify and Nagad Auto Verify (account numbers, account types, cash-out charges, colors, and modal instructions).
  2. Go to AutoMFS Webhook Settings to copy your SMS Webhook URL and Webhook Secret Key, and set your Order Status After Match rules for Digital and Physical products.
  3. Open AutoMFS Devices to register up to two SMS-forwarding phones and copy each device’s token.
  4. Open AutoMFS Documentation for the step-by-step iOS Shortcuts setup guide (Android app support is coming soon).

FAQ

Does this work with both Personal and Agent/Merchant accounts?

Yes. You can choose Personal (Send Money), Agent (Cash Out), or Merchant (Payment) individually for bKash and Nagad inside WooCommerce Settings Payments.

What Transaction ID format does the plugin accept?

bKash TrxID values are validated as 10 alphanumeric characters, and Nagad TxnID values are validated as 8 alphanumeric characters.

What happens if the SMS arrives slightly after the customer clicks Confirm Payment?

The modal runs a 30-second live verification loader polling every 3 seconds. Typically payments verify within 5–10 seconds. If the SMS arrives later, the webhook automatically matches the pending on-hold order and updates its status.

Can I set different order statuses for digital and physical products?

Yes. Under AutoMFS Webhook Settings Order Status After Match, you can set separate statuses for Digital Products (virtual/downloadable) and Physical Products (shippable).

How is the SMS webhook secured?

All webhook and ping requests require both your X-Webhook-Secret key and a registered X-ACBN-Device-Token sent in HTTP headers or the JSON request body. The credentials are checked using timing-safe hash_equals() comparisons.

Does the customer need to provide a phone number?

No. The customer enters the Transaction ID only. If the incoming payment SMS includes a sender number, AutoMFS can store it with the matched transaction for the store administrator.

Where can I get support?

Visit the AutoMFS website or email automfs@connectivo.net. When requesting help, do not send your webhook secret or device token.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“AutoMFS – Manual Payment Auto-Verify for bKash & Nagad” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.1

  • Updated plugin text domain to automfs-manual-payment-auto-verify-bkash-nagad to match the WordPress.org plugin slug.
  • Replaced device list updates with MySQL advisory locking (GET_LOCK / RELEASE_LOCK) and non-autoloaded storage to prevent concurrent heartbeat and revocation race conditions.
  • Cleaned up registered devices option on uninstall.

1.0.0

  • Initial release with bKash & Nagad TrxID-based auto-verification (10-char bKash / 8-char Nagad), Digital vs. Physical post-match order status rules, 5 modal templates, 30-second live verification loader with checkmark confirmation, support contact fallback screen, cash-out fee calculator, device token management, transaction logs, and iOS Shortcuts webhook support.