=== Octabiz Connect ===
Contributors: truthofmatthew
Tags: woocommerce, crm, invoicing, accounting, sync
Requires at least: 6.0
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

Connect your WooCommerce store to Octabiz. New orders create a customer and an invoice in your Octabiz account.

== Description ==

Octabiz Connect links your WordPress and WooCommerce store to [Octabiz](https://octabiz.ai), an all-in-one business platform (CRM, invoicing, inventory, accounting, and more).

When a WooCommerce order is placed, the plugin creates the customer and an invoice in your Octabiz account, so your sales flow into one place without manual re-entry.

* Enter your Octabiz API key and test the connection.
* Turn WooCommerce order sync on or off.
* Each order is synced once and linked to its Octabiz invoice.

= External service =

This plugin is an interface to Octabiz, a paid third-party software-as-a-service product. It is not usable without an Octabiz account.

When order sync is enabled, the plugin sends order and customer data (name, email, phone, company, and order line items) to the Octabiz API at `https://api.octabiz.ai`. Data is sent only for stores that have entered a valid Octabiz API key, and only for the events you enable.

* Service: Octabiz — https://octabiz.ai
* Terms of Service: https://octabiz.ai/terms
* Privacy Policy: https://octabiz.ai/privacy

== Installation ==

1. Install and activate the plugin.
2. Go to **Settings > Octabiz Connect**.
3. In Octabiz, open **Settings > API keys**, create a key (it starts with `oc_live_`), and paste it in.
4. Click **Test connection**.
5. If you use WooCommerce, turn on **Sync WooCommerce orders**.

== Frequently Asked Questions ==

= Do I need an Octabiz account? =

Yes. Octabiz Connect sends data to your Octabiz account and does nothing without a valid API key.

= What permissions does the key need? =

At least the ability to create customers and invoices. You choose a key's permissions when you create it in Octabiz.

= Is order data sent anywhere else? =

No. Data goes only to the Octabiz API using your key, and only when you enable order sync.

== Screenshots ==

1. The Octabiz Connect settings screen: paste your API key, test the connection, and turn on WooCommerce order sync.

== Changelog ==

= 1.0.1 =
* Enqueue the settings-page script with wp_enqueue_script instead of an inline tag.

= 1.0.0 =
* Initial release: API key connection, connection test, and WooCommerce order to Octabiz customer + invoice sync.
