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.
How bKash COD Conversion Operates
When Steadfast or Pathao reports a failed delivery attempt, ZeroRTO incentivizes instant bKash payment:
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:
COD to Prepaid Conversion Engine
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
- Copy your store's dedicated endpoint URL above.
- Submit this URL as your IPN (Instant Payment Notification) URL to your bKash integration account manager or developer portal.
- 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
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.