=== Chatixy - AI Customer Service Chat ===
Contributors: chatixy
Tags: chat, ai chat, live chat, chatbot, support
Requires at least: 5.3
Tested up to: 7.0
Requires PHP: 7.0
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add the Chatixy AI chat widget to your WordPress site in seconds - no code. Paste your widget key, connect, and you're live.

== Description ==

Chatixy is an AI chat widget that answers your visitors' questions instantly,
trained on your own website and knowledge base. This official plugin puts that
widget on your WordPress site with **zero code**.

1. Install and activate the plugin.
2. Go to **Settings → Chatixy AI Chat**.
3. Click **Connect with Chatixy** - sign in, approve, and your widget key is
   filled in automatically (no copy-paste). Or paste your **widget key**
   manually if you prefer.
4. Done. The chat goes live on every page.

Works with any theme and with **WooCommerce** stores. You manage the bot's
appearance, knowledge, and your subscription in the Chatixy dashboard - this
plugin just connects your site to it.

You need a Chatixy account (https://chatixy.com). Chatixy is a paid subscription
(plans start at EUR 19/month and every plan includes a 7-day free trial); this
plugin is the connector and is free and GPL-licensed. Pricing, plans and billing
are managed in your Chatixy dashboard, not in WordPress.

== External services ==

This plugin connects to Chatixy (https://chatixy.com), the AI chat service it
is a client for:

* When you click "Connect with Chatixy" it sends you to
  `https://chatixy.com/connect` to approve, then exchanges a one-time token
  at `https://chatixy.com/api/v1/integrations/connect/exchange` for your
  widget key.
* On the settings screen it calls `https://chatixy.com/api/v1/widget/verify/<your-key>`
  to confirm your widget key is valid and show the connected bot's name.
* On your site's front end it loads `https://chatixy.com/source/<your-key>.js`,
  the widget loader, which renders the chat for your visitors.

No data is sent to Chatixy until you add your widget key. Once the widget is
live, visitor chat messages are processed by Chatixy to generate replies. Your
use of the service, and how that data is handled, is governed by Chatixy's terms
and privacy policy:

* Terms of Service: https://chatixy.com/terms
* Privacy Policy: https://chatixy.com/privacy

== Installation ==

1. Upload the `chatixy-ai-customer-service-chat` folder to `/wp-content/plugins/`, or install via
   **Plugins → Add New → Upload Plugin**.
2. Activate the plugin.
3. Go to **Settings → Chatixy AI Chat** and click **Connect with Chatixy**
   (or paste your widget key manually).

== Frequently Asked Questions ==

= Where do I find my widget key? =

In your Chatixy dashboard under **Widgets**. Open the widget and copy its key
(it's a 64-character string). You can also paste the whole embed snippet - the
plugin extracts the key for you.

= Does it work with WooCommerce? =

Yes. WooCommerce runs on WordPress, so the same plugin works on your store.

= Will it slow down my site? =

No. The widget loads asynchronously in the footer and never blocks your page.

= How do I hide the chat on certain pages? =

Use the `chatixy_should_render` filter and return `false` for those views.

= Is this plugin free? Do I need a paid account? =

The plugin itself is free and GPL-licensed - it is the connector. To use it you
need a Chatixy account, which is a paid subscription (plans start at EUR 19/month
and every plan includes a 7-day free trial). Pricing, plans and billing are
managed in your Chatixy dashboard, not in WordPress.

== Screenshots ==

1. Settings → Chatixy AI Chat - click "Connect with Chatixy" for a one-click
   setup, or paste your widget key. Once connected it shows "Connected to «your
   bot». Your AI chat is live."

== Changelog ==

= 1.0.1 =
* Accurate connection status: when your Chatixy plan or free trial is not
  active yet, the settings page now says the chat is not live and links to
  your Chatixy dashboard to start the trial (previously it could claim the
  chat was live while the widget stayed off).
* Clearer path to create an account: the widget key field now links new users
  to Chatixy account creation.

= 1.0.0 =
* Initial release: paste widget key, verify connection, inject the Chatixy AI
  chat widget site-wide.

== Upgrade Notice ==

= 1.0.1 =
The settings page now reports accurately when your plan or trial is not active
yet (instead of claiming the chat is live), and links new users to account
creation.

= 1.0.0 =
First public release of the official Chatixy AI Chat plugin.
