ZeroRTO Docs v1.0.0
Main Website Pricing Plans Merchant Portal
Bangladesh Payments • Direct Checkout (MFS)

bKash COD-to-Prepaid Setup Tokenized v1.2

Eliminate parcel return risks across Bangladesh by converting risky Cash-on-Delivery (COD) orders into instant prepaid bKash payments with automated taka discounts.

bKash Tokenized Direct Checkout

Direct In-App Seamless Checkout • 75M+ Active Wallets in Bangladesh

Auto IPN Sync Payment Status Query Active

How bKash COD Conversion Operates

When Steadfast or Pathao reports a failed delivery attempt, ZeroRTO incentivizes instant bKash payment:

1. Delivery Failed (COD) Customer phone off / Out of cash
2. Flat ৳50 Discount Link Direct bKash payment URL
3. Order Marked PREPAID Cash hassle eliminated / Guaranteed delivery

2. The 4 bKash Merchant Credentials You Need

Obtained from your official bKash Merchant Onboarding confirmation mail or API portal:

1. bKash App Key

Public identification key provided by bKash PG team for your merchant account.

2. bKash App Secret

Confidential encryption secret used to sign /token/grant OAuth authentication calls.

3. Merchant Username

Your registered merchant API username assigned during bKash PG agreement.

4. Merchant Password

API user password used alongside the username for server token generation.

3. Exactly Where to Paste in the ZeroRTO Plugin

Open your WordPress Admin > click ZeroRTO > open the COD to Prepaid tab:

WordPress Admin > ZeroRTO > COD to Prepaid Tab
Step 1: Enable Toggle
COD to Prepaid Conversion Engine
Step 2: Set Discount Value
50
Step 3: Select bKash
bKash (MFS) Selected Active Gateway
Step 4: App Key
your_bkash_app_key_here
Step 5: App Secret
••••••••••••••••
your_merchant_username
••••••••••••
Step 6: Copy IPN Callback URL
bKash IPN Callback Webhook URL

Register as your bKash merchant callback endpoint:

https://yourstore.com/wp-json/rescuedrop/v1/payment-webhook/bkash

4. Register bKash IPN Callback URL

bKash must notify your store immediately when a customer enters their PIN and completes payment:

https://yourstore.com/wp-json/rescuedrop/v1/payment-webhook/bkash
  1. Copy your store's dedicated endpoint URL above.
  2. Submit this URL as your IPN (Instant Payment Notification) URL to your bKash integration account manager or developer portal.
  3. Once active, when a customer pays via the ZeroRTO WhatsApp payment link, bKash hits this endpoint and ZeroRTO converts the WooCommerce order status to Prepaid in under 2 seconds!

5. Tokenized Query Status API Verification

Server-Side Transaction Verification

ZeroRTO never marks an order as paid simply based on inbound parameters. Upon receiving a webhook, ZeroRTO securely calls bKash's official /tokenized/checkout/payment/status API using your encrypted bearer token to confirm that the transaction status is truly Completed and the trxID is authentic.