How can I convert Cash-on-Delivery orders to prepaid payments in Shopify via WhatsApp links using MyOperator?
Convert COD to Paid via WhatsApp (MyOperator + Shopify)
Quick answer — Inside MyOperator → Ecomm+ → Workflow, open Convert COD to Paid, toggle the flow ON, choose your pre-approved WhatsApp template that contains a dynamic payment link, map the Shopify variables ({{name}}, {{orderid}}, {{amount}}, {{paymentlink}}), send yourself a test, then click Update workflow.
From that moment, every new COD customer receives a WhatsApp message with a one-tap "Pay Now" link that marks the order prepaid once payment succeeds.
When should I use this guide?
Read on only if you have:
- Installed and connected the MyOperator ↔ Shopify plugin
- A verified WhatsApp Business Account (WABA) linked to MyOperator.
- At least one Meta-approved Utility-category template designed to convert COD orders to prepaid.
Prerequisites checklist
Requirement | Why it matters |
|---|---|
MyOperator account with Ecomm+ is enabled | Grants access to the Workflow tab |
Shopify store admin rights | Allows plugin to read orders & send webhooks |
Verified WABA connected to MyOperator | Permits official WhatsApp messages |
≥ 1 approved Utility template for COD-to-prepaid | Drives the WhatsApp payment message |
Create or reuse your payment-link template
- Navigate to MyOperator → WhatsApp → Create Template.
- Name it clearly, e.g.
cod_to_paid_new.
- Select Utility as the category.
- Insert these placeholders:
Placeholder | Maps to Shopify | Example fallback |
|---|---|---|
| customer.first_name | Customer |
| ||
| order.total_price | |
| order.payment_url |
- Add persuasive copy: "Pay online now and get 5% off!" (optional).
- Embed the dynamic redirect URL exactly as shown:
https://shopify.myoperator.com/redirect?url={{link}}
- Submit and wait until the template status = Approved.
Step-by-step setup
- Navigate → MyOperator → Ecomm+ → Workflow.
- Expand Cash-on-Delivery (COD) Management and click Convert COD to Paid.
- Toggle ON and open the flow to reach Edit workflow.
- Select Template → choose
cod_to_paid_new.
- Map Variables — Connect the variables in your template to the correct Shopify data to personalise the message.
- Map
{{name}}to the customer's Name. - Map
{{orderid}}to the Order ID. - Map
{{amount}}to the order Amount. - Map
{{paymentlink}}to the Payment Link. This will automatically generate a unique link for the customer to complete their payment online.
- Send Test → click Test, enter a 10-digit mobile number, then Send Message.
- Verify live preview on the right, then click Update workflow to activate.
Expected outcome & testing
Outcome
- Every COD shopper receives a WhatsApp message with order details, amount, and a Pay Now link.
- Successful payment flips the order status to Prepaid in both the Shopify and MyOperator dashboards.
Testing checklist
- Place a test COD order in Shopify.
- Wait a few seconds; confirm WhatsApp message arrival.
- Click Pay Now, complete a test (sandbox) payment.
- Refresh Shopify admin; verify status shows Paid/Prepaid.
When this won't work
- Template status is Pending or Rejected.
- Redirect URL deviates from
https://shopify.myoperator.com/redirect?url={{link}}. - Shopper has opted out of WhatsApp messages.
- Required variables left unmapped — workflow errors, message not sent.
Troubleshooting
Issue: "Template variable missing"
- Re-open workflow; map every
{{variable}}and supply fallbacks.
Issue: Link opens blank page
- Confirm template URL matches the required redirect format.
Issue: Message not delivered
- Check MyOperator → WhatsApp Logs for status.
- Ensure recipient number includes country code and is WhatsApp-enabled.
Keywords: MyOperator COD-to-prepaid • Shopify WhatsApp payment link • convert COD order • Ecomm+ workflow
Updated on: 01/12/2025