=== Mehdi Order Alerts with Telegram for WooCommerce ===
Contributors: mehdi4467
Tags: telegram, notifications, alerts, woocommerce
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Send Telegram alerts for new WooCommerce orders with a simple queue, logs, and retry support.

== Description ==

Mehdi Order Alerts with Telegram for WooCommerce helps store owners receive a Telegram notification when a new WooCommerce order is placed.

Free version features:

* New order notifications
* Telegram bot token and chat ID settings
* Send test message
* Delivery queue and retry system
* Logs and queue viewer

This free edition focuses on one job: notifying the store owner about new orders as simply as possible.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/mehdi-order-alerts-for-woocommerce-with-telegram` directory, or install the plugin through the WordPress plugins screen.
2. Activate the plugin through the `Plugins` screen in WordPress.
3. Open `Mehdi Order Alerts` in the admin menu.
4. Enter your Telegram bot token and chat ID.

== Frequently Asked Questions ==

= Does the free version support all notification types? =

No. The free version focuses on new order alerts.

= Where are the settings stored? =

The plugin stores its settings in the WordPress database.

== External services ==

This plugin connects to the Telegram Bot API to deliver notifications.

It sends data to Telegram only when:

* You click the test message button in the plugin settings.
* A new WooCommerce order notification is queued and processed for delivery.

Data sent to Telegram may include:

* The bot token configured by the site administrator.
* The target chat ID configured by the site administrator.
* The notification message text.
* New order details included in the message, such as the order number, customer name, phone number, order total, item summary, and order admin link.

This service is required so the plugin can send Telegram notifications to the destination selected by the site owner.

Telegram Terms of Service: https://telegram.org/tos
Telegram Privacy Policy: https://telegram.org/privacy

== Changelog ==

= 1.0.1 =

* Improved setup guidance and Chat ID detection flow.

= 1.0.0 =

* Initial release.
