# 47 · EasyStore: WhatsApp order updates, templates and abandoned carts

**Purpose:** connect your EasyStore shop so every order becomes a contact in Wsapme and your customers get a WhatsApp message when their order is received, paid, shipped, cancelled or refunded, after a point of sale purchase, and when they leave a cart. QR numbers send your own text; Official and Hybrid numbers send the approved template you choose, filled with the order's details.

## Before you start

- You are an owner or admin of the workspace. Members can see the EasyStore orders list; only owners and admins can connect a shop or change its settings.
- You can sign in to your EasyStore admin as the shop owner (or a staff account allowed to install apps).
- At least one connected WhatsApp number. For an **Official** or **Hybrid** number you also need approved templates (**Official → Templates**), because WhatsApp only lets these numbers send a template to a customer who has not written in the last 24 hours.

> The videos show a **sample** shop, sample orders and sample numbers: nothing was saved or sent while recording them. A real test shop was also connected: a new order arrived by webhook within about 10 seconds and the "Order received" text went out from a QR number. The screens inside EasyStore itself are described, not captured.

## Part 1 · Connect your shop

**Watch first (1:42, Malay narration):** [Connect your EasyStore shop](https://wsapme.com/guide-media/video/47-easystore-connect-malay.mp4). Connect EasyStore, EasyStore's install screen (as a card), the connected shop and its buttons, on a sample shop: nothing is saved.

1. In Wsapme, open **Settings → Integrations** and click **Connect EasyStore** on the **EasyStore** card.
2. Click **Connect EasyStore**. EasyStore opens: sign in and choose your shop if you have more than one.
3. EasyStore shows **You're about to install Wsapme V3** and asks you to allow Wsapme to **read your orders, customers and fulfillments**. Click **Install** (or **Allow**).
4. You are back in Wsapme. The shop is listed with the status **Connected**.

Good to know:

- Wsapme sets up its 8 webhooks in EasyStore itself, so a new order arrives within about 10 seconds. It also checks your recent orders every 10 minutes, in case EasyStore missed one.
- Orders placed **before** you connected never get "Order received" or "Paid" messages. Only later shipping, cancellation or refund updates count for them.
- Wsapme only reads. It never changes your orders, products or customers in EasyStore.
- One EasyStore shop can be connected to one Wsapme workspace at a time.
- You can also install Wsapme from EasyStore's app list. EasyStore shows a small Wsapme page that opens Wsapme in the full window: sign in if asked, then continue from step 3.

## Part 2 · Choose the number, tags and owner

**Watch first (2:34, Malay narration):** [EasyStore messages and templates](https://wsapme.com/guide-media/video/47-easystore-messages-malay.mp4). The number, owner and tags, the Order received text with Insert and Send test on a QR number, an approved template with its variables on an Official number, and abandoned carts (Parts 2, 3 and 5). Shown on a sample shop: nothing is saved or sent.

1. On the EasyStore page, click **Settings and messages** under your shop.
2. **WhatsApp number for this shop**: choose the number that sends the messages. The list shows each number's kind: **(QR)**, **(Official)** or **(Hybrid)**.
3. **Owner of new customers** (optional): new contacts from EasyStore orders get this team member as owner.
4. **Add tags to the customer** (optional): the tag **easystore** is ticked for you. Untick it or add more.
5. Click **Save settings**.

## Part 3 · Switch on the messages you want

Every message is **off** until you switch it on, so connecting a shop never messages anyone by surprise.

| Message | When it goes |
|---|---|
| Order received | A new online order arrives (cash on delivery included). |
| Paid | The order is paid. A new order that is already paid gets only **Paid** when Paid is on. |
| Shipped | The order is fulfilled or a tracking number is added. |
| Cancelled | The order is cancelled. |
| Refunded | The order is refunded, fully or partly. |
| Point of sale purchase | A customer buys at your shop's point of sale (EasyStore POS) and gave a phone number. |
| Abandoned cart | A customer typed a phone number at checkout and did not order within your waiting time (Part 5). |

1. Tick a message.
2. **QR number:** edit the text. Use the **Insert** buttons or type placeholders such as `{name}`, `{order_no}`, `{items}`, `{total}`, `{tracking_no}`, `{tracking_url}`, `{order_url}`. For the abandoned cart use `{cart_url}`. A line with an empty tracking, link or address placeholder is left out, so "Tracking:" never shows with nothing after it.
3. **Official or Hybrid number:** choose an **Approved template**, then fill each variable with a placeholder, for example `{{1}}` = `{first_name}`, `{{2}}` = `{order_no}`, `{{3}}` = `{tracking_no}`. Only templates without a picture header and without button variables are listed. You cannot save a message that is switched on without a template and every variable filled.
4. Click **Send test**, type your own number and click **Send**. The test is filled with your latest order (or sample details) and nothing is saved.
5. Click **Save settings**.

Each message goes **once per order**, even when EasyStore sends the same update again.

### Product and payment rules (optional)

Under a message, click **Message for a product or payment** to send a different message, or no message, for some orders:

- **Words in the product name**, such as `serum`, and/or a **payment**: **Cash on delivery** or **Online payment**.
- **Send this message** or **No message**.
- **Only for orders in the rules (other orders get no message)**: orders that match no rule get nothing.

The first rule that matches wins. On an Official or Hybrid number each rule needs its own template.

## Part 4 · Read the orders log

**Watch first (1:44, Malay narration):** [EasyStore orders log and common problems](https://wsapme.com/guide-media/video/47-easystore-orders-malay.mp4). Sent, skipped and failed badges, Retry, the filters, the abandoned carts list, and Test connection / Check orders now, on sample orders: nothing is sent.

Under **Orders** every order shows its customer, items, total, shipping and one badge per event, for example **Paid: sent** or **Order received: skipped**. Point at a badge to read why.

- Filter by event, by shop (with more than one), or tick **Failed messages only**. Search by order number, phone or name.
- A failed message (number disconnected, out of messages, template no longer approved) has a **Retry** button. Retry sends it once.
- The order also shows in the inbox **Orders** panel and in the `{{order_*}}` placeholders, like orders from your other stores.

## Part 5 · Recover abandoned carts

1. In the shop's settings, tick **Recover abandoned carts** and choose the **Waiting time** (15 minutes to 24 hours; 1 hour by default).
2. Switch on the **Abandoned cart** message (Part 3) and use `{cart_url}` for the link back to the checkout.
3. Click **Save settings**.

Wsapme reads your shop's open checkouts every 10 minutes. A checkout with a phone number becomes:

- **Ordered**: the customer ordered before the waiting time. No message.
- **Abandoned**: no order after the waiting time. The message goes once and the "EasyStore cart abandoned" workflow starts.
- **Recovered**: the customer ordered after the message.
- **Expired**: the customer opted out, the cart is older than 48 hours, or recovery was switched off. No message.

## Part 6 · Start workflows from EasyStore

For longer follow-ups (a review request after 3 days, an upsell, a team alert), use a workflow:

1. Open **Workflows** and create a workflow.
2. **Starts when:** choose **EasyStore order event** (tick the events, for example **Shipped**) or **EasyStore cart abandoned**.
3. Optional filters: the shop, **Order total at least**, and **Order contains the product** (product ID, SKU or words in its name).
4. Add steps. Placeholders include `{{easystore_order_no}}`, `{{easystore_items}}`, `{{easystore_total}}`, `{{easystore_tracking_no}}`, `{{easystore_tracking_url}}` and, for carts, `{{easystore_cart_url}}`.
5. Switch the workflow on.

## Part 7 · Test, check and disconnect

- **Test connection**: checks that EasyStore still gives Wsapme access and puts the webhooks back if they were removed.
- **Check orders now**: reads your recent orders at once.
- **New webhook address**: makes a new secret address and moves EasyStore's webhooks to it (use it if the address leaked).
- **Disconnect**: removes Wsapme's webhooks and deletes the access token. The orders log stays. You can also remove the Wsapme app in EasyStore → **Apps**.

## Common problems

| Problem | What to do |
|---|---|
| The EasyStore page says "EasyStore is not set up yet" | Wsapme's EasyStore app is still being set up. Try again later or contact Wsapme support. |
| Installing from EasyStore stays on "processing" or a blank box | Click **Continue to Wsapme** in the box, or open **Settings → Integrations → EasyStore** in Wsapme and click **Connect EasyStore** from there. |
| "That EasyStore link expired or was not started here" | The sign-in took longer than 15 minutes, or it was started in another browser. Click **Connect EasyStore** again in the same browser. |
| "… is connected to another Wsapme workspace" | EasyStore sends a shop's orders to one workspace only. Disconnect the shop in the other workspace first, then connect it here. |
| The shop shows **Connect again** | The Wsapme app was removed in EasyStore, or a permission was taken away. Click **Connect again** and allow Wsapme again. |
| "This shop's EasyStore subscription has expired" | EasyStore refuses API calls while the shop's plan has expired. Renew it in EasyStore, then click **Test connection**. |
| Orders arrive but no WhatsApp message goes out | Open the order's badge: "The message for … is off" means you have not ticked that message; "says no message" means a product rule skipped it; "This order has no valid phone number" means the customer typed no usable number. |
| "Choose an approved template for …" when saving | The shop sends from an Official or Hybrid number. Pick an approved template for every message you switched on and fill every variable. |
| A message failed with "needs an approved template" | The number became Official or Hybrid after you saved text messages. Choose a template for that message, save, then click **Retry**. |
| A customer got only "Paid", not "Order received" | The order was already paid when it reached Wsapme and **Paid** is on, so Wsapme sent one message instead of two. |
| Abandoned carts never appear | Check that **Recover abandoned carts** is ticked and saved, and that the customer typed a phone number at checkout. Carts are read every 10 minutes. |
| An old order got no message after connecting | Orders placed before you connected never get "Order received" or "Paid". Only later shipping, cancellation or refund messages go. |
