Happilee Abandoned Cart for WooCommerce

Description

Happilee Abandoned Cart 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}})

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) and abandoned cart customer details (e.g., First Name, Last Name, Phone Number, Cart URL) 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 on cart abandonment

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 and no visitor IP is ever sent to ipapi.co unless the store admin has explicitly checked this box (in addition to configuring a valid API key and template). 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.

2. ipapi.co — Country code lookup

When a cart is abandoned and no country calling code is provided by the customer, and the data sharing consent above has been enabled, the plugin detects the visitor’s country calling code by sending the visitor’s IP address to ipapi.co.

Data sent: the visitor’s IP address.
When: only if the data sharing consent opt-in is enabled, and a phone number without an explicit country code needs to be resolved.
Why: to resolve the correct international phone dialling prefix (e.g. +44, +91) before sending the recovery message via Happilee.

The request is made to:
https://ipapi.co/{visitor_ip}/country_calling_code/

This service is provided by ipapi.co:
* Website: https://ipapi.co
* Terms of Service: https://ipapi.co/terms/
* Privacy Policy: https://ipapi.co/privacy/

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

Screenshots

Installation

  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

FAQ

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 setting up a template, 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 dropdown will only display templates that have the prefix wp_abnd_ in their name. Please ensure your cart recovery templates are named with this prefix in your Happilee dashboard.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Happilee Abandoned Cart for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

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