SSLCommerz COD-to-Prepaid Setup Gateway v4 API
Eliminate cash delivery failures across Bangladesh by converting COD orders into upfront payments covering bKash, Nagad, Rocket, Upay, Visa, Mastercard, and Internet Banking.
How SSLCommerz COD Conversion Operates
When a courier flags a delivery failure, ZeroRTO offers an instant multi-wallet payment link:
2. How to Retrieve Store ID & Store Password
Obtained from your official SSLCommerz Merchant Onboarding approval email or merchant panel:
1. SSLCommerz Store ID
Your unique merchant identifier provided by SSLCommerz upon merchant account activation.
2. Store Password
Secret API password used to authenticate /gwprocess/v4/api.php link generation requests and server validation calls.
- Log in to your SSLCommerz Merchant Panel.
- In the left sidebar, navigate to My Stores / Integration Settings.
- Copy your Store ID and Store Password.
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 IPN Webhook in SSLCommerz Portal
SSLCommerz must notify your store immediately when a customer pays via bKash, Nagad, or Cards:
https://yourstore.com/wp-json/rescuedrop/v1/payment-webhook/sslcommerz
- Copy your store's dedicated endpoint URL above.
- In SSLCommerz Merchant Panel, navigate to Integration Settings > IPN Settings.
- Enable IPN and paste your copied endpoint URL.
- Click Save IPN Settings.
5. Server-to-Server Validation API Security
ZeroRTO never marks an order as paid simply by trusting an incoming IPN POST parameter. Upon receiving the notification, ZeroRTO immediately sends a background validation GET query to https://securepay.sslcommerz.com/validator/api/validationserverAPI.php using the transaction's val_id and your private store_passwd. Only when SSLCommerz returns an official VALID status is the order converted to Prepaid!