=== Fulnex Order Sync ===
Contributors: fulnex
Tags: woocommerce, orders, sync, webhook, inventory
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
Requires Plugins: woocommerce

Pushes new and updated WooCommerce orders to your Fulnex account the instant they happen, instead of waiting on a polling cycle. Requires an existing Fulnex account.

== Description ==

**Fulnex Order Sync** connects your WooCommerce store to your [Fulnex](https://fulnex.cloud) warehouse account and pushes every new or updated order the moment it happens, instead of waiting for the next scheduled sync.

= How it works =

1. In your Fulnex account, go to Portals and click "Connect via Plugin" to get a short pairing code.
2. Install this plugin and paste the code in under WooCommerce → Fulnex Order Sync.
3. From then on, every new order and every order status change is pushed to Fulnex automatically, in the background — checkout is never slowed down.

= Do I need a Fulnex account? =

Yes. This plugin is a connector for the Fulnex platform and has no function on its own without an active Fulnex account. It does not add any features to your WooCommerce store by itself.

= What this plugin does NOT do =

It's a one-way push: order data leaves your store and goes to Fulnex. It doesn't change any of your orders, products, or settings, and it doesn't require your existing WooCommerce REST API keys — pairing uses its own short-lived code and a separate secret specific to this connection.

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/fulnex-order-sync`, or install directly through the WordPress plugins screen.
2. Activate the plugin. You'll be taken straight to the settings page.
3. Get a pairing code from your Fulnex account (Portals → Connect via Plugin) and paste it in.

== Frequently Asked Questions ==

= Does this slow down checkout? =

No. The push to Fulnex happens in the background (a non-blocking request) after the order is placed — it never delays the customer's checkout.

= What data is sent to Fulnex? =

Order details only: status, totals, line items (SKU, quantity, price), shipping method, and billing/shipping name and contact details — the same information WooCommerce already stores for the order.

= Can I disconnect at any time? =

Yes — click Disconnect on the settings page. The site immediately stops pushing orders.

== Screenshots ==

1. The settings page before pairing, showing the pairing-code form.
2. The settings page once connected.

== Changelog ==

= 1.0.0 =
* Initial release: pairing flow, real-time order push on creation and status change.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
