=== Delivo for WooCommerce ===
Contributors: delivo
Tags: shipping, pickup points, mondial relay, colissimo, labels
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect WooCommerce to Delivo (delivo.pro): orders imported, tracking sent back, and a pickup-point map at checkout.

== Description ==

Delivo is a French shipping platform: it compares carriers (La Poste Lettre Suivie, Colissimo, Mondial Relay, Delivengo, UPS, FedEx), prints your shipping labels in bulk and sends tracking numbers back to your buyers — all-inclusive prices, no mandatory subscription.

This plugin does two simple things:

* **One-click connection**: it generates the WooCommerce API key that Delivo needs (to read orders and push tracking numbers back) and shows you the three values to paste into Delivo. Nothing is sent automatically: you stay in control.
* **Pickup points at checkout** (optional): your customers pick their pickup point (Mondial Relay, UPS Access Point, FedEx, or La Poste service points) on an embedded map — no Google account required, OpenStreetMap tiles. The chosen point is stored on the order and flows into Delivo. A `[delivo_relais]` shortcode also lets you place the map anywhere.

The pickup-point map is served by delivo.pro (iframe); the addresses shown are public pickup-point data.

The interface of the plugin is available in French, as Delivo currently serves the French market.

== External services ==

This plugin embeds an iframe from delivo.pro (the Delivo platform) to display the pickup-point map. The iframe receives the shipping postcode (to center the map) and returns the chosen pickup point. No other personal data is transmitted. See the Delivo privacy policy: https://delivo.pro/legal/confidentialite

== Installation ==

1. Install and activate the plugin (WooCommerce must be active).
2. Go to WooCommerce → Delivo → "Generate my Delivo connection key".
3. Copy the shop address, Consumer key and Consumer secret into delivo.pro → Shops → WooCommerce.
4. (Optional) Enable the pickup-point map at checkout and choose the network.

== Frequently Asked Questions ==

= Does the plugin send data to Delivo? =
No. The plugin generates an API key inside YOUR WooCommerce and displays it: you paste it into Delivo yourself. From then on, Delivo queries your shop with that key, like any WooCommerce integration. The pickup-point map is a delivo.pro iframe; the chosen point is stored in your own order.

= Do I need a Delivo account? =
Yes, a free account on delivo.pro is enough to connect the shop and print labels.

= Is the block-based checkout supported? =
The map integrates with the classic (shortcode) checkout. For the block-based checkout, use the `[delivo_relais]` shortcode on the page of your choice — native blocks integration is on the roadmap.

== Changelog ==

= 1.0.0 =
* First release: connection key generation, pickup-point map at checkout (Mondial Relay, UPS, FedEx, La Poste), chosen point stored on the order.
