=== Tabsy for WooCommerce ===
Contributors: tabsy
Tags: woocommerce, receipts, digital receipts, loyalty, pos
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
WC requires at least: 7.0
WC tested up to: 10.9
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Send paid WooCommerce orders to Tabsy as digital receipts, linked to each shopper by their Tabsy member code, email, or phone.

== Description ==

Tabsy for WooCommerce sends every paid order to your Tabsy account as a digital
receipt, and links it to the shopper automatically.

Connect it in one step: install the plugin, then paste your Tabsy Webhook URL and
Secret (from your Tabsy Retailer Portal) into **WooCommerce &rarr; Tabsy**. The
plugin registers the required WooCommerce webhooks for you.

**How a customer gets linked (in priority):**

1. **Tabsy member code** &mdash; entered in the "Tabsy member code" field this plugin adds to
   your checkout and order screen, or via a staff order note containing `TABSY:CODE`
   (added before the order is completed).
2. **Billing / shipping email.**
3. **Billing / shipping phone.**

If nothing matches, the receipt is still stored and the shopper can claim it later
by email.

This plugin requires a Tabsy account (see https://tabsyapp.com) and WooCommerce.
It communicates only with the Tabsy webhook endpoint you configure &mdash; nothing else.

== Installation ==

1. Upload and activate the plugin (Plugins &rarr; Add New &rarr; Upload Plugin), or install
   from the WordPress plugin directory.
2. In your Tabsy Retailer Portal, go to Integrations &rarr; WooCommerce &rarr; Connect and
   copy the Webhook URL and Secret.
3. In WordPress, go to **WooCommerce &rarr; Tabsy**, paste both, and click "Save & connect".

That's it &mdash; paid orders now sync to Tabsy.

== Frequently Asked Questions ==

= Do I need a Tabsy account? =
Yes. Tabsy is a digital-receipt and loyalty platform. Sign up at https://tabsyapp.com
and connect WooCommerce from your Retailer Portal.

= How does a customer get their receipt? =
When an order is paid, Tabsy matches it to the shopper by their member code (from the
Tabsy field or a `TABSY:` order note), email, or phone, and the receipt appears in
their Tabsy account.

= Does it work with the block checkout and HPOS? =
Yes. The member-code field is added to both the classic and block checkout, and the
plugin declares High-Performance Order Storage compatibility.

== Changelog ==

= 1.0.0 =
* Initial release: one-click webhook connection, "Tabsy member code" field on
  checkout and the order screen, and a staff order-note reader.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
