Features

Platform

All features
Solutions

By industry

Integrations

All industry playbooks
Pricing Partners
Resources

Learn

Compare

All comparisons
FAQs
WooCommerce integration

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.

AutomationWooCommerce triggerTypical template category
Order confirmationNew order (non-COD)Utility
COD confirmationNew order paid with Cash on deliveryUtility
Order shippedOrder status changes to Completed, or a shipping status you chooseUtility
Order cancelledOrder status changes to CancelledUtility
Unpaid order reminderAn online-payment order is still Pending or Failed after your delayUtility
Abandoned cart reminderOnly 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.

  1. Enter your store

    In ReploChat open Integrations → Connect a store → WooCommerce, enter your store URL (HTTPS) and press Continue to WooCommerce.

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

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

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

Connection failing? Security plugins and firewalls that block the WordPress REST API also block ReploChat. Allow /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_cart events.

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:

  1. On the Integrations page create an API key for your WooCommerce store (or a separate "Custom store (API)").
  2. Post an abandoned_cart event to /api/v1/store-events with the customer's name, phone, items, total, checkout_id and the checkout link.
  3. ReploChat waits for your delay, then sends the reminder. When an order_placed event arrives with the same checkout_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.

Connect your WooCommerce store free

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?

No. You enter your store address in ReploChat and approve it on WooCommerce's built-in approval page, which creates a Read/Write API key for ReploChat. If a security plugin blocks that page, you can paste a REST API key from WooCommerce → Settings → Advanced → REST API instead. ReploChat creates the 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?

Confirm moves the order to the status you choose (Processing, On hold or Completed) and Cancel sets it to Cancelled. Either way a private order note records that the customer answered on WhatsApp, and the customer gets your reply text.

When is the "order shipped" message sent for WooCommerce?

When the order's status changes to Completed, or to the status you choose for shipped orders (for example a custom Shipped status). ReploChat reads the tracking number and link from the order when a shipment-tracking plugin saves them (for example the WooCommerce Shipment Tracking fields); otherwise use fixed text such as your courier's tracking page.

Does it send WooCommerce abandoned cart reminders?

WooCommerce has no abandoned-cart webhook, so the built-in connection cannot see carts that never became an order. It does send an unpaid order reminder with the payment link when an online-payment order is left Pending or Failed. For full cart recovery, a cart-recovery plugin or a developer can send 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?

The store must use HTTPS and the WordPress REST API must be reachable. Security plugins or firewalls that block /wp-json/wc/v3 also block ReploChat; allow it for API requests and try again.

How are local Pakistani numbers like 0300 1234567 handled?

Numbers without a country code get the country from the order's address, or the store's default country (Pakistan unless you change it), so 0300 1234567 becomes +92 300 1234567.

Ready to grow your business on WhatsApp?

Team inbox, AI assistant, chatbots, Flows, campaigns and store automations on the official WhatsApp Business API.

  1. Create your account No card
  2. Connect the number you already use Meta popup
  3. Invite your team and start replying Same day

Chat with us on WhatsApp

Sales+92 335 5265622 Support+92 339 4683250