=== ParallelPOS Connector ===
Contributors: parallelpos
Tags: pos, woocommerce, inventory, publishing, point of sale
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect WordPress to ParallelPOS: publish Marketing Hub posts to your blog, sync catalog and stock with WooCommerce, and embed your store.

== Description ==

ParallelPOS Connector pairs your site with your ParallelPOS account in one step and does three jobs:

* **Blog publishing** — posts written in the ParallelPOS Marketing Hub are published to your WordPress blog automatically (as published posts, or as drafts for review — your choice).
* **WooCommerce sync** — your ParallelPOS product catalog and live stock levels flow into WooCommerce, and WooCommerce orders flow back into ParallelPOS as web orders. Products match by SKU, so re-syncs update instead of duplicating.
* **Store & booking embeds** — the `[parallelpos_store]` and `[parallelpos_booking]` shortcodes drop your ParallelPOS ordering portal or booking page onto any WordPress page.

= How pairing works =

On activation the plugin mints a random **Site key** (Settings → ParallelPOS). Paste your site address and that key into ParallelPOS under *Marketing → Channels → WordPress*. Every request from ParallelPOS carries the key and is verified with a constant-time comparison. The plugin never sends data out on its own — traffic flows one way, in, over HTTPS. Regenerating the key instantly revokes the old pairing.

= Requirements =

* A ParallelPOS account (parallelpos.com)
* WooCommerce is optional — needed only for the catalog/order sync

== Installation ==

1. Install and activate the plugin.
2. Open **Settings → ParallelPOS** and copy the Site key.
3. In ParallelPOS, open **Marketing → Channels → WordPress**, paste your site address and the key, and press Connect.
4. Optional: paste your ParallelPOS ordering-portal link into *Store page URL* and put `[parallelpos_store]` on a page.

== Frequently Asked Questions ==

= Do I need WooCommerce? =

Only for the catalog/stock/order sync. Blog publishing and the embeds work without it.

= What data leaves my site? =

None on the plugin's initiative. ParallelPOS calls in (with your key) to publish posts, upsert products, and collect new orders. The plugin never makes outbound calls to ParallelPOS.

= How do I disconnect? =

Regenerate the Site key (Settings → ParallelPOS) or deactivate the plugin. Either one stops all access immediately.

== Changelog ==

= 1.0.0 =
* Initial release: blog publishing, WooCommerce catalog/stock/order sync, store & booking shortcodes.
