=== Sendo === Contributors: shop123nettbutikker Tags: woocommerce, shipping, logistics Requires at least: 5.8 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 5.1.6 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Real-time shipping rates and pickup point selection from Sendo logistics platform. == Description == Sendo integrates WooCommerce with the Sendo logistics platform, providing real-time shipping rates and pickup point selection at checkout. Supports multiple carriers including Postnord, Schenker, and Norlines. == External Services == This plugin communicates with an external service operated by Sendo AS. By using this plugin, order and address data is transmitted to Sendo servers to calculate shipping rates and retrieve pickup locations. Store owners are responsible for ensuring compliance with applicable data protection laws (including GDPR). Service provider: Sendo AS Website: https://sendo.no API endpoint: https://v2.sendo.no/admin/plugin-sendo-one-v2.php Terms of Service: https://sendo.no/vilkar Privacy Policy: https://sendo.no/personvern === What data is sent === • Customer shipping address (postcode, city, street, country) • Cart contents (products, SKUs, quantities, weight, dimensions) • Store URL • Sendo API credentials === When data is sent === Data is sent when checkout loads and when the customer updates address or cart contents. === Why data is sent === To calculate real-time shipping prices and retrieve pickup points. == Features == * Real-time shipping rate calculations * Pickup point selection * Pickup point auto-selection * Pickup preference memory per postcode * Automatic order transfer to Sendo on status change (configurable) * Shipping method exclusion filter for auto-transfer * Manual "Send to Sendo" button on admin order pages * Re-send orders to Sendo with one click * Tracking link display in order sidebar * Compatible with iframe payment gateways (Kustom, Svea, Dintero, Klarna) * Intelligent caching (60 seconds) * Debug logging support * HPOS compatible == Installation == 1. Upload the `sendo` folder to `/wp-content/plugins/` 2. Activate the plugin via WordPress admin 3. Go to WooCommerce → Settings → Shipping 4. Add "Sendo" to your shipping zone 5. Enter your API credentials == Frequently Asked Questions == = Does this plugin require a Sendo account? = Yes. You must obtain API credentials from Sendo. = What happens if the API is unavailable? = You may configure a fallback shipping rate. == Changelog == = 5.1.6 = * Automatic order transfer to Sendo when order status changes (completed, partial-shipped, or custom status) * Configurable shipping method exclusion — skip auto-transfer for specific shipping methods * Duplicate-send prevention — orders already sent to Sendo are not re-sent automatically * Refactored order-send logic into shared sendoaspSendOrderToSendo() function (used by both manual and auto-transfer) * Debug logging for auto-transfer success and failure events = 5.1.5 = * Real-time shipping rates can now be toggled on/off per shipping zone instance (default: off) * Stores using only order sync no longer need to disable the shipping method * Added "Send ordre til Sendo" metabox on admin order pages * Manual order sync with one-click button in order sidebar * Re-send capability for previously sent orders * Tracking ID and tracking link display after successful send * HPOS-compatible meta storage for tracking data * Backward-compatible with legacy frakt123 tracking meta keys * Dedicated admin JavaScript for order sync (sendo-admin-order.js) * Permission check (edit_shop_orders) and nonce protection on send endpoint = 5.1.4 = * Stability improvements * Compatibility updates = 5.1.2 = * Renaming and prefix standardization * External service disclosure added * Pickup point preference memory * Improved iframe compatibility = 5.1.1 = * Loop prevention improvements * Auto-select first pickup point * Address sync improvements = 5.1.0 = * Checkout performance improvements * Address normalization * Pickup point dropdown fixes = 5.0.0 = * Complete architecture rewrite * Single API call optimization * HPOS support * Pickup point validation == Upgrade Notice == = 5.1.6 = Adds automatic order transfer to Sendo on status change (completed, partial-shipped, or custom). Configure in Sendo shipping method settings. Existing manual send button continues to work. = 5.1.5 = Real-time shipping rates are now off by default — enable per shipping zone if needed. Adds manual "Send to Sendo" button on admin order pages. = 5.1.4 = Recommended update for stability and compatibility. == License == This plugin is licensed under the GPL v2 or later.