=== Waply - Order Notifications for WooCommerce ===
Contributors: arydianprtma, waply
Donate link: https://waply.web.id
Tags: woocommerce, notification, order notification, alerts, messaging
Requires at least: 5.6
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Send automated order notifications and alerts for WooCommerce in real-time using Waply Gateway API.

== Description ==

**Waply - Order Notifications for WooCommerce** connects your WooCommerce store directly with the **Waply Gateway** (https://waply.web.id).

Send automated order confirmation messages, bank transfer instructions, payment receipts, tracking updates, and store owner alerts directly to customers in real-time.

### ✨ Key Features:
* **Real-time Order Alerts:** Instant notifications when order statuses change (Pending, Processing, Completed, Cancelled).
* **Admin Notifications:** Receive alerts on the store owner's personal number whenever a new order is placed.
* **Anti-Ban Spintax Support:** Use spintax variations such as `{Hello|Hi|Greetings}` to keep each outgoing message unique.
* **Auto-Rotate Multi-Device:** Connect multiple devices in Waply to distribute delivery load evenly.
* **Comprehensive Dynamic Variables:** Personalize messages with `{{name}}`, `{{first_name}}`, `{{order_id}}`, `{{total}}`, `{{items}}`, `{{payment_method}}`, and `{{store_name}}`.
* **WooCommerce HPOS Compatible:** Fully compliant with High-Performance Order Storage (HPOS) in WooCommerce 8.0+.
* **Built-in Test Sender:** Test your API credentials and delivery directly from the settings page.

== Installation ==

1. Upload the `waply-order-notifications-for-woocommerce` folder to your `/wp-content/plugins/` directory, or upload the `.zip` archive via **Plugins > Add New > Upload Plugin** in your WordPress dashboard.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Navigate to **WooCommerce > Waply Notifications**.
4. Enter your **Waply API Key** from your Waply Dashboard (https://waply.web.id/dashboard/api-keys).
5. Customize your message templates as needed and click **Save Settings**.

== Frequently Asked Questions ==

= Do I need a Waply account? =
Yes, this plugin requires an API Key from Waply. A free trial is available at https://waply.web.id.

= Does it automatically format customer phone numbers? =
Yes, local phone formats starting with 08... are automatically converted to standard international format (628...) before sending.

= Does it support Spintax? =
Yes, you can write Spintax patterns such as `{Hello|Hi|Good day}` inside your message templates.

== Screenshots ==

1. Waply settings page inside WooCommerce.
2. Sample automated order notification received by a customer.

== Changelog ==

= 1.0.0 =
* Initial release of Waply - Order Notifications for WooCommerce.
* Full WooCommerce HPOS compatibility.
* Built-in test message sender.
* Spintax and auto-rotate multi-device support.
