COD2PAY intercepts post-purchase Cash on Delivery hesitation and gives shoppers an instant, frictionless way to convert uncommitted orders into prepaid digital flow.
⚡ 3-PHASE RECONCILIATION ARCHITECTURE
PHASE 01Checkout Intercept
Native Shopify Thank You extension renders dynamic QR & 1-tap mobile launcher.
PHASE 02TrxID Submission
Customer confirms transfer and submits 10-char alphanumeric banking code.
PHASE 03Courier Auto-Sync
Order tagged COD2Pay-Prepaid and courier COD collection fee waived.
1
Install COD2PAY from the Shopify App Store
Install COD2PAY from the Shopify App Store and approve the required permissions: read_orders and write_orders. These allow COD2PAY to detect Cash on Delivery orders, calculate prepayment incentives, and auto-tag converted orders.
2
Configure Your Mobile Payment Gateways
In your Shopify Admin, open COD2PAY > Settings. Enter your recipient bKash, Nagad, Rocket, Upay, or bank account numbers. Toggle the active switches for each gateway you want displayed to customers.
3
Activate the Checkout UI Extension
Go to Shopify Admin > Settings > Checkout > Customize. In the Thank You page dropdown, click Add App Block, select COD2PAY Prepayment Banner, and position it at the top of the order summary. Click Save.
GETTING STARTED • EXTENSION
⏱️ 5 min read
Shopify Checkout UI Extension Setup
How to embed COD2PAY directly onto the post-purchase Thank You page and Customer Account Order Status page with zero legacy Liquid theme code.
🛡️ NATIVE SHOPIFY CHECKOUT 2.0 COMPLIANCE
COD2PAY is built 100% on Shopify's official Checkout Extensibility architecture (purchase.thank-you.block.render). It operates in a secure sandbox with zero performance degradation, works seamlessly on both mobile and desktop, and complies with Shopify Plus checkout policies.
Conditional Rendering Logic
The checkout extension automatically inspects the payment status of each placed order:
If an order has already been paid online via credit card or digital wallet at checkout, the COD2PAY block gracefully unmounts and takes up zero visual space.
PAYMENT RAILS • BANGLADESH MFS
⏱️ 6 min read
bKash 1-Tap Mobile Intent & Dynamic QR
The fastest prepayment conversion flow in South Asia: launch the official bKash mobile app in 1 tap with pre-filled merchant wallet numbers and invoice references.
01. MOBILE 1-TAP LAUNCHER
Direct App Intent Protocol
When the customer taps "Pay with bKash App", COD2PAY triggers a native deep-link that directly opens the bKash app on Android or iOS, pre-filling your merchant number and exact order amount.
02. DESKTOP DYNAMIC QR
High-Resolution ISO Code
Desktop shoppers scan a dynamic ISO-compliant QR code with their mobile phone camera, transferring the exact balance with zero typing or recipient account dialing mistakes.
The buyer can select their preferred UPI app (Google Pay, PhonePe, Paytm, Cred) or scan the generated dynamic QR code to settle payment with zero transaction markup.
PAYMENT RAILS • BANKING & MFS
⏱️ 5 min read
Rocket, Upay & Direct Bank Wire
Direct electronic bank transfer rails (NPSB, BEFTN) and secondary mobile wallet options for wholesale orders and B2B stores.
Bank Transfer Configuration Fields
Enter your commercial bank details in COD2PAY Settings:
Bank Name: e.g. City Bank / BRAC Bank
Account Name: Company Legal Name
Account Number: 13-16 digit account number
Routing Number: 9-digit central bank code
SECURITY & FRAUD DEFENSE
⏱️ 6 min read
TrxID Regex Rules & Duplicate Guard
How COD2PAY blocks photoshopped payment screenshots, validates transaction identifiers, and stops fraudulent order manipulation.
Regex Syntax Validation Specifications
Gateway
Format Specification
Regular Expression
Example Valid TrxID
bKash
10 uppercase alphanumeric
^[A-Z0-9]{10}$
9X7A2109KL
Nagad
8-10 uppercase alphanumeric
^[A-Z0-9]{8,10}$
7A91BC4D
UPI Rails
12 numeric digits (UTR)
^\d{12}$
402918274019
🛡️ DUPLICATE GUARD LEDGER
Preventing Reused Transaction Codes
Every submitted TrxID is cryptographically hashed and checked against all historical orders across your store partition. If a customer attempts to reuse an old TrxID or submits a code previously claimed on another order, COD2PAY instantly rejects the submission and flags the order for merchant inspection.
MERCHANT ADMIN • RECONCILIATION
⏱️ 5 min read
Order Review Queue & Tag Automation
The central dispatch command center: manage prepayment verification queues, inspect transaction slips, and trigger automated Shopify order updates.
Automated Actions on Verified Payment
01. Tag Injection
Appends COD2Pay-Prepaid and Courier-Priority to the Shopify order.
02. Order Timeline Note
Writes immutable audit note with customer wallet number, TrxID, and verification timestamp.
03. Financial Status
Marks order financial status as PAID via Shopify GraphQL Admin API.
LOGISTICS & 3PL SYNC
⏱️ 6 min read
Courier Auto-Tagging & Fee Waiver (Save 1.5%)
How COD2PAY eliminates courier Cash-on-Delivery handling fees, accelerates warehouse packing, and integrates with Pathao, Steadfast, and RedX.
💰 THE COURIER FEE DEFENSE CALCULATION
When orders remain Cash on Delivery, couriers charge a 1% to 1.5% COD collection surcharge and retain collected cash for 7–21 days. By converting an order into verified prepayment, COD2PAY triggers courier dispatch APIs with a COD collection amount of ৳0 BDT:
Average Order Value:৳1,500 BDT
Courier Fee Saved:৳22.50 per order
At 2,000 orders/mo:+৳45,000 BDT / month
DEVELOPER REFERENCE • REST & WEBHOOKS
⏱️ 7 min read
Webhooks, Cron Engine & GDPR API
Full schema documentation for real-time order verification event streams, background cron reconciliation endpoints, and mandatory statutory privacy webhooks.