=== Velstack ===
Contributors: sammyfort
Tags: sms, woocommerce, notifications, chatbot, orders
Requires at least: 5.8
Tested up to: 7.1
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 SMS notifications for WooCommerce orders and add the Velstack chatbot to your site.

== Description ==

Velstack connects your WordPress site to your [Velstack](https://velstack.com) account.

**SMS notifications for WooCommerce**

* Text customers when they place an order and whenever its status changes.
* Alert the store owner by SMS when a new order comes in.
* Notify Dokan vendors when an order contains their products.
* Customize every message with placeholders such as `{customer_name}`, `{order_id}`, `{total}` and `{status}`.

**Chatbot**

* Add the Velstack chatbot widget to every page of your site with one switch. It uses your Velstack public key.

All settings live under the **Velstack** menu in your admin sidebar. WooCommerce is only needed for SMS order notifications.

== Installation ==

1. Install the plugin from **Plugins → Add New** by searching for "Velstack", or upload the plugin folder to `/wp-content/plugins/`.
2. Activate the plugin.
3. Open **Velstack → General** and enter the public and secret keys from your [Velstack dashboard](https://dashboard.velstack.com).
4. Open **Velstack → SMS Notifications** to set your sender ID and message templates.
5. Optionally, open **Velstack → Chatbot** and turn on the chatbot widget.

== External Services ==

This plugin connects to Velstack, a third-party service, to provide its features.

**SMS API**

* **What it is used for:** sending SMS notifications for WooCommerce orders.
* **Data sent:** the recipient's phone number, the message text (which can include the customer's first name, order number, order total and order status), your sender ID and your secret API key.
* **When:** when an order is placed and when an order's status changes, only for the notifications you have turned on.
* **Endpoint:** https://api.velstack.com

**Chatbot**

* **What it is used for:** showing the Velstack chat widget to your visitors.
* **Data sent:** when enabled, every page loads the chatbot script from https://cdn.velstack.com/chatbot.js with your public key. Visitors' browsers connect to Velstack to show the widget and send the messages they type.

Velstack [Terms of Service](https://velstack.com/tos) and [Privacy Policy](https://velstack.com/privacy).

== Frequently Asked Questions ==

= Do I need a Velstack account? =

Yes. Sign up at [velstack.com](https://velstack.com) to get your API keys and buy SMS credits.

= Do I need WooCommerce? =

Only for SMS order notifications. The chatbot works on any WordPress site.

= Can I customize the SMS messages? =

Yes. Every notification has its own template, and you can insert placeholders such as `{customer_name}` and `{order_id}` with one click.

== Screenshots ==

1. SMS notification settings.
2. API credentials.
3. Chatbot settings.

== Changelog ==

= 1.0.1 =
* Added plugin icons and banners.

= 1.0.0 =
* Initial release.


