=== SMSCY SMS Notifications ===
Contributors: smscy
Tags: sms, woocommerce, order notifications, contact form 7, sms alerts
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Send SMS from WordPress through your SMSCY account: WooCommerce order updates, new-order alerts and contact-form alerts.

== Description ==

Connect your site to your SMSCY account (dash.smscy.com). Every SMS is sent through the SMSCY API and uses the SMS balance of that account.

* **Order updates to customers** – choose which WooCommerce statuses send an SMS (Processing, Completed, Cancelled, custom statuses…) and write a message for each.
* **New-order alerts to the admin** – an SMS as soon as an order is placed, plus optional alerts when orders reach chosen statuses.
* **Contact-form alerts to the admin** – Contact Form 7, WPForms, Gravity Forms, Elementor Pro Forms, Fluent Forms and Ninja Forms.
* **Send SMS** page and a **Send SMS** box on every order.
* **SMS log** with the SMSCY response for every message, search, and one-click resend.
* Shows your remaining SMSCY balance in the settings and on the dashboard.
* Greek and other non-Latin text is sent as Unicode automatically.
* Compatible with WooCommerce HPOS and the block checkout. Order SMS are sent in the background with Action Scheduler so checkout is not slowed down.

== Installation ==

1. Upload the `smscy-sms` folder to `/wp-content/plugins/` (or upload the zip from Plugins → Add New → Upload) and activate it.
2. Log in to https://dash.smscy.com, open **Developers** and copy your API token.
3. In WordPress open **SMSCY SMS → Settings**, paste the token, enter your approved **Sender ID** and your admin phone number(s), then save. The status bar shows your remaining balance when the connection works.
4. Adjust the messages on the **WooCommerce** and **Contact forms** tabs.

== Frequently Asked Questions ==

= Whose credits are used? =
The SMS balance of the SMSCY account whose API token is saved in the settings.

= Which phone number format should customers use? =
Any. Numbers starting with + or 00 are used as they are; others get the calling code of the order's billing country (or the default country code from the settings).

= Available placeholders =
Orders: {first_name} {last_name} {order_number} {order_id} {order_status} {order_total} {order_date} {items} {billing_phone} {billing_email} {billing_city} {shipping_method} {payment_method} {tracking_number} {order_url} {site_name}

Contact forms: {form_name} {form_id} {fields} {field:NAME} {date} {site_name}

== Changelog ==

= 1.0.0 =
* First release.
