=== AI Order Entry for WooCommerce ===
Requires at least: 6.6.2
Requires PHP: 8.1
Requires Plugins: woocommerce
Stable tag: 0.3.0
License: GPL-2.0-or-later

Review purchase orders and explicitly create pending WooCommerce orders in your store.
在店铺后台上传采购单、集中复核异常并明确建单。界面支持中文和英文。

== Installation ==
Requires WooCommerce 9.0.0 or later, PHP sodium/OpenSSL/ZipArchive, HTTPS and working WP-Cron.
Install the trusted ZIP. In Settings and connection, review the current service terms and privacy notice, then click Start trial. The plugin verifies the site and saves its connection automatically. Complete installation diagnostics and product indexing before processing orders.
Configure persistent AIOE_BACKUP_DIR outside the public web root. Schedule wp cron event run --due-now every minute.
Tested combinations: WordPress 6.6.2 / PHP 8.1 / WooCommerce 9.0.0 and WordPress 7.1.1 / PHP 8.3 / WooCommerce 11.1.1; HPOS, legacy and compatibility synchronization separately.

== Service and privacy ==
The customer ZIP pins the service URL and release verification key. The service publishes its identity, terms, privacy policy and support channel before trial enrollment opens. Store staff do not enter a service URL, site ID or API key.
Explicit uploads send purchase-order documents to the connected service. Candidate comparisons send only the selected line and limited product candidates. Review feedback sends task/revision outcomes and the Woo order ID. Optional employee attribution sends only a minimal identifier, never the employee profile.
Authoritative customers, catalogue, prices and Woo orders stay in WooCommerce. Results require human review. No unattended order creation.

== Retention and recovery ==
Default local retention: 365 days for eligible completed/failed import contents. Private checkpoints: 30 days. Active imports and pending feedback are retained for resolution.
Controlled export/deletion, revision history, interrupted submission reconciliation and signed native updates are available to authorized roles. Woo orders and minimal deduplication/audit facts remain after import-content erasure.
Uninstall removes credentials and schedules, preserving business records and Woo orders.

== Scope ==
PDF/JPG/JPEG/PNG; 5,000,000 bytes maximum, PDF up to 5 pages.
Existing customers, simple products/specific variations, store currency and integer sales units with documented source-unit conversion.
Explicit catalogue/customer contract/PO/manual pricing; tax, shipping, other charges and order discounts are reconciled before confirmation.
Other third-party B2B/dynamic pricing requires a verified adapter. Original source values are preserved. Synthetic test results are not model-accuracy or merchant-pilot evidence.
