Poczta Polska for WooCommerce
Pocztex and eCommerce shipping with the Poczta Polska pickup point map, cash on delivery and shipments in Elektroniczny Nadawca.
Install in
Poczta Polska for WooCommerce connects your store with Elektroniczny Nadawca (EN), the Poczta Polska shipping system.
The plugin is published by Poczta Polska S.A. and developed for Poczta Polska by Web Systems.
Customers choose Poczta Polska delivery at checkout. Store managers create shipments, print labels and send them to the post office straight from the WordPress admin, without retyping order data into EN.
The store talks to EN directly over the EN WebAPI. There is no intermediate server, no license key and no telemetry.
Shipping methods
- Pocztex Kurier: door-to-door courier delivery.
- Pocztex Na dziś (city / country): same-day courier delivery, within the city (up to 40 km) or in the country.
- Pocztex PUNKT: delivery to a post office or a partner pickup point (for example Żabka), chosen on the Poczta Polska map.
- Pocztex AUTOMAT: delivery to a parcel locker, chosen on the map.
- Przesyłka eCommerce: registered letter up to 2000 g, without cash on delivery.
Each method is added to WooCommerce shipping zones like any other method, with its own title, price, free shipping threshold, weight limit, contract card and parcel format. You can add a method many times, for example two courier options with different prices. The methods are offered for addresses in Poland only.
Checkout
- Works with the Cart and Checkout blocks and with the classic
[woocommerce_checkout]shortcode. - The official Poczta Polska map for choosing a pickup point or a parcel locker, with a search over a local copy of the points when the map cannot load.
- Server-side validation: the order cannot be placed without a point, with a point of the wrong type, or with cash on delivery at a point that does not accept it or above its limit.
- Cash on delivery is hidden for the eCommerce letter.
- The chosen point is shown in the order confirmation, the customer emails, “My account” and the order screen, where the store manager can change it.
Shipments
- Create a shipment from an order with one click, or for many orders at once from the orders list.
- Change the service, format, number of parcels, weight, phone or pickup point before the label is printed.
- Labels as PDF, one file for many shipments.
- Buffers per day, contract card and posting office; move shipments between buffers, change the posting date and send a buffer to the post office.
- Order a courier pickup.
- Tracking numbers in the orders list and the order screen.
- Protection against duplicate shipments after a lost connection.
Administration
- Separate WebAPI credentials for the test (INT) and the production environment, with a connection test. Passwords are stored encrypted.
- A warning before the EN password expires.
- Contract cards, posting offices and the sender profile loaded from EN.
- Default parcel settings, cash on delivery bank account and transfer title.
- Logs in WooCommerce Status Logs with personal data masked, and an audit log of administrative changes.
Requirements
- WooCommerce with High-Performance Order Storage or the legacy order storage. Both are supported.
- PHP 8.2 or newer with the SOAP extension.
- An agreement with Poczta Polska and an Elektroniczny Nadawca account with WebAPI access.
External services
This plugin connects to two services of Poczta Polska S.A. Both are needed for its main features.
Elektroniczny Nadawca WebAPI
Elektroniczny Nadawca is the Poczta Polska shipping system. The plugin uses its WebAPI to create and manage shipments.
- When: when a store manager tests the connection, creates, edits, moves or deletes shipments, downloads labels, sends a buffer or orders a courier; once a day to copy the list of pickup points and to check when the EN password expires; at checkout, only when a chosen pickup point is missing from the local copy.
- What is sent: the WebAPI login and password; the sender profile and pickup address; for each shipment the recipient name, delivery address, phone number, email address, pickup point, parcel weight and format, and for cash on delivery the amount, bank account and transfer title.
- Where:
https://e-nadawca.api.poczta-polska.pl/websrv/(production) orhttps://int-e-nadawca.api.poczta-polska.pl/websrv/(test environment), depending on the settings.
Poczta Polska terms of service: https://www.poczta-polska.pl/regulaminy/
Poczta Polska privacy policy: https://www.poczta-polska.pl/polityka-prywatnosci/
Poczta Polska pickup point map
The map lets customers choose a pickup point or a parcel locker. Its script is loaded from https://mapa.ecommerce.poczta-polska.pl/widget/scripts/ppwidget.js, as Poczta Polska requires.
- When: the script is loaded when the checkout page opens (also before a Poczta Polska method is chosen), and in the admin on the order screen and the plugin settings. The map itself and its connections start only when the customer or the shop manager opens it.
- What is sent: the browser connects to Poczta Polska, which receives its IP address. To centre the map, the delivery address from the checkout form (street, postcode and city) is passed to the map, together with any address searched on the map. Nothing else is sent to the map service.
Poczta Polska terms of service: https://www.poczta-polska.pl/regulaminy/
Poczta Polska privacy policy: https://www.poczta-polska.pl/polityka-prywatnosci/
Privacy
The plugin adds a suggested paragraph to Settings Privacy Policy Guide. It supports the WordPress personal data export and erasure tools: the pickup point and tracking numbers of an order are exported, and the pickup point is erased with the order data. Recipient data stays in the order; the plugin keeps only phone numbers that the store corrected for a shipment, and erases them with the order data.
Written by Joobi from the project's own listing. See the source page
0.4.2
- Plugin header: the author is Poczta Polska S.A.
- The WordPress.org package no longer bundles translation files; translations come from translate.wordpress.org.
0.4.1
- Updates: the one-time changes of settings also run when the saved plugin version is missing (e.g. network activation on a multisite).
0.4.0
- Settings: “Shipment defaults” has separate templates for Pocztex Kurier (also pickup points and parcel lockers) and Pocztex Today, each with the additional services: declared value, fragile, non-standard parcel, delivery confirmation; Pocztex Kurier also the delivery by 12:00 and the Pocztex envelope.
- Delivery hour: only “by 12:00” is offered; Poczta Polska keeps the other hours for old contracts only.
0.3.1
- Settings: posting in a Pocztex parcel locker can be saved without choosing a parcel locker.
0.3.0
- New shipping methods “Pocztex Today (city)” and “Pocztex Today (country)” (same-day delivery; the city variant takes the distance in km).
- Shipment panel: Pocztex envelope, non-standard parcel, delivery confirmation by SMS or email, delivery hour.
- Insurance amounts come from Elektroniczny Nadawca; the amount is now sent in grosze (was złoty).
- Multi-parcel errors show the message of the rejected parcel.
0.2.7
- Shipment panel: even field layout and a correctly sized “Fragile” checkbox.
0.2.6
- Shipment panel: “Fragile”, additional insurance and declared value for each Pocztex shipment.
- Posting in a Pocztex parcel locker no longer requires the locker’s PNI.
- The format list shows only the formats of the chosen service; a disallowed format is reported instead of replaced.
- Multi-parcel shipments: the description and “fragile” are printed on every parcel label.
0.2.5
- readme.txt: contributors are the WordPress.org account that publishes the plugin and Web Systems.
0.2.4
- Development files are listed in
.pcpignore, so Plugin Check skips them in the source tree; the release package is unchanged.
0.2.3
- Label PDF downloads send the
X-Content-Type-Options: nosniffheader. - Installation steps recommend setting
PPWC_ENCRYPTION_KEYinwp-config.phpbefore entering the passwords.
0.2.2
- The limit of Elektroniczny Nadawca lookups for pickup points missing from the local copy applies per visitor address.
- The Buffers screen no longer contacts Elektroniczny Nadawca when opened; the check for buffers deleted outside the plugin runs from a button.
- A password value with the
ppwc1:prefix sent from the settings form is kept only when it decrypts. - FAQ: how the passwords are stored and why to set
PPWC_ENCRYPTION_KEY.
0.2.1
- The Poczta Polska and Pocztex logos are no longer bundled or shown.
- The warning about an unpatched PHP version appears only on the dashboard, the plugins list and the WooCommerce and plugin screens.
- The daily pickup point refresh is not scheduled twice.
- External services section states when the map script is loaded.
0.2.0
- Settings screen: Elektroniczny Nadawca connection per environment (test and production) with encrypted passwords and a connection test, contract card and posting office, sender profile, shipment defaults, cash on delivery, logs and audit log.
- Shipping methods Pocztex Kurier, Pocztex PUNKT, Pocztex AUTOMAT and Przesyłka eCommerce for shipping zones, with price, free shipping threshold, weight limit, contract card per environment and parcel format.
- Poczta Polska pickup point map in the block and the classic checkout, with a fallback search in the local copy of points; the chosen point is validated on the server and saved in the order, shown on the order page, in emails and in the admin.
- Cash on delivery only for Pocztex and only in points that accept it, within the point’s limit.
- Shipments in Elektroniczny Nadawca from the order screen and in bulk: labels, buffers per posting office, sending to the post office, envelope status, courier orders.
- Shipment changes before the label: service, format, parcels, weight, mobile and landline, pickup point on the map, posting office.
- Tracking number column in the orders list, privacy tools, security hardening of public endpoints.
0.1.0
- Plugin skeleton: requirements check, WooCommerce HPOS and Cart/Checkout Blocks compatibility.
Follow this listing's changes (Atom feed)