=== WA Gateway – WhatsApp Notifications & OTP ===
Tags: whatsapp, woocommerce, notifications, otp, sms
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later

Send WhatsApp messages from WordPress and WooCommerce through WA Gateway.

== Description ==

* WooCommerce: a WhatsApp message to the customer for each order status (processing, completed, cancelled …) with your own templates
* WooCommerce: new-order alert to your own WhatsApp numbers
* Phone verification with a WhatsApp code: shortcode [wag_verify_phone]
* Test connection, test message and a send log
* Developer functions: wag_send_message(), wag_send_otp(), wag_verify_otp(), wag_user_phone_verified()

== Installation ==

1. Plugins → Add New → Upload Plugin → choose wa-gateway.zip → Install → Activate.
2. Settings → WA Gateway → paste the API key from https://wa.naogaonit.com/dashboard#/api-keys → Save.
3. Click "Test connection" and "Send test message".
4. WooCommerce tab: switch on the order statuses you want and adjust the texts.

== Developers ==

`wag_send_message( '8801712345678', 'Hello!' );`
`$otp = wag_send_otp( $phone, 'login' ); $check = wag_verify_otp( $otp['otp_id'], $code );`
Action: `wag_phone_verified( $phone, $user_id )` · Filter: `wag_woo_placeholders( $vars, $order )`

== Changelog ==

= 1.0.0 =
* First release.
