Shopify COD Tips: Confirm Before You Ship
A practical checklist for cash-on-delivery stores: confirmation before dispatch, safe webhook handling, reconciliation and clear rules for staff.
Cash on delivery (COD) lowers the barrier for buyers who don't want to pay online, but it moves risk onto the store: an unconfirmed order still costs packing time and a courier attempt. This post is a practical checklist for Shopify stores that take COD. It mixes documented Shopify behaviour (marked as such) with my own recommendations. It is not a case study and contains no conversion numbers.
1. Decide what "confirmed" means before you automate
Write the rule down first. For example: an order is ready to pack only when the buyer has confirmed by message or call, the address is complete, and the phone number is reachable. Automation should enforce that rule, not invent it. Keep a simple status set such as new → awaiting confirmation → confirmed → packed, and a separate cancelled / unreachable state.
2. Trigger confirmation from order events, not from the theme
Documented: Shopify apps can subscribe to webhook topics such as orders/create and receive a delivery at an HTTPS endpoint when an order is created (Shopify: About webhooks). Recommendation: run confirmation logic in a small backend service that receives this event, sends the confirmation request on your chosen channel (WhatsApp, SMS or a call queue), and writes the result back to the order as a tag or note. Theme snippets are the wrong place for this: they run in the buyer's browser and can't hold secrets.
3. Verify every webhook and expect duplicates
Documented: Shopify deliveries include headers such as X-Shopify-Hmac-Sha256 and X-Shopify-Webhook-Id. Shopify's guidance is to verify the HMAC signature and to ignore duplicate deliveries using the webhook ID. Recommendation: store processed webhook IDs, so a retry never sends the buyer two confirmation messages, and reject anything that fails the signature check.
4. Don't rely on webhooks alone: reconcile
Documented: Shopify says delivery isn't always guaranteed and that ordering isn't guaranteed within or across topics. It recommends reconciliation jobs that periodically fetch recently updated data. Recommendation: run a scheduled job, for example every 15 minutes, that lists recent COD orders and checks that each one has a confirmation state. Anything missing gets queued. This turns a silent failure into a visible task.
5. Use no-code where it fits
For simpler rules, such as tagging orders by payment method or notifying staff, Shopify's own automation tool may be enough (Shopify Flow). A custom service is worth it when you need two-way messaging, courier APIs or audit logs.
6. Keep a human decision for edge cases
Automation should handle the clear cases: confirmed, or explicitly cancelled. Ambiguous replies, address problems or repeated no-answers should land in a staff queue with the conversation attached. If buyers send payment screenshots for partial prepayment, OCR can pre-fill amounts and reference numbers, but a person should approve before an order is marked paid.
7. Measure honestly
Track your own numbers before and after: orders created, confirmed, cancelled, unreachable and returned. Without a baseline, you can't tell whether a confirmation step helped. I won't quote industry-wide percentages here, because they vary by category, region and courier.
Limitations
- Messaging channels have their own rules for business-initiated messages and templates. Check the provider's current docs before you design the flow.
- Courier integrations differ a lot. Some offer status webhooks, others only polling.
- Confirmation reduces wasted dispatches. It does not eliminate refusals at the door.
Related: WhatsApp COD confirmation service, WhatsApp Business / Meta Cloud API, Shopify development, payment and API integration, and Shopify vs WooCommerce for small businesses.