Enable the COD confirmation stage
The COD confirmation stage is where OrderPing decides which orders get a WhatsApp confirmation, which template to use, and what happens if the customer doesn’t respond in time.
Before you start
- WhatsApp is connected.
- You have at least one approved WhatsApp template (category: Utility) with a URL button for the confirmation link. See create your first template.
Turn on the stage
-
Open Lifecycle Stages
In the OrderPing admin sidebar, click Lifecycle. You’ll see a list of stages with toggles.
-
Find
cod_confirmationThis is the stage that controls the COD flow. It’s separate from the one-way notification stages (shipped, delivered, and so on).
-
Pick your approved template
Choose the template you approved in Meta. OrderPing will fetch its component structure so you can preview the message with real order data.
-
Map variables
For each
{{1}},{{2}}, etc. in the template body, map it to an OrderPing field —customer_name,order_number, and so on. See the full variables reference. -
Configure timeouts
Set Reminder after hours (default 12) and Confirmation timeout hours (default 24). If the customer hasn’t responded after the timeout, the order is marked expired and tagged
COD-Unconfirmed. -
(Optional) Turn on auto-cancel
When Auto-cancel is enabled, OrderPing cancels the order in Shopify once the timeout expires. Off by default — many merchants prefer manual review on expired orders.
-
(Optional) Minimum order amount
Skip the confirmation flow for small orders. Useful if the cost of a WhatsApp conversation isn’t worth it for low-ticket items.
-
Enable
Flip the stage toggle to On and save. New COD orders will start getting confirmations immediately.
What happens next
When a new COD order comes in (detected via the Shopify orders/create webhook), OrderPing:
- Checks the payment gateway name to confirm it’s COD. See COD orders not triggering if this fails.
- Creates an order record with a unique confirmation token.
- Sends the WhatsApp template with the confirmation URL button wired to that token.
- Schedules a reminder at
reminderAfterHoursand a timeout check atconfirmationTimeoutHours. - Tags the order
COD-Confirmed,COD-Cancelled, orCOD-Unconfirmeddepending on the outcome.