Articles on: MyOperator

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)


Tip

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




  1. Navigate to MyOperator → WhatsApp → Create Template.


  1. Name it clearly, e.g. cod_to_paid_new.


  1. Select Utility as the category.


Creating a new WhatsApp template


  1. Insert these placeholders:


Placeholder

Maps to Shopify

Example fallback

{{name}}

customer.first_name

Customer

{{orderid}}

order.id

{{amount}}

order.total_price

{{paymentlink}}

order.payment_url


  1. Add persuasive copy: "Pay online now and get 5% off!" (optional).


  1. Embed the dynamic redirect URL exactly as shown: https://shopify.myoperator.com/redirect?url={{link}}


  1. Submit and wait until the template status = Approved.



Step-by-step setup


  1. Navigate → MyOperator → Ecomm+ → Workflow.


Configure the payment request message


  1. Expand Cash-on-Delivery (COD) Management and click Convert COD to Paid.


  1. Toggle ON and open the flow to reach Edit workflow.


  1. Select Template → choose cod_to_paid_new.


  1. 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.


  1. Send Test → click Test, enter a 10-digit mobile number, then Send Message.


  1. 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


  1. Place a test COD order in Shopify.
  2. Wait a few seconds; confirm WhatsApp message arrival.
  3. Click Pay Now, complete a test (sandbox) payment.
  4. Refresh Shopify admin; verify status shows Paid/Prepaid.



When this won't work




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