== Logistos Order Sync == Contributors: logistos Tags: woocommerce, api, order, external API, ecommerce Requires at least: 5.0 Tested up to: 6.8 Requires PHP: 7.2 Stable tag: 1.7.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html A plugin to send WooCommerce order details to an external API upon plugin activation and for every new order. This plugin is licensed under the GPLv2 (or later) license. == Description == Logistos automatically sends WooCommerce order details to an external API endpoint. It sends all order details on plugin activation and each new order to a specified remote server, which can be useful for integration with external systems. **Features:** * Sends all existing orders on plugin activation * Sends new order details upon creation * Includes full order information (billing, shipping, items, fees, and taxes) * Securely generates and sends API credentials on activation == Installation == 1. Download the plugin zip file. 2. Go to **Plugins > Add New** in your WordPress admin dashboard. 3. Click **Upload Plugin**, choose the zip file, and click **Install Now**. 4. After installation, click **Activate** to enable the plugin. 5. On activation, API credentials and all existing orders are sent to the specified external API. == Frequently Asked Questions == = How do I configure the API endpoint? = Go to **Settings → Logistos Sync** in your WordPress admin. There you can configure: - The credentials endpoint URL (receives WooCommerce REST API keys on activation) - The orders endpoint URL (receives order data on activation and on each new order) = Can I select which order statuses to send? = Yes, the `send_all_orders_on_activation` function specifies order statuses in the `status` array. You can adjust this as needed. == Changelog == = 1.2 = * Initial release with API credential generation * Sends all orders upon activation * Sends new order details on WooCommerce order creation == Upgrade Notice == = 1.2 = Ensure WooCommerce is activated and set up correctly before activating this plugin. = 1.4.0 = * Added new features... * Fixed bugs... = 1.7.0 = * Added new features... * Fixed bugs... == License == This plugin is licensed under the GPLv2 or later. See the [GNU General Public License](https://www.gnu.org/licenses/gpl-2.0.html) for more details. == External services == This plugin connects to a Logistos endpoint to transmit WooCommerce store data for order synchronization. Service: Logistos Order Integration API Purpose: Receive WooCommerce API credentials (on activation) and order payloads (on activation and whenever a new order is created) to sync orders with the Logistos dashboard. Data sent: - On activation: store URL, WooCommerce REST API consumer key and secret. - On activation (batch) and on each new order: order metadata (IDs, numbers, dates, totals, currency), billing/shipping names, addresses, city/state/country, email, phone, line items (name, sku, quantity, subtotal/total), fees, shipping lines, and taxes. No payment card data is sent. When data is sent: - Immediately on plugin activation (one-time credentials + historical orders), - On each subsequent order creation. This plugin communicates with the following external endpoints: 1. https://admin.logistos.in/integration/integrate_woo_commerce - Purpose: Receive WooCommerce REST API keys on plugin activation. - Data sent: consumer_key, consumer_secret, store_url. 2. https://admin.logistos.in/integration/woo_commerce_orders - Purpose: Receive WooCommerce order payloads on activation and on every new order. - Data sent: order ID, number, totals, billing info, shipping info, items, store info. Service policies: - Terms of Service: https://logistos.in/terms_and_conditions - Privacy Policy: https://logistos.in/privacy_policy These services are owned and operated by Logistos Technologies Private Limited. Users installing this plugin agree that order data will be transmitted to these endpoints.