=== Incomplete Order Lead Capture ===
Contributors: orvenit
Tags: woocommerce, abandoned cart, lead capture, checkout, marketing
Requires at least: 5.8
Tested up to: 6.9
Stable tag: 2.0.3
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Real-time checkout data capture. Automatically saves user input (phone, name) to a WooCommerce order even if they don't submit the form.

== Description ==

**Live Lead Capture & Recovery** helps you recover lost sales by capturing checkout form data as the user types. 

**How it works:**
1. Monitors the WooCommerce checkout form in real-time.
2. Once a user enters a valid phone number (minimum 5 digits), it triggers a background save.
3. It creates a WooCommerce order with **'Failed'** status.
4. **Duplicate Prevention:** When the user clicks "Place Order", the plugin identifies the draft using browser cookies and deletes it instantly, ensuring only the real order remains.

**Features:**
*   **Real-time Saving:** No submit button required.
*   **Cookie-Based Cleanup:** 100% accurate duplicate prevention.
*   **Smart Sync:** Syncs products from the cart to the captured order automatically.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/live-lead-capture-recovery` directory.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Ensure **WooCommerce** is installed and active.

== Changelog ==

= 2.0.0 =
*   Major Update: Switched to cookie-based tracking to fix duplicate order issues permanently.
*   New: Added security meta flags to captured orders.

= 1.0.0 =
*   Initial release.