=== SMSIdea Order Notifier for WooCommerce ===
Contributors: konceptwise
Tags: woocommerce notifications, whatsapp message, whatsapp notification, order alerts, ecommerce notifications
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.7
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Send WooCommerce order notifications to customers when order status changes.

== Description ==
Send WooCommerce order notifications to customers via WhatsApp numbers using SMSIdea messaging services. No WhatsApp Business API is required.

This plugin allows store owners to automatically send order status updates from their WooCommerce store directly to a customer’s WhatsApp account using their billing phone number. It works with regular WhatsApp numbers and does not require WhatsApp Business API or Meta Cloud API integration.

The plugin uses SMSIdea messaging services (https://www.smsidea.com/) operated by **Konceptwise Digital Media Pvt. Ltd.**

**How It Works:**
- Connect your `wa.smsidea.com` API key
- Enable the WooCommerce order statuses you want to notify customers about
- Messages are sent to the customer’s billing phone number
- Works with normal WhatsApp numbers (with country code)

**Key Features:**
- Send WooCommerce order notifications to WhatsApp numbers
- No WhatsApp Business account required
- Supports multiple WooCommerce order statuses
- API key validation with test message option
- Customizable message templates per order status

**Video Tutorial: How to Use SMSIdea Order Notifier for WooCommerce Plugin**

https://youtu.be/vXs9clDV2_g

**Supported Order Statuses:**
- Processing
- Completed
- Cancelled
- Failed
- Refunded
- On-hold
- Pending

**Terms & Conditions:** https://wa.smsidea.com/Tearms_Condition.aspx  
**Privacy Policy:** https://wa.smsidea.com/Privacy_Policy.aspx

**Important:**  
This plugin is **not affiliated with, endorsed by, or officially supported by WooCommerce, Automattic, WhatsApp, or Meta**. It is an independent third-party integration that enables WooCommerce order notifications using SMSIdea messaging services.

== Company Information ==
**Konceptwise Digital Media Pvt. Ltd.** is the parent company that officially develops and maintains this plugin.

SMSIdea, Jalpi, and Authyo are products under Konceptwise Digital Media Pvt. Ltd.

== API ==
- Verify: `GET /api/v1/GetConnectionStatus?key=YOUR_API_KEY`
- Send Text: `GET /api/v1/sendMessage` with query parameters `{ key, to, message, IsUrgent: true }`
- Send Media: `POST /api/v1/sendMedia` with JSON `{ key, to, url, filename, IsUrgent: true, caption: "message text" }`

== Country Code ==
- Always include country code (e.g., `+91XXXXXXXXXX` or `91XXXXXXXXXX`)
- If an order does not contain a valid international number, the plugin skips sending and adds an order note

== Installation ==
1. Upload the plugin folder to `/wp-content/plugins/smsidea-order-notifier-for-woocommerce/`
2. Activate the plugin
3. Go to **Order Notifier → Setup**, paste your API key
4. Test the connection and send a test message (with country code)
5. Configure notifications under the **Notifications** tab

== Frequently Asked Questions ==
= Does this send messages to the admin? =
No. Messages are sent only to the customer’s billing phone number.

= Can I customize message templates? =
Yes. Templates can be customized per order status. Supported tags:
`{order_number}`, `{order_total}`, `{status}`, `{billing_name}`

= Does this work with multisite? =
Yes. The plugin fully supports WordPress multisite installations.

== Changelog ==
= 1.0.7 =
* Performance improvements.

= 1.0.6 =
* Added Video Tutorial.
* Updated version to 1.0.6.

= 1.0.5 =
* Performance improvements.

= 1.0.4 =
* Added Text + Media WhatsApp Message support (images, videos, PDFs)
* Media upload support per order status
* Improved API integration and logging
* Enhanced user experience with previews and validation

= 1.0.3 =
* Added YouTube setup tutorial
* Bug fixes and code improvements

= 1.0.2 =
* Added deactivation feedback modal

= 1.0.1 =
* Enhancements and code quality improvements

= 1.0.0 =
* Initial release

== Upgrade Notice ==
= 1.0.7 =
Performance improvements.

= 1.0.6 =
Video tutorial added and version updated.

= 1.0.5 =
Performance improvements for better efficiency.

= 1.0.4 =
Major update with media messaging support.

== Support ==
**Support Email:** support@smsidea.co.in  
**Contact Page:** https://smsidea.com/contact/  
**Response Time:** 24–48 hours (business hours)

For SMSIdea API or account-related issues, please contact SMSIdea support directly.