== Changelog ==
= 2.0.17 - 2026-03-17 =
* File updates were made following internal testing.
= 2.0.16 - 2025-07-09 =
* Strengthened data handling across the entire plugin to prevent potential injection vulnerabilities.
= 2.0.15 - 2025-07-08 =
* Updated plugin codebase to ensure all function, class, constant, namespace, and option names use unique and consistent prefixes, avoiding common or reserved prefixes to prevent conflicts with other plugins and WordPress core.
* Refactored all AJAX hooks, functions, and class names to include the custom plugin prefix for improved compatibility and maintainability.
* Revised plugin metadata and readme to reduce keyword stuffing by shortening plugin name and removing excessive keyword repetition, in compliance with WordPress.org guidelines.
= 2.0.14 - 2025-07-08 = 
* Plugin updated and fully compliant with WordPress guidelines following the official plugin review process.
* Improved security by adding nonce verification and proper sanitization/escaping across all inputs and outputs.
* Fixed multiple code quality warnings reported by WordPress Plugin Check to ensure better stability and security.
* Enhanced codebase to meet WordPress.org plugin repository requirements and best practices.
= 2.0.13 - 2025-07-07 = 
 * Removal of brand, logo and other elements at the company’s request.
= 2.0.12 - 2025-07-03 = 
* QuickWizard: Debug for users running older versions of PHP.
* QuickWizard: Simplified the process for testing TEST messages for SMS and other channel; now two separate buttons are available to independently test each sending channel (SMS or other channel).
* QuickWizard: The log of test messages is now available in the sending history.
* Rules: Debugged and stabilized the module; it is now stable according to the plugin version you are using.
* Rules management : debug for users of user using older version of PHP
= 2.0.11 -  2025-07-01 =
* Update of the quickstart page to make it easier to set up the service during the first installation
* Debugged the button used to send a message to a user; the popup now displays correctly.
= 2.0.10 -  2025-06-24 =
* New: In addition to connecting your mobile device to send SMS, you can now connect external SMS services like Twilio, MessageBird, and more — or even link your own custom SMS Gateway to send messages directly!
= 2.0.9 -  2025-06-20 =
* In the sent message log, it is now possible to see the content of the message sent to the customer (available for future orders placed or processed) starting from version 2.0.9 of the plugin.
* In the sent message log, if there is an error, the type of error is now displayed next to the date and time.
* In the sent messages log, a color code allows you to differentiate messages sent successfully from those with errors.
* The log now displays the last 90 entries, whereas previously it showed only 30.
* Default order confirmation and status messages are now automatically translated and installed in the fosllowing languages when activating the plugin: English, French, Arabic, Spanish, German, Hindi, Italian, Japanese, Portuguese, Russian, Chinese
* By default, the plugin is available in English, but new languages are available : 
* Plugin translated into French
* Plugin translated into Italian
* Plugin translated into Spanish
* Plugin translated into Portuguese
* Plugin translated into German
* Plugin translated into Russian
* Plugin translated into Arabic
* Plugin translated into Chinese
* Plugin translated into Japanese 
* Plugin translated into Hindi
= 2.0.8 -  2025-06-20 =
* Update of the META_KEY and META_VALUE retrieval at multiple levels to be able to fetch all the information of an order.
= 2.0.7 -  2025-06-18 =
* Fixed a critical error that occurred on the order confirmation page with certain versions of WooCommerce.
* Resolved a logging issue where some WooCommerce versions misinterpreted the delivery status, causing false "failed" reports after sending a message.
* Improved log clarity: when a message is sent related to a new order, the log now explicitly states it is linked to a new order (whether SMS or other channel).
= 2.0.6 -  2025-03-03 =
* New Feature: You can now use any [meta_key] from the order's post_meta, including all custom fields, in your SMS messages. 
= 2.0.5 -  2025-02-25 = 
* Modification of the welcome message during the plugin's first visit.
* Highlighting the connection status with the phone and ease of creating a new account
= 2.0.4 -  2025-02-10 = 
* Highlighting the version of the plugin used for better understanding with technical support
= 2.0.3 - 2025-01-31 =
* New Features
*Support Request Feature
-New! You can now send support requests directly from the plugin interface.
-Navigate to the Support Request section, enter your message, and click Send Request – it's that easy!
*Custom Rules for SMS & other channel Notifications
-Introducing a powerful rule-based system! Automate SMS and other channel notifications based on custom conditions.
-Custom Rules Panel – Create unlimited rules with flexible conditions.
-Trigger on Order Status Change – Define rules based on WooCommerce order statuses (e.g., Processing, Completed, Refunded).
-Dynamic Conditions – Compare order values like total price, customer email, shipping method, etc.
-Multiple Conditions Per Rule – Example: "Order Total > $100" AND "Shipping Method = Express".
-Automated Message Sending – If all conditions match, a customized SMS/other channel message is sent.
-Enable/Disable Rules – Toggle individual rules ON/OFF from the admin panel.
-Real-Time Updates – Rules apply instantly when order statuses change.
-Smart Logs – Track message history and rule execution for better debugging.
*Order Status-Based Message Management
-Added checkboxes next to each order status to enable/disable message sending, instead of leaving the message field empty.
*Added Support for Additional WooCommerce Order Statuses:
-Checkout Draft (WooCommerce 8.1+) – Orders still in checkout, not completed.
-Shipped – Status added by shipping plugins when an order is dispatched.
-Delivered – Used when an order has been received by the customer.
-Partially Refunded – Indicates a partial refund of the order total.
-Returned – Status for orders sent back by the customer.
-Awaiting Payment – Used by payment gateways or invoice-based payments.
-Pre-Order – Differentiates pre-ordered products from regular orders.
-Invoiced – Status used by invoicing/accounting plugins for processed orders.
*Check Order Feature
-New! The "Check Order" menu allows retrieving complete order data to facilitate rule creation.
-Simply enter an existing order number, and the full order details will be displayed, helping you understand the structure.
*Enhanced Placeholder Support
-27 New Placeholders!
-Now, a total of 51 placeholders are available for message customization.
*Improved User Experience
-Better Tips & Placeholder Highlights – Making it easier to use and customize messages.
-User-Friendly Checkboxes – Enable/disable customer notifications with checkboxes instead of leaving fields empty.
-Modern Icons Added – Improved visual layout for a sleek, modern look.
= 2.0.2 -  2025-01-28 =
* Debugging regarding the phone number sometimes being marked as missing
* Rewriting all logs in English
= 2.0.1 - 2025-01-08 =
*New Features & Improvements
- Updated the test message sent when the "Test" button is clicked to enhance clarity.
- Added the ability to send other channel messages directly from your own other channel account.
- New option to choose between sending an SMS, a other channel message, or both simultaneously.
- Introduced a new "other channel Config" menu to provide detailed guidance on setting up the integration between WooCommerce and SMSMobileAPI.
- Added a dedicated log to differentiate between sent SMS and other channel messages.
- Expanded API testing capabilities to include other channel in addition to SMS.
*User Experience Enhancements
- Debugged the "Send Message" button, allowing users to send messages directly to customers more reliably.
- Enabled sending other channel messages directly to customers from the user list.
- New functionality to choose between sending an SMS, a other channel message, or both from the same interface in the user list.
- Added a "Subscription" menu to manage API subscriptions directly within the plugin.
*Advanced Messaging Features
- Introduced 23 new placeholders derived from WooCommerce order data. These include details like order totals, customer contact information, and more, to enhance message personalization.
*Bug Fixes
- Resolved various minor bugs to improve the plugin's overall stability and performance.
*Performance Improvements
- Optimized the plugin's workflow for seamless integration and enhanced speed when managing large volumes of messages.
= 1.1.0  - 01-11-2024 =
* New Feature: Added the ability to send SMS from the user listing via a "Send SMS" button.
* New Feature: Log: Detection if the file has write permissions or not.
* New Feature: Upon order confirmation by the customer, there is a check to verify if the SMS has already been sent to avoid multiple SMS sends in case of a page refresh.
* New Feature: Upon order confirmation by the customer, a comment is added to the order to confirm the SMS has been sent.
* Bug Fix: Resolved the API connection issue for SSL.
= 1.0.0 - 01-10-2024 =
* Initial version of the plugin.
