=== Datavvy Sales Sync ===
Contributors: datavvy
Tags: woocommerce, analytics, sales, sync, reporting
Stable Tag: 1.0.0
Tested up to: 6.9
Requires at least: 6.7
Requires PHP: 7.4
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically sync WooCommerce sales data to Datavvy analytics dashboard in real-time.

== Description ==

A simple WordPress/WooCommerce plugin that automatically sends your store's sales data to the Datavvy analytics API. It features real-time sync on order completion, a safety net backfill system via WP-Cron, manual sync capabilities, and a comprehensive admin dashboard for monitoring sync status and errors.

== Features ==

* **Automatic Sync**: Sends sales data on every order completion
* **WP-Cron Backfill**: Safety net that catches any missed orders
* **Manual Sync**: Trigger sync manually from the admin dashboard
* **Status Page**: View sync status, last sync time, and any errors
* **Lightweight**: No bundled libraries, uses WordPress built-in HTTP API
* **Easy Configuration**: Simple API key and organization slug setup

== Requirements ==

* WordPress 6.7 or higher
* WooCommerce 8.0 or higher
* PHP 7.4 or higher

== Installation ==

1. Upload the `datavvy-sales-sync` folder to `/wp-content/plugins/` directory or use the 'Plugins' menu in WordPress to add the zip file. 
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to **WooCommerce → Datavvy Sync** in your admin dashboard
4. Enter your API Key and Organization Slug (provided by Datavvy)
5. The plugin will automatically sync on every order completion

== Configuration ==

After activation, navigate to **WooCommerce → Datavvy Sync**:

* Enter your API Key and Organization Slug
* View last sync status and timestamp
* See next scheduled sync
* Trigger a manual sync
* View any error messages

== Third-Party Services ==

This plugin transmits real-time WooCommerce order data (order totals, item names,
customer name, email, and phone) to the Datavvy API for analytics processing.

* Service: https://datavvy.com
* Terms of Use: https://datavvy.com/terms-of-service
* Privacy Policy: https://datavvy.com/privacy-policy

Data is only transmitted when the plugin is configured with a valid API key provided by Datavvy.

== Screenshots ==

1. Admin settings page with API configuration
2. Main dashboard  

== Changelog ==

= 1.0.0 =
* Added real-time order sync on completion
* Added WP-Cron backfill safety net
* Added manual sync functionality
* Added connection testing
* Added admin dashboard with status monitoring

== Support ==

For support or feature requests, please visit https://datavvy.com or contact Datavvy support directly.

== License ==

This plugin is licensed under the GPL v2 or later.
License URI: https://www.gnu.org/licenses/gpl-2.0.html
