=== KhudeBarta Order Notify ===
Contributors: hrhasib1971
Donate link: https://www.weshareit.com.bd
Tags: bdsms, woocommerce, order status, order notification, khudebarta
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.2
Stable tag: 2.1.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Send SMS via KhudeBarta API and notify customers automatically when WooCommerce order statuses change.


== Description ==

KhudeBarta Order Notify is an advanced SMS integration plugin for WooCommerce.  
It allows you to:

✔ Send SMS using **KhudeBarta Bulk SMS API**  
✔ Automatically notify customers for **order status updates**  
✔ Customize SMS templates  
✔ Send test SMS from admin panel  
✔ Replace placeholders like #NAME# and #ORDER_ID#  
✔ Enable/Disable SMS per status  
✔ Works with any WooCommerce-based store  

This plugin is developed by **HR Hasib (We Share IT)** — 
a professional IT agency specializing in Facebook marketing, 
design, video ads, website development & corporate caller tune services.

== Features ==

* Send SMS manually from dashboard  
* WooCommerce automatic order notifications  
* Custom SMS template editor  
* Separate SMS for each order status  
* API Key, Secret Key & Caller ID support  
* Multiple numbers supported (separate by semicolon ;)  
* Lightweight, fast & secure

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`
2. Activate the plugin through the “Plugins” menu in WordPress
3. Go to **KhudeBarta SMS → Settings**
4. Enter:
   - API Key  
   - Secret Key  
   - Caller ID  
   - Base URL (default provided)
5. Go to “Order Notify” to customize SMS templates

== Frequently Asked Questions ==

= Which SMS Gateway does it support? =  
Only **KhudeBarta Bulk SMS API**.

= Does it work with WooCommerce? =  
Yes. WooCommerce must be installed and active.

= Can I customize the SMS text? =  
Yes. Every status has its own editable SMS template.

= Can I send SMS to multiple numbers? =  
Yes. Use semicolon `;` to separate numbers.

== Screenshots ==

1. Admin Settings Page  
2. SMS Test Sender  
3. WooCommerce Order Notification Settings 

== Changelog ==

= 2.1.4 =
* Fixed order SMS not sending issue
* Improved phone number normalization (auto add 88 for Bangladesh numbers)
* Enhanced WooCommerce order status hooks
* Improved stability for checkout and order processing
* Minor UI and performance improvements

= 2.1.0 =
* Added improved AJAX response
* Cleaner UI for admin pages
* Improved template editor
* Stability improvements
* Security enhancements

= 2.0.0 =
* Added WooCommerce auto SMS notify
* Added template placeholders (#NAME#, #ORDER_ID#)

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 2.1.4 =
Update to fix order SMS delivery issues and improve phone number handling for Bangladesh.

Update to the latest version for improved reliability, UI changes and security updates.