=== Zavu Messaging ===
Contributors: zavu
Tags: sms, whatsapp, woocommerce, notifications, messaging
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

SMS and WhatsApp notifications for WooCommerce and forms. Connect once, turn on a recipe, and your store starts messaging in minutes.

== Description ==

Zavu connects your WordPress site to the Zavu messaging platform. One connection powers every notification:

* **Order updates to customers.** Confirmed and completed WooCommerce orders, sent by SMS today and automatically upgraded to WhatsApp once your WhatsApp Business account is active.
* **Owner alerts.** A message to your phone for every new order and every form lead (Contact Form 7, WPForms, Gravity Forms).
* **Consent built in.** An opt-in checkbox at checkout, on by default.
* **An activity log** with delivery statuses, and a dashboard widget with your monthly usage and balance.

Sends are queued in the background and never slow down your checkout. Every send carries an idempotency key, so duplicate hooks can never double-message a customer.

= External service =

This plugin sends data to the Zavu API (https://api.zavu.dev) to deliver messages on your behalf. Data transmitted: the recipient phone number, the message text you configured, and technical metadata (your site hostname, an idempotency key). Connecting requires a Zavu account. See the Zavu terms (https://zavu.dev/terms) and privacy policy (https://zavu.dev/privacy). No data is sent before you connect an account.

== Installation ==

1. Install and activate the plugin.
2. Open the Zavu page and click "Connect with Zavu" (or paste an API key from the dashboard).
3. Send yourself a test message.
4. Turn on the notification recipes you want.

== Frequently Asked Questions ==

= Do I need a paid plan? =

No. A free Zavu account includes starter credit, enough to try SMS notifications. Usage beyond the free tier is billed by Zavu, not by this plugin.

= Does it work with WhatsApp? =

Yes. Connect your WhatsApp Business account from the Zavu dashboard. Meta requires a payment method and template approval, which takes a few days; your notifications keep flowing by SMS in the meantime and upgrade automatically.

= Does it slow down my checkout? =

No. Messages are dispatched from a background queue (Action Scheduler when available), never inline in the request.

== Changelog ==

= 0.1.0 =
* First release: connect flow, SMS notifications for WooCommerce orders, owner alerts for orders and form leads, checkout opt-in, activity log, dashboard widget.
