=== WCMultiShipping Pro ===
Contributors: woomultishipping
Donate link:
Tags: WooCommerce, Mondial Relay, Chronopost
Requires at least: 4.7
Tested up to: 7.1
Stable tag: 3.0.8
Requires PHP: 5.7
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Add Mondial Relay, Inpost, Chronopost & Chronofresh to Woocommerce
Create your labels and send your shipments easily.

== Description ==

WcMultiShipping is a plugin that integrates Mondial Relay and Chronopost shipping services into WooCommerce, streamlining your shipping process, automating label generation, and allowing customers to choose their preferred delivery method during checkout.

### Key Features:

- **Seamless Mondial Relay Integration**: Effortlessly add Mondial Relay shipping methods to your WooCommerce store, allowing customers to select pickup points or home delivery options during checkout.
- **Automatic Label Generation**: Generate shipping labels automatically for Mondial Relay and Chronopost orders directly from your WooCommerce admin panel, reducing the time spent on manual tasks (Pro version).
- **Flexible Shipping Rates**: Customize shipping costs based on cart total, order weight, or specific shipping zones, ensuring that your customers always get the best rates.
- **Advanced Configuration Options**: Access detailed settings for each shipping method, including default insurance amounts, preparation times, and handling fees.
- **Google Maps Integration**: Display Mondial Relay pickup points using Google Maps during checkout, giving your customers a clear and easy way to select their preferred location.

### Why Choose WcMultiShipping?

- **Enhanced Customer Experience**: Offering multiple delivery options, including the widely recognized Mondial Relay service, improves customer satisfaction and increases conversion rates.
- **Time-Saving Automation**: With automatic label generation and seamless integration into WooCommerce, you can focus on growing your business while we handle the logistics.
- **Optimized for WooCommerce**: WcMultiShipping is built to work flawlessly with WooCommerce, ensuring a smooth experience for both store owners and customers.

### Available Mondial Relay Shipping Methods:

- **Mondial Relay - Point Relais**: Customers can choose to have their orders delivered to a nearby pickup point.
- **Mondial Relay - Lockers**: Customers can choose a Mondial Relay locker.
- **Mondial Relay - Point Relais + Lockers**: Customers can choose either a pickup point or a locker from one shipping method.
- **Mondial Relay - Colis Drive**: Perfect for customers who prefer to pick up their orders from a drive-through location.
- **Mondial Relay - Home Delivery (1 or 2 Deliverers)**: Offers the convenience of home delivery with the option for one or two deliverers, ideal for heavier packages.
- **Mondial Relay - Home Delivery < 30kg**: Specialized for packages weighing under 30kg, ensuring fast and efficient delivery.

