=== HTsend Live Chat & Team Inbox ===
Contributors: htsend
Tags: live chat, chat, customer support, woocommerce, chat widget
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.21
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Free live chat for WordPress and WooCommerce. Chat with visitors in real time and answer every message from one shared team inbox.

== Description ==

HTchat adds a fast, mobile-friendly live chat widget to your WordPress website. Visitors chat with you from any page, and you reply from the HTchat team inbox on your computer or phone.

Sign in once inside WordPress and the chat appears on your site automatically. There is no code to paste and no secret keys to copy.

= Features =

* Live chat widget on every page, including landing pages and WooCommerce stores.
* Shared team inbox with read receipts, typing indicators and message editing.
* See the page each visitor is on, where they came from and their device.
* Ask visitors for name, email and country before they chat.
* Common questions with instant answers.
* Image and file sharing.
* Email follow-ups when a visitor leaves before you reply.
* Works with WP Rocket, LiteSpeed Cache, WP Super Cache, W3 Total Cache and Cloudflare.

Widget design, page rules and all other settings are managed in your HTchat account.

== Installation ==

1. Go to Plugins → Add New, search for "HTsend Live Chat" and click Install, then Activate.
2. Open HTchat in the WordPress menu.
3. Sign in with your HTchat email and password (or create a free account at htchat.app).
4. The chat appears on your website automatically.

== Frequently Asked Questions ==

= Is HTchat free? =
Yes. HTchat is free during beta, with no card required.

= Where are my conversations stored? =
In your HTchat account. WordPress only stores the connection settings.

= Is my HTchat password stored in WordPress? =
No. It is sent once over HTTPS to sign in. WordPress keeps only a revocable connection token.

= Can I hide the chat on some pages? =
Yes. Choose pages in HTchat → Settings → Widget. Changes apply without updating the plugin.

= What happens when I uninstall? =
The plugin's settings are removed and the connection is revoked. Your HTchat account and chat history are kept.

== Screenshots ==

1. The HTchat live chat widget open on a website.
2. The shared team inbox with image sharing, read receipts and typing indicators.
3. One-click sign-in and connection inside WordPress admin.
4. Live visitors: see who is on your site and start a chat.
5. Widget settings: colours, launcher icon, business hours and common questions.

== External services ==

This plugin relies on the HTchat service (https://htchat.app), operated by HTchat, to work.

* On every front-end page it loads the chat widget script from https://htchat.app/widget.js with your public widget key. When a visitor uses the chat, their messages, the name/email/country they enter, the page address, browser and IP address are sent to HTchat so you can reply.
* In WordPress admin, when you sign in, check or disconnect the connection, your HTchat email and password (sign-in only, never stored), your site address, plugin version and WordPress version are sent to https://htchat.app/api/public/wp/.

Terms of Service: https://htchat.app/legal/terms
Privacy Policy: https://htchat.app/legal/privacy


== Changelog ==

= 1.0.21 =
* WooCommerce orders are now sent from your store to HTchat, so syncing works even when a firewall (such as Cloudflare) blocks incoming requests.

= 1.0.20 =
* Plugin renamed to HTsend Live Chat & Team Inbox for the WordPress.org directory. Sign-in, connection and all features are unchanged.

= 1.0.19 =
* Admin scripts moved to an enqueued file (no inline scripts).
* Front-end widget loaded only via wp_enqueue_script and wp_add_inline_script.
* Admin menu moved to position 65.

= 1.0.18 =
* SureCart and WP EasyCart: the HTchat inbox now shows customers, orders, paid status, refunds and products from these stores, the same way as WooCommerce (CartFlows and FunnelKit already work through WooCommerce).

= 1.0.17 =
* WooCommerce order sync: HTchat keeps an up-to-date list of your orders, and the store sends a short notice when an order is created, changed, trashed or deleted.

= 1.0.16 =
* WooCommerce customer card and product picker in the HTchat inbox (read-only, signed requests).

= 1.0.15 =
* Stability: no full-site cache wipes, no blocking checks on connect, shorter timeouts, cleaner script output for cache/minify plugins.

= 1.0.14 =
* Connects and verifies automatically; all settings now live in HTchat. Faster widget start.

= 1.0.13 =
* Widget now loads even with Cloudflare Rocket Loader and script optimizers.

= 1.0.12 =
* Clears page caches (WP Rocket, LiteSpeed, WP Super Cache, W3 Total Cache and more) automatically so the chat appears right away.
* Verify Installation works even when a firewall such as Cloudflare blocks outside checks.

= 1.0.11 =
* Display the HTchat logo clearly on the sign-in and connected screens.

= 1.0.10 =
* Added a Connection test that checks if your website can reach HTchat and explains network or server errors.
* After signing in the page reloads in place, so security plugins cannot block it.

= 1.0.9 =
* Instant sign-in with clear error messages under the button.
* Removed old connection links, codes and API key connection.

= 1.0.8 =
* Sign in with your HTchat email and password directly inside WordPress. Removed connection links and codes.

= 1.0.7 =
* New: connect instantly by pasting your HTchat API key — no redirects or expiring codes.

= 1.0.6 =
* Fixed: "link expired" screen after approving in HTchat (other plugins intercepted the return address). Connection now completes on any host.

= 1.0.5 =
* Connection now stays Connected on every host (no salt-based token encryption).
* Background checks never disconnect the site; only Disconnect does.
* Old forms refresh instead of showing "The link you followed has expired".

= 1.0.0 =
* First release.
