=== Poland Couriers for WooCommerce ===
Contributors: catcodestudio
Tags: inpost, paczkomaty, orlen paczka, dpd, pocztex
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
WC requires at least: 7.0
WC tested up to: 11.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

InPost, ORLEN Paczka, DPD and Pocztex labels, parcel lockers and pickup points at checkout, cash on delivery and tracking, with your own contracts.

== Description ==

Ship with your own contracts from the WooCommerce order screen. No aggregator between you and the courier: the plugin talks to InPost, ORLEN Paczka, DPD Polska and Poczta Polska directly with your own logins, so you pay the courier's price and nobody else's margin.

**Free**

* Seven delivery methods for your shipping zone: InPost locker or PaczkoPunkt, InPost courier, ORLEN Paczka point or locker, DPD Pickup, DPD courier, Pocztex point or locker, Pocztex courier.
* A pickup point list near the buyer's post code or city, on the classic and the block checkout. It shows up only for its own method and never writes into the buyer's address fields. DPD Pickup uses DPD's own map.
* InPost lockers show at checkout before you have an InPost account; the ORLEN Paczka and Pocztex lists need no account either, and refresh once a day.
* Cash on delivery: the order total goes on the label. A point that does not take it is refused at checkout, and ORLEN Paczka, which ended the service, does not offer it.
* The building number and a Polish phone number are checked at checkout, so a label does not fail later.
* Flat price, free from an order amount or with a free-shipping coupon, weight limit.
* A label from the order screen with the parcel size S, M or L, and its PDF. A cancel at the courier where the courier allows it.
* Pocztex: send the e-Nadawca buffer to the post office from the settings page.
* Tracking link in the order, on the account page and in the e-mails. Refresh the status with one click.
* Interface in English and Polish.

**Pro** (7-day free trial from the settings page)

* Labels created automatically when an order reaches the status you choose.
* Bulk actions in the orders list: create labels and print them all at once.
* Several parcels on one InPost courier or DPD shipment.
* Insured value on InPost and DPD labels.
* Delivery prices per weight.
* Hourly status sync, order notes and automatic completion on delivery.

== Installation ==

1. Install and activate WooCommerce and this plugin.
2. Open WooCommerce → Poland Couriers, fill in the sender and the logins of the couriers you use, save and check the connection.
3. Add the delivery methods to your shipping zone for Poland in WooCommerce → Settings → Shipping.
4. Open an order and create the label in the Poland Couriers box.

== Frequently Asked Questions ==

= Do I need contracts with the couriers? =

For labels, yes. The InPost organization ID and token come from the Parcel Manager, under My account → API. The ORLEN Paczka login comes from your sales representative. The DPD web services login comes from DPD Polska IT. The e-Nadawca WebAPI login comes with your Poczta Polska contract.

= Why is DPD Pickup not showing at checkout? =

DPD's pickup point map opens only on domains DPD has allowed. Ask your DPD contact to allow your shop's domain, then tick "DPD Pickup map" in the settings.

= Why is there no cash on delivery with ORLEN Paczka? =

ORLEN Paczka ended the service on 2 January 2025. While its method is chosen, the checkout does not offer cash on delivery.

= Can I cancel a label? =

ORLEN Paczka: yes, through the API. InPost: only until the shipment is paid for. Pocztex: while it is still in the e-Nadawca buffer. DPD has no such call: the plugin marks the label cancelled in the shop, and you must not hand the parcel over with it.

= Which countries does it ship to? =

Poland.

== External services ==

The plugin connects only to the couriers the shop owner sets up, and only for the actions below.

**InPost** (api-shipx-pl.easypack24.net, api.inpost.pl, api-pl-points.easypack24.net), operated by InPost sp. z o.o.

* At checkout: the post code or the city typed or filled in by the buyer is sent to find parcel lockers and PaczkoPunkt points.
* When the shop creates a label: the buyer's name, phone number, e-mail address and, for the courier, address, the parcel size and the order number are sent.
* When the status is refreshed: the tracking number is sent.

Terms: https://inpost.pl/regulaminy Privacy: https://inpost.pl/polityka-prywatnosci

**ORLEN Paczka** (api.orlenpaczka.pl, api-test.orlenpaczka.pl), operated by ORLEN Paczka sp. z o.o.

* Once a day, and when the shop owner asks: the list of points is downloaded. Nothing about buyers is sent.
* When the shop creates a label: the buyer's name, phone number and e-mail address, the point, the parcel size and the order number are sent.
* When the status is refreshed or a label is cancelled: the parcel number is sent.

Terms: https://www.orlenpaczka.pl/wp-content/uploads/2025/07/Regulamin-swiadczenia-przedsiebiorcom-uslug-pocztowych-i-przewozowych-od-25-sierpnia-2025-r..pdf Privacy: https://www.orlenpaczka.pl/polityka-prywatnosci/

**DPD Polska** (dpdservices.dpd.com.pl, dpdservicesdemo.dpd.com.pl, dpdinfoservices.dpd.com.pl, pudofinder.dpd.com.pl), operated by DPD Polska sp. z o.o.

* At checkout, when the buyer opens the DPD Pickup map: the map loads from DPD's server in a frame, and the buyer's browser talks to it directly.
* When the shop creates a label: the buyer's name, address, e-mail address and phone number, the point, the weight and the order number are sent.
* When the status is refreshed: the waybill number is sent.

Terms: https://www.dpd.com/pl/pl/regulaminy/ Privacy: https://www.dpd.com/pl/pl/polityka-prywatnosci/

**Poczta Polska** (e-nadawca.poczta-polska.pl, en-testwebapi.poczta-polska.pl, odbiorwpunkcie.poczta-polska.pl, tt.poczta-polska.pl), operated by Poczta Polska S.A.

* Once a day, and when the shop owner asks: the list of points is downloaded. Nothing about buyers is sent.
* When the shop creates a label: the buyer's name, address, e-mail address and phone number, the point, the weight, the amount to collect and the order number are sent.
* When the status is refreshed: the parcel number is sent.

Terms: https://www.poczta-polska.pl/regulaminy/ Privacy: https://www.poczta-polska.pl/polityka-prywatnosci/

The Pro licence check connects to catcode.com.ua and sends the licence key and the site address.

== Changelog ==

= 1.0.0 =
* First version: InPost, ORLEN Paczka, DPD and Pocztex, delivery to the address and to pickup points on the classic and the block checkout, cash on delivery, labels, tracking; Pro automatic and bulk labels, several parcels, insurance, prices per weight, hourly status sync.