For a detailed guide on configuring Mondial Relay with WooCommerce, visit our comprehensive setup page: [Mondial Relay WooCommerce Setup](https://www.wcmultishipping.com/mondial-relay-woocommerce/)

### Available Chronopost Shipping Methods:

- **Chronopost 10**: Guaranteed delivery by 10 AM the next day.
- **Chronopost 13**: Delivery by 1 PM the next day.
- **Chronopost 18**: End of day delivery option.
- **Chronopost Classic**: Standard delivery with no time commitment.
- **Chronopost Express**: Fast, reliable express delivery service.
- **Chronopost Relais**: Convenient delivery to local pickup points.
- **Chronopost Relais Domicile**: Combined service of home delivery and pickup point options.
- **Chronopost Relais Europe**: Cross-border delivery within Europe.
- **Chronopost Same Day**: Urgent same-day delivery service.

For step-by-step instructions on setting up Chronopost, please visit: [Chronopost WooCommerce Setup](https://www.wcmultishipping.com/plugin-chronopost-woocommerce/)

### External Services

This plugin connects to external third-party services to provide shipping functionality. Below is a detailed description of each service, what data is transmitted, and when:

**1. Mondial Relay API**
- **Purpose**: Calculate shipping rates, retrieve pickup points, and generate shipping labels for Mondial Relay deliveries.
- **Data sent**: Order details (weight, dimensions, destination address), customer information (name, address, phone), and pickup point selection.
- **When**: When customers select Mondial Relay shipping methods during checkout, and when store administrators generate shipping labels.
- **Service provider**: Mondial Relay
- **Terms of service**: https://www.mondialrelay.fr/conditions-generales-dutilisation/
- **Privacy policy**: https://www.mondialrelay.fr/politique-de-confidentialite/

**2. Chronopost API**
- **Purpose**: Calculate shipping rates, retrieve pickup points, and generate shipping labels for Chronopost deliveries.
- **Data sent**: Order details (weight, dimensions, destination address), customer information (name, address, phone), and service type selection.
- **When**: When customers select Chronopost shipping methods during checkout, and when store administrators generate shipping labels.
- **Service provider**: Chronopost (DPDgroup)
- **Terms of service**: https://www.chronopost.fr/fr/conditions-generales
- **Privacy policy**: https://www.chronopost.fr/fr/donnees-personnelles

**3. UPS API**
- **Purpose**: Calculate shipping rates and generate shipping labels for UPS deliveries.
- **Data sent**: Order details (weight, dimensions, destination address), customer information (name, address, phone).
- **When**: When customers select UPS shipping methods during checkout, and when store administrators generate shipping labels.
- **Service provider**: United Parcel Service (UPS)
- **Terms of service**: https://www.ups.com/us/en/help-center/legal-terms-conditions.page
- **Privacy policy**: https://www.ups.com/us/en/help-center/legal-terms-conditions/privacy-notice.page

**4. WCMultiShipping Service (wcmultishipping.com)**
- **Purpose**: Plugin registration and license validation; free-trial label generation and quota management; fallback label downloads; product usage and reliability statistics; optional deactivation feedback.
- **Data sent**:
  - Registration: The email address submitted during setup, site URL, whether carrier settings already exist, and a persistent installation identifier. License-related requests also include the license key where applicable.
  - Free-trial label generation: Setup email address, selected carrier and label format, and the carrier request needed to create the shipment. Depending on the carrier, this includes sender and recipient names, addresses, email addresses and phone numbers, parcel weight and dimensions, delivery service and pickup-point details, shipment references, and carrier account/authentication fields. WCMultiShipping forwards this request to the selected carrier and returns the carrier response, label PDF and remaining trial allowance.
  - Label download fallback: The carrier label URL when a direct download fails.
  - Usage statistics: A persistent, randomly generated installation identifier; event identifier and UTC timestamp; plugin version; major WordPress, WooCommerce and PHP versions; locale; Free/Pro package status; and whether a license key is present. Events describe installation observation, onboarding, carrier configuration and credential-test outcomes, rate previews, settings changes, Pro feature views/clicks, Pro activation where applicable, and label-generation success or failure. Event properties include the carrier, setup step, result/error category, package tier, generation direction and failure stage where relevant. These telemetry events do not include customer names, email addresses, postal addresses, order identifiers, carrier credentials or license-key values. The installation identifier is also sent with registration requests, allowing usage events to be associated with the registered installation.
  - Deactivation feedback: Optional feedback submitted by the administrator.
- **When**:
  - Registration is sent when the administrator submits the setup email; license requests are sent when the corresponding license actions are used.
  - Free-trial generation requests are sent when an administrator requests a trial label, while an allowance remains.
  - Fallback downloads occur only when direct label downloads fail.
  - Usage events are sent automatically on activation, the first observed administration visit, and the corresponding plugin actions. Duplicate installation events are suppressed. Failed telemetry deliveries may be retried during subsequent administration visits or events.
  - Deactivation feedback is sent only if the administrator chooses to submit it.
- **Transport**: Registration, free-trial label generation and telemetry requests use HTTPS.
- **Service provider**: WCMultiShipping
- **Terms of service**: https://www.wcmultishipping.com/terms-of-service/
- **Privacy policy**: https://www.wcmultishipping.com/privacy-policy/

By using this plugin, you acknowledge that data will be transmitted to these external services as described above. Please review each service's terms and privacy policies to ensure compliance with your local data protection regulations.

### Installation

1. Download and install the WcMultiShipping plugin via the "Plugins" section of your WordPress admin panel.
2. Activate the plugin through the "Plugins" menu.
3. Configure the Mondial Relay and Chronopost shipping methods in the WooCommerce settings.
4. Customize your shipping rates and conditions based on your business needs.
5. Manage your shipping labels directly from the WooCommerce admin panel.

### Frequently Asked Questions

= How do I save time using WcMultiShipping? =
WcMultiShipping automates the label generation process and integrates directly with your WooCommerce store, allowing you to manage everything from one place.

= Is the plugin easy to use? =
Absolutely! The plugin is designed for ease of use, with a straightforward setup process and a user-friendly interface.

= Can I set custom shipping rates for Mondial Relay? =
Yes, you can define shipping rates based on cart total, order weight, and specific shipping zones.

= Does the plugin support automatic label generation for Mondial Relay? =
Yes, the Pro version of the plugin allows for automatic label generation, saving you significant time and effort.

= How can I configure Mondial Relay for WooCommerce? =
We provide a detailed setup guide on our website. You can follow the steps here: [Mondial Relay WooCommerce Setup](https://www.wcmultishipping.com/mondial-relay-woocommerce/)

== Screenshots ==

1. Chronopost order listing
2. Chronopost WooCommerce shipping methods
3. Chronopost shipping methods configuration

== Changelog ==

= 3.0.7 - October 2026 =
Added a limited free trial for Chronopost and Mondial Relay label generation through WCMultiShipping, with quota and carrier-error handling.
Improved parcel weights, unit conversion, shipping-rate calculations, Chronopost Classic Fresh and Monaco handling.
Hardened Chronopost label deletion with permission checks, validated order ownership and scoped cleanup.
Improved Chronopost tracking selection, status handling and processing queues.
Improved order-list counters, carrier settings, existing-installation onboarding and asynchronous pickup-point handling.
Hardened private log storage and filtering of sensitive log data.
Added installation, upgrade and label-generation usage events, stable event identifiers and bounded event-history retention.
Switched registration requests to HTTPS and added the installation identifier to registration data.
Updated the external-service data disclosure and declared WordPress compatibility to 7.1.

= 3.0.6 - July 2026 =
Mondial Relay phone normalization fix for label generation
Mondial Relay status synchronization batch increased
Chronopost PRO tracking status handling improvements
Chronopost PRO label action guards and clearer Pro requirement notices in the free package
Privacy-first telemetry hardening
Admin notice and sprintf fixes

= 3.0.3 - May 2026 =
Improved onboarding and carrier setup flow
Chronopost PRO tools and admin UX improvements
Chronopost pickup method fix
Mondial Relay discount threshold fix
SQL hardening in admin flow

= 3.0.0 - June 2025 =
WooCommerce new version compatibilty
PickUp selection popup design improvements
Full French translation
Code improvement
CURL disabled error displayed
Debug mode 

= 2.5.6 - June 2025 =
MR Label fix 
Pickup points location fix


= 2.5.5 - February 2025 =
Chronopost Shipping Methods Per Country update
Fix w/ assigning order to Chronopost / MR from admin page
Compatibilty with new WordPress Select For Country in checkout
Order status tracking fix + Chronopost link to doc 



= 2.5.1 - September 2024 =
Front-end issue fixed
Inward label issue fixed

= 2.5.0 - July 2024 =
WordPress HPOS compatibilty
CRON fix + tracking status update 
Multiple Chronopost fixes
New WordPress checkout compatibilty

= 2.4.6 - November 2023 =
Mondial Relay Pickup point issue fixed.

= 2.4.5 - November 2023 =
Chronopost2Shop sending method
WooCommerce compatibilty fix
WooCommerce HPOS compatibilty
Phone number regex improvement
Modal improvement w/ WooCommerce new checkout
Chronopost Label Format selection


= 2.3.8 - November 2023 =
Security fixes (Logs could be checked from the front-end)

= 2.3.7 - November 2023 =
Missing CSS file fix

= 2.3.6 - November 2023 =
Google Maps issue fixed

= 2.3.5 - November 2023 =
CSS file inclusion fix
Chronopost improvement
WooCommerce block integration


= 2.3.3 - September 2023 =
Chronopost : Recipient address 2

= 2.3.2 - September 2023 =
Pickup point modal fix

= 2.3.1 - September 2023 =
WooCommerce x Gutenberg fix

= 2.3.0 - August 2023 =
Packaging weight fix (kg vs g)
UPS shipping point fix

= 2.2.0 - July 2023 =
Chronopost Adress Fix
Download as PDF when there's only one label
UPS integration fix
WooCommerce block

= 2.1.8 - 07 February 2023 =
Chronopost tracking improvements

= 2.1.7 - 07 February 2023 =
Pick up points selection pop-up design improvements

= 2.1.6 - 01 February 2023 =
Pick up points selection pop-up design improvements
Chronopost status update fix

= 2.1.5 - 24 December 2022 =
Adding Netherlands to Mondial Relay countries list
OpenStreetMaps click issue with Chrome is now fixed
Improvements regarding weight calculation

= 2.1.2 - 24 December 2022 =
Fix issued with Zip code starting with "0"

= 2.1.1 - 17 December 2022 =
Order status are now available on front-end
Fixed issue with wrong characters (Mondial relay addresses)

= 1.9.5 - 29 March 2022 =
Chronopost Quickcost fix
Multiple maps displayed issue fixed

= 1.8.7 - 29 March 2022 =
Fix with float value for parcel size

= 1.8.7 - 29 March 2022 =
OSM alert pop up fix

= 1.8.5 - 16 March 2022 =
Chronopost new delivery methods + shipping label generation fix

= 1.8.0 - 24 October 2021 =
OpenStreetMap as default map provider + ChronoFresh

= 0.1.0 - 24 October 2021 =
Some advices and some help have been added into the interfaces

= 0.1.0 - 17 May 2021 =
OpenStreetMap integration

= 0.0.8 - 19 April 2021 =
Pickup selection from the backend

= 0.0.7 - 23 March 2021 =
Mondial Relay Widget integration

= 0.0.6 - 23 March 2021 =
Parcel Tracking Emails

= 0.0.2 - 23 March 2021 =
Mondial Relay support.

= 0.0.1 - 10 February 2021 =
First release.

== Upgrade Notice ==
