=== DHL Polska ===
Contributors: octolize
Tags: woocommerce, shipping, dhl, courier, parcelshop
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.1.0
WC requires at least: 10.0
WC tested up to: 10.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

WooCommerce integration with DHL Poland. Ship with DHL Polska Courier and DHL ParcelShop.

== Description ==

Introduction
The DHL plugin is a plugin we created for companies selling on WooCommerce. It lets you connect to DHL quickly and conveniently, which makes shipment management easier and faster.
What do you get by installing the plugin?
Support for test and production mode
Automatic shipment creation based on order statuses
Automatic courier booking based on order statuses
Support for return shipments
Create and edit shipment templates
Domestic and international shipping for COD orders, both courier shipments and DHL pickup points
Configure different DHL services
Choose label format
Create a shipment to a pickup point from the order screen
Choose which pickup points to show at checkout: DHL BOX, DHL POP
Select pickup points via the map or by the nearest point

Available services
DHL Parcel AH
DHL Parcel 09
DHL Parcel 12
DHL Parcel DW
DHL Parcel EK
DHL Parcel PI
DHL Parcel Premium
DHL Parcel CP
DHL Parcel CM
Delivery to a DHL pickup point

== External services ==

This plugin connects to external DHL services to create and manage shipments,
support pickup point features, and open shipment tracking links.

1) DHL24 WebAPI (production and sandbox)
Used for shipment operations such as creating shipments, generating labels,
ordering couriers, and managing shipment data.

Data sent and when:
- The plugin sends configuration and shipment data required by DHL
  (for example: sender/receiver data, parcel parameters, selected service options,
  and references) when the merchant performs DHL shipment operations in WooCommerce.

Service addresses:
- Production: https://dhl24.com.pl
- Sandbox: https://sandbox.dhl24.com.pl

2) DHL ServicePoint API (production and sandbox)
Used to support pickup point related operations.

Data sent and when:
- The plugin sends data required to query and validate pickup point information
  when pickup point functionality is used.

Service addresses:
- Production: https://dhl24.com.pl
- Sandbox: https://sandbox.dhl24.com.pl

3) DHL tracking page
Used to open shipment tracking in DHL service.

Data sent and when:
- The tracking number is included in the tracking URL when a tracking link is opened.

Service address:
- https://sprawdz.dhl.com.pl

Service provider: DHL.
Terms of Service: https://www.dhl.com/pl-pl/ecommerce/dla-ciebie/obsluga/dokumenty.html
Privacy Policy: https://www.dhl.com/pl-pl/ecommerce/o-dhl-ecommerce/polityka-prywatnosci.html

== Installation ==

1. Install and activate the WooCommerce plugin.
2. Install the DHL Polska plugin and activate it.
3. Make sure the PHP SOAP extension is available on the server.
4. Go to: WooCommerce -> Settings -> Shipping -> DHL Polska and configure the settings.

== Frequently Asked Questions ==

= Does the plugin require WooCommerce? =
Yes, the plugin works only with WooCommerce.

= Do I need the SOAP extension? =
Yes, the PHP SOAP extension is required.

== Screenshots ==

1. DHL Polska integration settings in WooCommerce.
2. Example DHL Polska shipping method in a shipping zone.

== Changelog ==

= 1.1.0 - 2026-02-20 =
* Removed plugin update reminder.

= 1.0.5 - 2026-02-11 =
* **BREAKING** API namespace migration: classes were moved from `DhlPolska\\API\\...` to `Octolize\\DhlPolska\\API\\...`.
* Added Composer PSR-4 mapping for `Octolize\\DhlPolska\\` and updated internal API references.

= 1.0.4 - 2026-02-11 =
* Fixed premium service API code: `DhlServices::SERVICE_PREMIUM` now uses `PR` instead of `PREMIUM`.

= 1.0.3 - 2026-01-28 =
* Fixed block checkout.
* Fixed cancellation handling for booked courier orders.

= 1.0.2 - 2026-01-22 =
* Changed the language of the readme.txt file to English.

= 1.0.1 - 2026-01-17 =
* Fixed plugin bootstrap.

= 1.0.0 - 2026-02-01 =
* Initial release.
