=== ChatVendor ===
Contributors: chatvendor
Tags: live chat, crm, leads, woocommerce, sms, whatsapp
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 2.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect your site to ChatVendor: live chat, form leads, WooCommerce orders and SMS in one inbox.

== Description ==

One plugin connects your website to your ChatVendor workspace.

* Live chat widget on every page. Logged-in customers arrive with their name and e-mail.
* Form entries become conversations and sales leads. Works with Contact Form 7, WPForms, Gravity Forms, Fluent Forms, Ninja Forms and Elementor Forms. Name, phone, e-mail and message are found automatically, there is nothing to map.
* WooCommerce orders become leads, and customers are told about order status changes by SMS or WhatsApp.
* Optional: new site sign-ups as contacts.
* Send SMS from your own code through your Android phone.
* Nothing is lost when ChatVendor is unreachable: submissions are kept and retried every five minutes.

= For developers =

`chatvendor_submit_lead( array( 'source' => 'My form', 'name' => 'Ali', 'phone' => '+998901234567', 'message' => 'Hello' ) );`

`chatvendor_send_sms( '+998901234567', 'Your code is 1234' );`

Filters: `chatvendor_widget_active`, `chatvendor_form_submission`.

= Consent =

You are the sender. Message only people who agreed to hear from you, and honour opt-out requests.

== Installation ==

1. Upload the plugin and activate it.
2. Open ChatVendor in the admin menu and paste an API key from your dashboard.
3. On the Chat widget tab, create the chat for this site.

== Frequently Asked Questions ==

= Does it need Composer or other plugins? =

No. It uses the WordPress HTTP API and ships no third-party libraries.

= I used ChatVendor SMS before. =

Your settings are brought over on activation. You can deactivate and delete the old plugin.

== Changelog ==

= 2.0.0 =
* New: live chat widget, form leads for six form plugins, sign-ups, WooCommerce orders as leads, retry queue.
* The plugin is now called ChatVendor and covers more than SMS.

= 1.1.0 =
* SMS plugin: WooCommerce notifications, test message, activity list.
