WhatsApp WooCommerce integration for order notifications and COD
Approve ReploChat on your WooCommerce store in one click and it sends approved WhatsApp templates when an order is created, shipped or cancelled, or left unpaid. Cash-on-delivery customers confirm or cancel with one tap, and the order status changes in WooCommerce.
- 7-day free trial
- No card needed
- Official WhatsApp Business API
What the WhatsApp WooCommerce integration does
The ReploChat WhatsApp WooCommerce integration turns WooCommerce order events into WhatsApp messages from your own business number. You don't install a WordPress plugin: you enter your store address, approve ReploChat on WooCommerce's own approval page, and ReploChat receives an API key and creates the order.created and order.updated webhooks for you, each signed with a secret only ReploChat knows.
Each message lands as a chat in your shared team inbox with a WooCommerce label, so customer replies ("is it available in black?") go straight to an agent. It suits Pakistani cash-on-delivery stores and prepaid stores anywhere.
| Automation | WooCommerce trigger | Typical template category |
|---|---|---|
| Order confirmation | New order (non-COD) | Utility |
| COD confirmation | New order paid with Cash on delivery | Utility |
| Order shipped | Order status changes to Completed, or a shipping status you choose | Utility |
| Order cancelled | Order status changes to Cancelled | Utility |
| Unpaid order reminder | An online-payment order is still Pending or Failed after your delay | Utility |
| Abandoned cart reminder | Only through the store-events API (see below) | Marketing |
Setup
Connect WooCommerce to WhatsApp in four steps
You need a connected WhatsApp number, an HTTPS store and at least one approved template.
Enter your store
In ReploChat open Integrations → Connect a store → WooCommerce, enter your store URL (HTTPS) and press Continue to WooCommerce.
Approve ReploChat
WordPress asks you to approve Read/Write access. Press Approve and you come straight back, connected. The webhooks are created and verified automatically.
Map each event
Pick the WhatsApp number and an approved template for each automation, then map variables to order fields: customer name, order number, total with currency, items, tracking, store name or fixed text.
Send a test
Click Send test, enter your own WhatsApp number and choose the event. A sample order is sent so you can check wording and variables; no real order is changed.
/wp-json/wc/v3 and /wc-auth/v1, or choose Enter API keys by hand and paste a Read/Write REST API key from WooCommerce → Settings → Advanced → REST API.Cash on delivery
WooCommerce COD order confirmation on WhatsApp
Orders placed with WooCommerce's Cash on delivery method get Confirm and Cancel buttons. The tap changes the order status.
What changes in WooCommerce
- ReploChat detects COD from the order's payment method (
cod, WooCommerce's built-in Cash on delivery) and sends the COD confirmation template instead of the plain order confirmation. - Confirm moves the order to the status you pick under "On Confirm, set status to": Processing, On hold or Completed.
- Cancel sets the order to Cancelled.
- Both add a private order note ("Customer confirmed this cash-on-delivery order on WhatsApp"), so your packing team sees the reason.
- The customer receives your Reply after Confirm or Reply after Cancel text, with
{name},{order_number},{total}and{store}filled in. - Only the number the message went to can answer, and a second tap changes nothing.
Why WhatsApp COD confirmation reduces fake orders and courier returns
Cash on delivery is still the default way Pakistanis pay online, and it comes with a cost every WooCommerce store owner knows: orders that never get accepted at the door. A typo in the phone number, a prank order, an impulse buy the customer regrets by evening: each one is packed, booked with a courier and returned to origin (RTO), and you pay shipping both ways.
Confirming over WhatsApp before you book the courier changes the order of operations:
- Unreachable numbers show up early. If the message fails, Recent events tells you why, before a parcel is created.
- Ship what was confirmed. Every confirmed order gets a private note and the status you chose, so your team can book couriers only for orders the customer confirmed.
- Cancellations happen on your side, not at the door. A customer who changed their mind taps Cancel and the order is closed automatically.
- Less calling. Your team only phones the customers who didn't answer, instead of every COD buyer.
Results depend on what you sell and who you sell to, so we don't quote RTO percentages. The WhatsApp for ecommerce playbook shows how to combine COD confirmation with campaigns and follow-ups.
Message examples
WooCommerce order notification messages on WhatsApp
Sample copy you can adapt. Variables are filled from the WooCommerce order.
-
Order confirmation
-
Order shipped (status Completed)
Tracking is read from shipment-tracking plugin fields when present.
-
Order cancelled
-
Abandoned cart (via the API)
Requires a cart plugin or developer to post
abandoned_cartevents.
WooCommerce abandoned cart on WhatsApp: use the store-events API
WooCommerce does not fire a webhook when a shopper leaves the checkout, so the built-in connection only sees real orders. It does see an order whose online payment wasn't finished: the unpaid order reminder sends that customer the payment link after your delay, and is skipped if they pay first. To also remind shoppers who never placed an order, a cart-recovery plugin or your developer can call ReploChat's store-events API:
- On the Integrations page create an API key for your WooCommerce store (or a separate "Custom store (API)").
- Post an
abandoned_cartevent to/api/v1/store-eventswith the customer's name, phone, items, total,checkout_idand the checkout link. - ReploChat waits for your delay, then sends the reminder. When an
order_placedevent arrives with the samecheckout_id, the reminder is cancelled.
Retries with the same event_id are ignored, and the key only works for this endpoint. The request format is in the store integrations guide.
WhatsApp template requirements
Every automation sends an approved WhatsApp template. Create it in ReploChat, submit it to Meta, and pick it once it's approved.
- Utility for order confirmation, COD confirmation, shipped and cancelled messages. Keep them strictly about the order; adding a coupon can push a template into Marketing.
- Marketing for abandoned cart reminders, as Meta's guidelines classify them.
- COD templates need two quick-reply buttons: the first confirms, the second cancels.
- Variables with sample values such as
{{1}}for the name and{{2}}for the order number. Templates are in English.
Meta bills your own WhatsApp Business Account per message by category and country, with no ReploChat markup.
Good to know
- Pakistani numbers. 0300 1234567 becomes +92 300 1234567 using the billing country, or the store's default country.
- Opt-outs. Customers who replied STOP are skipped.
- No duplicates. Each event is stored per store and order, so a webhook WooCommerce resends never messages twice.
- Recent events on the Integrations page shows every order, what was sent and why anything was skipped.
Also selling on Shopify? See the Shopify integration, which adds native abandoned checkout reminders.
7-day trial, no card needed.
Frequently asked questions
Still unsure? Ask us on WhatsApp or try it free for 7 days.
Do I need to install a WordPress plugin?
order.created and order.updated webhooks itself, signed with a secret only it knows.What happens in WooCommerce when the customer taps Confirm or Cancel?
When is the "order shipped" message sent for WooCommerce?
Does it send WooCommerce abandoned cart reminders?
abandoned_cart events to the store-events API, and ReploChat sends the reminder after your delay. See the store integrations guide.Connecting fails. What should I check?
/wp-json/wc/v3 also block ReploChat; allow it for API requests and try again.How are local Pakistani numbers like 0300 1234567 handled?
Keep exploring
- Shopify Order confirmations, COD Confirm/Cancel that tags the order, shipping updates and abandoned cart reminders.
- Ecommerce & online stores COD confirmation, abandoned carts, shipping updates, Instagram DM answers and broadcasts for online stores.
- Message Templates 102 ready-made templates, carousels and offers, with media headers, buttons and variables, submitted to Meta and synced.
- Automation Welcome and away messages with business hours, follow-up sequences, date reminders and automatic opt-outs.
- Shared Team Inbox Every WhatsApp number, Page and Instagram account in one inbox, with auto-assignment, team controls, WhatsApp calls, CSAT ratings and the 24-hour window built in.
Step-by-step guides
Ready to grow your business on WhatsApp?
Team inbox, AI assistant, chatbots, Flows, campaigns and store automations on the official WhatsApp Business API.
- Create your account No card
- Connect the number you already use Meta popup
- Invite your team and start replying Same day