Title: Happilee Abandoned Cart and Order notification for WooCommerce
Author: happilee
Published: <strong>2026 年 7 月 27 日</strong>
Last modified: 2026 年 10 月 7 日

---

搜索插件

![](https://ps.w.org/happilee-abandoned-cart-for-woocommerce/assets/banner-772x250.
png?rev=3624294)

![](https://ps.w.org/happilee-abandoned-cart-for-woocommerce/assets/icon-256x256.
png?rev=3624294)

# Happilee Abandoned Cart and Order notification for WooCommerce

 作者：[happilee](https://profiles.wordpress.org/happilee/)

[下载](https://downloads.wordpress.org/plugin/happilee-abandoned-cart-for-woocommerce.1.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/happilee-abandoned-cart-for-woocommerce/#description)
 * [评价](https://cn.wordpress.org/plugins/happilee-abandoned-cart-for-woocommerce/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/happilee-abandoned-cart-for-woocommerce/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/happilee-abandoned-cart-for-woocommerce/#developers)

 [支持](https://wordpress.org/support/plugin/happilee-abandoned-cart-for-woocommerce/)

## 描述

Happilee Abandoned Cart and Order notification for WooCommerce seamlessly integrates
your WooCommerce store with the Happilee WhatsApp chatbot platform. As a Meta Business
Partner, Happilee provides powerful WhatsApp business solutions, and this plugin
bridges your WooCommerce abandoned carts directly to the Happilee API to automate
recovery.

**Supported Ecommerce Plugins:**

 * WooCommerce

**Key Features:**

 * Automated abandoned cart tracking for WooCommerce
 * Clean, detailed dashboard for abandonment statistics
 * Easy API connection setup with Happilee platform
 * Automatic trigger of recovery messages via WhatsApp
 * Secure API authentication with encrypted storage
 * Real-time cart data transmission
 * WhatsApp template message support with dynamic parameter mapping (e.g. {{customer_name}},{{
   cart_url}})
 * Order status notifications for shop owner and customer via WhatsApp, triggered
   by a configurable WooCommerce order hook (Order Received, Payment Completed, 
   Order Completed, or Order Processing), with a separate opt-in and WhatsApp template
   for each recipient

**About Happilee:**

Happilee is a Meta Business Partner providing WhatsApp chatbot services that help
businesses automate customer communication, lead generation, and support through
WhatsApp Business API.

**How It Works:**

 1. Install and activate the plugin
 2. Configure your Happilee API credentials in configuration tab
 3. Choose a WhatsApp message template from your Happilee account for cart recovery
 4. Map the template’s dynamic parameters to your WooCommerce cart data (like customer
    name, cart total, etc.)
 5. When a cart is abandoned, the plugin automatically syncs the data to Happilee and
    triggers the selected WhatsApp template message to recover the sale.

**Important Note on Cart Tracking:**

Currently, this plugin tracks abandoned carts for **logged-in customers only** (
guest cart tracking via checkout forms will be added in a future update).

To ensure the plugin captures as many abandoned carts as possible, we strongly recommend
allowing customers to create accounts easily.

Please navigate to **WooCommerce > Settings > Accounts & Privacy** and enable the
following options:
 * Allow customers to create an account on the “My account” page*
Allow customers to create an account during checkout

### External Services

This plugin connects to the following external services:

**1. Happilee API (happilee.io)**

This plugin communicates with the Happilee WhatsApp chatbot platform API to:

 * Validate your API key and retrieve your project details — sent once when you 
   save your API credentials.
 * Fetch available WhatsApp templates — sent once when you configure your cart recovery
   settings.
 * Send WhatsApp template messages — sent automatically when a cart is flagged as
   abandoned according to your settings, and only after the opt-in described below
   has been enabled.

Data sent to Happilee includes: your API key (for authentication), abandoned cart
customer details (e.g., First Name, Last Name, Phone Number, Cart URL), and — when
order status notifications are enabled — order details (e.g., Order ID, Order Status,
Order Total, Payment Method, Product Name, and the customer’s or shop owner’s phone
number) mapped to your selected message template.

Data is transmitted to the following Happilee API endpoints:
 * `https://api.happilee.
io/api/v1/getProjectDetails` — API key validation * `https://api.happilee.io/api/
v1/getTemplateMessages` — fetching available WhatsApp templates * `https://api.happilee.
io/api/v1/sendMessage` — sending WhatsApp template messages for abandoned carts 
and order status notifications

This service is provided by Happilee (a Meta Business Partner):
 * Website: https://
happilee.io * Terms of Service: https://happilee.io/terms-of-use/ * Privacy Policy:
https://happilee.io/privacy-policy/

**Explicit opt-in required:** the API Configuration screen includes a “data sharing
consent” checkbox, unchecked by default. No customer data is ever sent to `sendMessage`/`
createContact` unless the store admin has explicitly checked this box (in addition
to configuring a valid API key and a template for the feature being used). Fetching
your own project details/templates during setup (the first two endpoints above) 
is a direct result of an admin action (entering/validating an API key) and only 
involves your own API key, not customer data.

**Country code detection (no external service)**

When a cart is abandoned and the customer has no billing country saved, the plugin
determines the dialling prefix locally using WooCommerce’s built-in geolocation (
CDN/server country headers such as Cloudflare’s `CF-IPCountry`, or the MaxMind GeoLite2
database if configured under WooCommerce > Settings > Integration), falling back
to the store’s base country. The visitor’s IP address is not sent to any third-party
service.

### Additional Information

**Support:**
 For plugin support, visit https://happilee.io/contact-us/

For Happilee platform support and API documentation, visit your Happilee dashboard.

**Privacy:**
 This plugin transmits abandoned cart and customer data to the Happilee
API to send recovery messages. Please review Happilee’s privacy policy and ensure
compliance with your local data protection regulations (GDPR, CCPA, etc.).

## 屏幕截图

[⌊Plugin configuration walkthrough⌉⌊Plugin configuration walkthrough⌉[

Plugin configuration walkthrough

[⌊Happilee Abandoned Cart dashboard and statistics⌉⌊Happilee Abandoned Cart dashboard
and statistics⌉[

Happilee Abandoned Cart dashboard and statistics

[⌊Abandoned cart report⌉⌊Abandoned cart report⌉[

Abandoned cart report

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/happilee-abandoned-cart` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Navigate to WooCommerce  Happilee Abandoned Cart to configure the plugin.
 4. In the API Configuration section, enter your Happilee API key (available from your
    Happilee dashboard).
 5. Save your settings and configure your recovery message template.

**Requirements:**

 * WooCommerce installed and activated
 * Active Happilee account (sign up at https://happilee.io)
 * Happilee API key

## 常见问题

### What is Happilee?

Happilee is a Meta Business Partner that provides WhatsApp chatbot services for 
businesses to automate customer communication through WhatsApp Business API.

### Does this require WooCommerce?

Yes, this plugin requires WooCommerce to be installed and activated on your WordPress
site.

### Do I need a Happilee account?

Yes, you need an active Happilee account and API key. Visit https://happilee.io 
to create an account.

### Where do I find my Happilee API key?

Log in to your Happilee dashboard and navigate to Project  Settings  Integrations
to find your API key.

### Is the data transmission secure?

Yes, all data is transmitted securely via HTTPS. API keys are encrypted using AES-
256-CBC encryption before being stored in the database.

### What data is sent to Happilee?

The plugin sends selected WooCommerce cart and customer details such as First Name,
Last Name, Phone Number, Cart Total, and Cart Recovery URL. This data is used solely
to populate the WhatsApp recovery message. Please note that a valid mobile number
is required to send WhatsApp messages.

### How do I verify the plugin is working?

After configuring your API key and choosing a template under Features  Abandoned
Cart, you can simulate an abandoned cart by logging into a customer account, adding
items to your cart, and waiting for the abandonment timeout. You should see the 
automated message sent to the WhatsApp number associated with the account. Please
note that abandoned cart recovery is only supported for registered and logged-in
users (our plugin adds a required phone number field to the registration form), 
and is not available for guest users.

### What are template parameters?

Template parameters are dynamic placeholders in your WhatsApp message template, 
written as {{param_name}}. For example, a cart recovery template might contain {{
customer_name}} and {{recovery_link}}. The plugin lets you map each placeholder 
to specific WooCommerce cart data so the correct values are inserted when the message
is sent.

### Why am I not seeing all my WhatsApp templates in the dropdown?

After you add your Happilee API key, the plugin fetches your templates from your
Happilee account. However, to keep the selection relevant, the template dropdowns
will only display templates whose name starts with `wp_` (for example `wp_abnd_cart_reminder`
or `wp_order_update`). Please ensure your cart recovery and order notification templates
are named with this prefix in your Happilee dashboard.

### What are Order Status Notifications?

In addition to abandoned cart recovery, the plugin can send WhatsApp notifications
to your shop owner and/or customer when an order reaches a status you choose: Order
Received, Payment Completed, Order Completed, or Order Processing. Enable each recipient
independently and pick a separate WhatsApp template for the shop owner and customer
messages. Order notifications work on their own: you only need to set up templates
for the features you enable, so no abandoned cart template is required. Note: if
abandoned cart notifications are also enabled, the same customer may receive multiple
notifications — disable one of them to avoid duplicates.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Happilee Abandoned Cart and Order notification for WooCommerce」是开源软件。 以下
人员对此插件做出了贡献。

贡献者

 *   [ happilee ](https://profiles.wordpress.org/happilee/)

[帮助将「Happilee Abandoned Cart and Order notification for WooCommerce」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/happilee-abandoned-cart-for-woocommerce)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/happilee-abandoned-cart-for-woocommerce/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/happilee-abandoned-cart-for-woocommerce/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/happilee-abandoned-cart-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/happilee-abandoned-cart-for-woocommerce/)。

## 更新日志

#### 1.0.2

 * Tested up to WooCommerce 11.1.2
 * Added: new feature for order notification for customer and shop owner
 * Improved: Customer country code is now detected locally with WooCommerce geolocation
   instead of the ipapi.co service, removing a slow external request from cart updates
 * Improved: The API key is no longer stored if the server cannot encrypt it (PHP
   OpenSSL required)

#### 1.0.1

 * Tested up to WooCommerce 10.9.4
 * Fixed: Phone number from cart prompt not applying correctly to the current abandoned
   cart

#### 1.0.0

 * Initial release of Happilee Abandoned Cart for WooCommerce
 * Added: WooCommerce abandoned cart tracking and reporting
 * Added: Happilee API integration with secure encrypted storage
 * Added: WhatsApp template message sending for cart recovery
 * Added: Template parameter mapping to WooCommerce cart data

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**4 天前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **7.1.3**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/happilee-abandoned-cart-for-woocommerce/)
 * 标签
 * [abandoned cart](https://cn.wordpress.org/plugins/tags/abandoned-cart/)[cart recovery](https://cn.wordpress.org/plugins/tags/cart-recovery/)
   [happilee](https://cn.wordpress.org/plugins/tags/happilee/)[whatsapp](https://cn.wordpress.org/plugins/tags/whatsapp/)
   [woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/happilee-abandoned-cart-for-woocommerce/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/happilee-abandoned-cart-for-woocommerce/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/happilee-abandoned-cart-for-woocommerce/reviews/)

## 贡献者

 *   [ happilee ](https://profiles.wordpress.org/happilee/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/happilee-abandoned-cart-for-woocommerce/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://happilee.io/pricing)