PluginProbe
PostNL for WooCommerce / 5.9.12
PostNL for WooCommerce v5.9.12
5.9.12 5.9.11 5.9.10 5.9.9 5.9.8 5.9.7 5.9.6 trunk 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.1.4 3.1.5 3.1.6 3.1.7 4.0.0 4.0.1 4.0.2 4.3.2 4.3.3 4.4.0 4.4.1 All 72 releases
← All changes | readme.txt +232 -554 4.4.0 → 5.9.12 View file →
@@ -1,42 +1,45 @@
1 -=== Plugin Name ===
2 -Contributors: richardperdaan, edielemoine
3 -Tags: woocommerce, export, delivery, packages, postnl
4 -Requires at least: 3.5.1 & WooCommerce 2.0+
5 -Tested up to: 5.6.0
6 -Stable tag: trunk
7 -Requires PHP: 7.1
8 -License: GPLv3 or later
9 -License URI: http://www.opensource.org/licenses/gpl-license.php
1 +=== PostNL for WooCommerce ===
2 +Contributors: PostNL, shadim, abdalsalaam
3 +Tags: woocommerce, PostNL, Labels, Shipping
4 +Requires Plugins: woocommerce
5 +Requires PHP: 7.4
6 +Requires at least: 6.7
7 +Tested up to: 7.1
8 +WC requires at least: 10.2
9 +WC tested up to: 11.1
10 +Stable tag: 5.9.12
11 +License: GPLv2 or later
12 +License URI: https://www.gnu.org/licenses/gpl-2.0.html
10 13
11 -Export your WooCommerce orders to PostNL (www.postnl.nl) and print labels directly from the WooCommerce admin
14 +The official PostNL plugin allows you to automate your e-commerce order process. Covering shipping services from PostNL Netherlands and Belgium.
12 15
13 16 == Description ==
14 17
15 -This WooCommerce extension allows you to export your orders to the PostNL service (www.postnl.nl).
18 +With this extension, you can register shipments with PostNL and print the shipping labels with one push of a button. Moreover, your customers choose how they want to receive the order.
19 +**Online Manual (in Dutch):** https://postnl.github.io/woocommerce/new-manual
16 20
17 -**Online Manual (in Dutch):** https://postnl.github.io/woocommerce/
18 -
19 21 = Main features =
20 -- Delivery options integrated in your checkout
21 -- Export your WooCommerce orders to PostNL with a simple click, single orders or in batch
22 -- Print shipping labels directly (PDF)
23 -- Create multiple shipments for the same order
24 -- Choose your package type (Parcel, mailbox package or unpaid letter)
25 -- Define preset PostNL shipping options (signature required, extra insurance, etc.)
22 +- Submit shipments easily with PostNL, single orders or in a batch.
23 +- Easily print shipping labels.
24 +- Your customers can choose whether they want to receive the parcel at home or collect it from a PostNL point nearby.
25 +- Use PostNL’s various shipping methods (mailbox parcel, insured shipping, etc.).
26 +- Easily send your parcels to Belgium, Europe and the rest of the world.
27 +- Follow orders via Track & Trace.
28 +- Create multiple shipments for the same order.
26 29 - Modify the PostNL shipping options per order before exporting
27 -- Extra checkout fields to separate street name, house number and house number suffix for more precise address data
28 -- View the status of the shipment in the order details page
29 -- Add track&trace link to the order confirmation email
30 +- NEW! Free address validation for addresses in the Netherlands.
31 +- NEW! Easily share the return label with your customers.
32 +- NEW! Merchants based in Belgium can make use of this plug-in as well.
30 33
31 -A PostNL API account is required for this plugin! Contact your PostNL account manager for the API key.
34 +A PostNL API account is required for this plugin! Check out your API key in the Mijn PostNL business portal or contact your account manager.
32 35
33 36 == Installation ==
34 37
35 38 = Automatic installation =
36 -Automatic installation is the easiest option as WordPress handles the file transfers itself and you don't even need to leave your web browser. To do an automatic install of WooCommerce PostNL, log in to your WordPress admin panel, navigate to the Plugins menu and click Add New.
39 +Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t even need to leave your web browser. To do an automatic install of PostNL for WooCommerce, log in to your WordPress admin panel, navigate to the Plugins menu and click Add New.
37 40
38 -In the search field type "WooCommerce PostNL" and click Search Plugins. You can install it by simply clicking Install Now. After clicking that link you will be asked if you're sure you want to install the plugin. Click yes and WordPress will automatically complete the installation.
41 +In the search field type “PostNL for WooCommerce” and click Search Plugins. You can install it by simply clicking Install Now. After clicking that link you will be asked if you’re sure you want to install the plugin. Click yes and WordPress will automatically complete the installation.
39 42
40 43 = Manual installation via the WordPress interface =
41 44 1. Download the plugin zip file to your computer
42 45 2. Go to the WordPress admin panel menu Plugins > Add New
@@ -41,46 +44,34 @@
41 44 1. Download the plugin zip file to your computer
42 45 2. Go to the WordPress admin panel menu Plugins > Add New
43 46 3. Choose upload
44 47 4. Upload the plugin zip file, the plugin will now be installed
45 -5. After installation has finished, click the 'activate plugin' link
48 +5. After installation has finished, click the ‘activate plugin’ link
46 49
47 50 = Manual installation via FTP =
48 51 1. Download the plugin file to your computer and unzip it
49 -2. Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your WordPress installation's wp-content/plugins/ directory.
52 +2. Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your WordPress installation’s wp-content/plugins/ directory.
50 53 3. Activate the plugin from the Plugins menu within the WordPress admin.
51 54
52 55 = Setting up the plugin =
53 -1. Go to the menu `WooCommerce > PostNL`.
54 -2. Fill in your API Details. If you don't have API details, log into your PostNL or Flespakket account, you can find your API key under Instellingen → Algemeen.
55 -3. Under 'Default export settings' you can set options that should be set by default for the export. You can change these settings per order at the time of export.
56 -4. The plugin is ready to be used!
56 +1. Go to the menu `WooCommerce > Settings > Shipping methods > PostNL`.
57 +2. Fill in your API key and Customer details. If you don’t have an API key request it in your Mijn PostNL Business Portal. Check out the instructions here.
58 +3. The plugin is ready to be used!
57 59
58 60 = Testing =
59 61 We advise you to test the whole checkout procedure once to see if everything works as it should. Pay special attention to the following:
60 62
61 -The PostNL plugin adds extra fields to the checkout of your webshop, to make it possible for the client to add street name, number and optional additions separately. This way you can be sure that everything is entered correctly. Because not all checkouts are configured alike, it's possible that the positioning/alignment of these extra fields have to be adjusted.
63 +The PostNL plugin adds extra fields to the checkout of your webshop, to make it possible for the client to add street name, number and optional additions separately. This way you can be sure that everything is entered correctly. Because not all checkouts are configured alike, it’s possible that the positioning/alignment of these extra fields have to be adjusted.
62 64
63 65 Moreover, after a label is created, a Track & Trace code is added to the order. When the order is completed from WooCommerce, this Track & Trace code is added to the email (when this is enabled in the settings). Check that the code is correctly displayed in your template. You can read how to change the text in the FAQ section.
64 66
65 67 == Frequently Asked Questions ==
66 68
67 -**Online Manual (in Dutch):** [https://postnlnl.github.io/woocommerce/](https://postnlnl.github.io/woocommerce/)
69 +**Online Manual (in Dutch):** [https://postnl.github.io/woocommerce/new-manual] (https://postnl.github.io/woocommerce/new-manual)
68 70
69 71 = How do I get an API key? =
70 -When logged in on your PostNL or Flespakket account, you can find your API key under Instellingen → Algemeen.
72 +Follow these instructions (https://www.postnl.nl/Images/aanvragen-api-key-stappenkaart_tcm10-200445.pdf?version=2) to request an API key or to look it up.
71 73
72 -= How do I change the Track & Trace email text? =
73 -You can change the text (which is placed above the order details table by default) by applying the following filter:
74 -`
75 -add_filter( 'wcpostnl_email_text', 'wcpostnl_new_email_text' );
76 -function wcpostnl_new_email_text($track_trace_tekst) {
77 - // Tutoyeren ipv vousvoyeren
78 - $nieuwe_tekst = 'Je kunt je bestelling volgen met het volgende PostNL Track & Trace nummer:';
79 - return $nieuwe_tekst;
80 -}
81 -`
82 -
83 74 == Screenshots ==
84 75
85 76 1. Export or print PostNL label per order
86 77 2. Bulk export or print PostNL labels
@@ -89,566 +80,253 @@
89 80 5. PostNL information on the order details page
90 81
91 82 == Changelog ==
92 83
93 -= 4.4.0 (2022-01-03) =
94 -* Improvement: add option to disable insurance for shipments to Belgium
84 += 5.9.12 (2026-09-15) =
85 +* Add: New API Key field for the upcoming PostNL API migration. Enter the key from the PostNL Business Portal Self Service module; the plugin checks it with PostNL when you save, shows whether it is valid, and a banner reminds you until it is entered.
95 86
96 -= 4.3.3 (2021-06-02) =
97 -* Fix: email for printing evening delivery
87 += 5.9.11 (2026-08-31) =
88 +* Tweak: WordPress 7.1 and WooCommerce 11.1 compatibility.
98 89
99 -= 4.3.2 (2021-03-30) =
100 -* Improvement: wpm-config.json included (support WP-Multilang plugin)
101 -* Improvement: add translation files fr_FR
102 -* Improvement: Deactivate delivery date
103 -* Improvement: Option for automatic order status after exporting or printing
104 -* Fix: Saving options in the order grid model
105 -* Fix: Validation for sending to other address on checkout page
90 += 5.9.10 (2026-07-23) =
91 +* Fix: Letterboxparcel 48-hour orders reverted to Standard Shipment when the label was generated with the bulk action on the classic orders list.
106 92
107 -= 4.3.1 (2021-03-19) =
108 -* Improvement: Export bulk order shipments although there is a wrong shipment
109 -* Improvement: Add option to show prices as surcharge
110 -* Improvement: Support WP Desk Flexible Shipping plugin
111 -* Fix: Calculate weight from grams to kilos during the migration
112 -* Fix: Set PostNL response cookie with 20 sec expire
113 -* Fix: Use saturday cutoff time
114 -* Fix: Use country codes from the PostNL SDK
115 -* Fix: Translation files not being generated properly
93 += 5.9.9 (2026-07-20) =
94 +* Fix: Order edit page showed "Standard Shipment" as the delivery type for Letterboxparcel orders instead of the selected 24-hour or 48-hour variant.
116 95
117 -= 4.2.0 (2021-01-21) =
118 -* Fix: Rename `WCPN`, `WCPN()`, `WCPN_Admin` and `WCPN_Settings`
119 -* Fix: Weight calculation for all shipment types
120 -* Fix: Delivery options after woocommerce subtotal for solving conflicts with multiple themes
121 -* Fix: Error array_replace_recursive second parameter must be array
122 -* Fix: Show correct delivery type in orders grid
123 -* Fix: Package type from shipping method/class not shown in order grid
124 -* Fix: Unable to send return email
125 -* Fix: Send return email modal
126 -* Fix: Show delivery date in order grid for any order that has one
127 -* Fix: Don't load checkout scripts on order received page
128 -* Fix: Multicollo voor Dutch shipments and for international shipments can you create multiple labels
129 -* Fix: Missing barcode in emails of automatically processed orders
130 -* Fix: Properly add/remove cart fees when using delivery options
131 -* Fix: Error on checkout when using custom address fields
132 -* Fix: Maximum label description length of 45 characters
133 -* Fix: Multiple barcode in order note
134 -* Fix: Saving the correct days in the setting drop off days
135 -* Fix: Save the correct shipping class
136 -* Fix: Check if shipping address is selected on checkout page en use the correct address
137 -* Fix: Order confirmation on the thank you page, confirmation email and on the customer account
138 -* Fix: Do not save address in address book
139 -* Fix: Correct package type for international shipments
140 -* Fix: Only add empty parcel weight to packages
141 -* Fix: Export via actions at the bottom of the order-grid
142 -* Improvement: Set correct UserAgent
143 -* Improvement: More options for age verification at product level
144 -* Improvement: Better country of origin selection
145 -* Improvement: Improve shipment options dialog
146 -* Improvement: Spinner for order grid bulk actions
147 -* Improvement: Update icons
148 -* Improvement: Use base price for delivery options
149 -* Improvement: Error handling after exporting and printing a label
150 -* Improvement: Stabilizer code for opening a label in a new tab
151 -* Improvement: New status for letter and DPZ and show them on the barcode column
152 -* Improvement: Use gulp to allow es6 javascript and use sass.
153 -* Improvement: Use customer note for label description.
154 -* Improvement: Use the latest PostNL SDK.
155 -* Improvement: Handle translations in gulp
96 += 5.9.8 (2026-07-07) =
97 +* Add: Letterboxparcel 48 hours as a selectable option in the domestic default shipping option, the bulk Change Shipping Options action, and the Label & Tracking menu.
156 98
157 -= 4.1.5 (2020-12-15) =
158 -* Fix: select box for country of origin
159 -* Fix: delivery options for not logged in users
160 -* Improvement: prices from the shipping method inside the delivery options
99 += 5.9.7 (2026-06-30) =
100 +* Remove: Removed the Shipment & Return return option, as PostNL is discontinuing it on 1 July 2026.
161 101
162 -= 4.1.4 (2020-11-24) =
163 -* Fix: Shipping classes not saving
164 -* Fix: Drop off days
165 -* Fix: WooCommerce PDF Invoices & Packing Slips placeholders compatibility
166 -* Fix: Calculate DPZ weight
167 -* Fix: Error delivery_date is too early
168 -* Fix: Multiple barcode in order note
169 -* Fix: Maximum label description lenght of 45 characters
170 -* Improvement: support WP-Multilang
102 += 5.9.6 (2026-06-24) =
103 +* Add: Letterbox Parcel now offers 24-hour and 48-hour delivery variants at checkout, selectable by the customer or assigned automatically.
104 +* Add: New "Default automatic letterboxparcel product" setting to choose the default letterbox variant (24 or 48 hours) for automatic assignment.
105 +* Add: New "Letterbox fee" setting that overrides the shipping cost when all items are eligible for letterbox delivery, plus an extra fee field for the 24-hour variant.
106 +* Tweak: Checkout tab labels now show the full shipping cost (carrier + delivery-day/pickup fee) instead of only the additional fee.
107 +* Tweak: Improve tax handling so tab prices accurately reflect tax-inclusive and tax-exclusive display settings.
108 +* Tweak: Note in the Standard return option that the Shipment & Return label will be discontinued on July 1.
109 +* Fix: Hide delivery-day, morning and evening surcharges when free shipping applies, including PostNL's minimum-order-amount threshold.
110 +* Fix: Prevent duplicate PostNL delivery options container from appearing during blocks checkout fragment updates.
111 +* Fix: House number disappearing from blocks checkout when "Use PostNL address-field" and "Validate Dutch addresses" are both disabled.
112 +* Fix: "Invullen met PostNL" now correctly sets the country to Belgium instead of Netherlands for Belgian PostNL accounts.
113 +* Fix: "Invullen met PostNL" no longer fills the checkout with a previously used PostNL account's address after switching accounts or an incomplete login.
114 +* Fix: Update Dutch translations.
171 115
116 += 5.9.5 (2026-04-21) =
117 +* Add: Ability to set the default checkout tab (Delivery or Pickup) from the PostNL checkout settings.
118 +* Fix: Update translations.
119 +* Fix: ZPL file format setting ignored for domestic letterbox.
120 +* Fix: Error when trying to create multicollo insured shipments.
172 121
173 -= 4.1.3 (2020-11-13) =
174 -* Fix: Error on checkout when using custom address fields
122 += 5.9.4 (2026-02-06) =
123 +* Fix: Missing styles from the cart page.
124 +* Tweak: WooCommerce 10.5 compatibility.
175 125
176 -= 4.1.2 (2020-11-12) =
177 -* Fix: Crack down on invalid package types
126 += 5.9.3 (2026-02-05) =
127 +* Fix: House number stripped from address when "Use PostNL address-field" is disabled in blocks checkout.
128 +* Fix: Changed barcode type for international registered packets from RI to LA.
129 +* Fix: Ensure ID Check products always trigger correctly when Signature on Delivery is selected.
130 +* Add: Ability to select Id check with insured shipping for pickup options.
131 +* Tweak: Change "Global Pack" name to "Parcels non-EU".
178 132
179 -= 4.1.1 (2020-11-11) =
180 -* Fix: 4.1.0 migration fatal errors
181 -* Fix: PHP Fatal error: Uncaught TypeError: Return value of WCPN_Export::getPackageTypeFromOrder()
133 += 5.9.2 (2026-02-03) =
134 +* Fix: Load plugin assets only on cart and checkout pages where they're needed to improve performance.
135 +* Fix: Delivery options menu not loading after switching between countries with different delivery support.
136 +* Fix: Delivery Days/Pickup Point fees persisting when changing to a destination that does not support them.
182 137
183 -= 4.1.0 (2020-11-11) =
184 -* Improvement: All enabled/disabled dropdowns replaced with clickable toggles.
185 -* Improvement: Show package type and delivery date instead of "details".
186 -* Improvement: Add label description for individual shipments.
187 -* Improvement: Loading speed/experience.
188 -* Improvement: Spinner for order grid bulk actions.
189 -* Improvement: make default export settings show up in shipment options.
190 -* Improvement: show delivery date in order grid for any order that has one (only when "show delivery day" setting is enabled).
191 -* Fix: Wrong label for "show delivery day" setting.
192 -* Fix: Error on sending return email.
193 -* Fix: Allow split address field for Belgium as well.
194 -* Fix: Add options that were missing in 4.0.0
195 -* Fix: Rename at_home_delivery to delivery_title
196 -* Fix: Monday delivery
138 += 5.9.1 (2025-12-18) =
139 +* Fix: Delivery options display prices including/excluding tax based on WooCommerce tax settings.
140 +* Fix: Removed default empty merchant customs code fields to prevent validation errors when saving settings without adding codes.
141 +* Fix: Load the PostNl shipping method fields data correctly.
197 142
198 -= 4.0.6 (2020-10-14) =
199 -* Fix: Free_shipping linked to package then you should also see the delivery options
200 -* Fix: If you have a shipping method with flatrate: 181 and the method gives flatrate: 18 then you should not see the delivery options
201 -* Fix: Error CRITICAL Uncaught TypeError: Return value of WCPN_Export::getShippingMethod()
143 += 5.9.0 (2025-12-09) =
144 +* Add: Ability for marking products as 18+ and automatically apply ID Check to orders containing them.
145 +* Add: Validation and TrustedShipperID support for merchant customs codes in the non-EU shipping settings.
146 +* Add: “Delivery code at door” shipping option.
147 +* Fix: PostNL delivery options block duplicated in the mobile checkout order summary.
148 +* Fix: delivery-day date format to follow the WordPress General Settings configuration.
149 +* Fix: the HS Tariff Code field not saving for product variations.
150 +* Fix: letterbox logic for variable products.
151 +* Tweak: WordPress 6.9 and WooCommerce 10.4 compatibility.
202 152
203 -= 4.0.5 (2020-10-05) =
204 -* Fix: Disable order status delivered
205 -* Fix: Package type not being recognized
206 -* Fix: migrate all package types in export defaults settings
153 += 5.8.1 (2025-09-16) =
154 +* Add: New email settings field for shipping confirmation.
155 +* Fix: Allow admin to dismiss the survey/reward notice.
156 +* Fix: Style conflict with other frameworks.
207 157
208 -= 4.0.4 (2020-10-01) =
209 -* Fix: Failed opening class-wcmypa-settings.php
158 += 5.8.0 (2025-09-08) =
159 +* Add: Fill In With / Invullen met PostNL.
160 +* Add: ContactType 02 for digital proof of shipping.
161 +* Add: Allow different fees for home / pick-up delivery.
162 +* Fix: Label & Tracking menu fixed for NL>BE shipments.
163 +* Fix: Delivery menu loading while addresschecker is disabled.
164 +* Fix: WC Rest API issue.
165 +* Fix: PHP waring `Function _load_textdomain_just_in_time was called incorrectly`.
166 +* Tweak: WooCommerce 10.2 compatibility.
210 167
211 -= 4.0.3 (2020-10-01) =
212 -* Fix: Old settings non existent error
213 -* Fix: Class naming for theme compatibility
168 += 5.7.3 (2025-05-06) =
169 +* Tweak: Use `plugins_loaded` hook to add the shipping method for Flexible shipping and Polylang plugins compatibility.
214 170
215 -= 4.0.2 (2020-08-21) =
216 -* Fix: Show delivery options with a shipping class and with tablerates
217 -* Improvement: Automatic insurance
171 += 5.7.2 (2025-04-29) =
172 +* Fix: Single label now printed according to the selected start position.
173 +* Fix: Checkout not working properly with PostNL Address Fields disabled.
174 +* Fix: Cut Off time default value to prevent "Wrong format for cut off time!" checkout error for new installations.
218 175
219 -= 4.0.1 (2020-07-29) =
220 -* Fix: Wrong meta variable country of origin
221 -* Fix: Html layout of shipment summary settings and searching in WooCommerce orders overview
222 -* Fix: Translations
223 -* Fix: Export pickup locations
224 -* Fix: When deliveryType is empty use default package
225 -* Fix: Html layout of shipment summary and searching in WooCommerce orders overview
226 -* Improvement: Add empty parcel weight option
227 -* Improvement: Add multicollo option
176 += 5.7.1 (2025-03-19) =
177 +* Fix: Fatal error when editing pages with certain themes.
178 +* Fix: Required house number for non-NL destinations in blocks checkout.
228 179
229 -= 4.0.0 (2020-06-24) =
230 -* Fix: HS code
231 -* Fix: Delete options keep old shipments
232 -* Fix: Insurance possibilities
233 -* Fix: Barcode in orderview
234 -* Fix: Housenumber and suffix
235 -* Improvement: Country of origin
236 -* Improvement: New checkout and SDK
237 -* Improvement: Automatic export after payment
238 -* Improvement: V2 shipment endpoint
239 -* Improvement: HS code for variable product
180 += 5.7.0 (2025-03-17) =
181 +* Add: Cart/Checkout blocks compatibility.
182 +* Fix: Improved error messages for Shipping & Return label activation.
183 +* Fix: Postcode and city fields were incorrectly applied to both Freepost and home addresses in Smart Return shipments.
184 +* Fix: Adjusted shipping classification for the Canary Islands to use the correct product code and country code.
185 +* Fix: Ensure home delivery option is always visible at checkout, even if Delivery Days are disabled.
186 +* Fix: Labels now always include a delivery date, even for "as soon as possible" orders.
187 +* Fix: Merging EU Parcel product labels into a single A4 sheet with four A6 labels per page.
188 +* Add: postnl_shipment_addresses filter to allow third parties to modify shipping addresses and improve compatibility.
189 +* Tweak: WooCommerce 9.7 compatibility.
240 190
241 -= 3.2.1 (2020-02-04) =
242 -* Fix: The recursive delivery date loop and full cache
191 += 5.6.4 (2025-02-04) =
192 +* Fix: Add Standard Shipping to Default Shipping Pickup options.
243 193
244 -= 3.2.0 (2020-01-27) =
245 -* Fix: Since November is it no longer possible to use pickup express.
246 -* Fix: Warning: invalid argument supplied .... class-wc-shipping-flat-rate.php.
194 += 5.6.3 (2025-01-06) =
195 +* Tweak: WordPress 6.7 and WooCommerce 9.5 compatibility.
196 +* Add: ID check as a shipping option for pick-up point deliveries.
197 +* Add: "ID Check + Insured Shipping" option for domestic orders.
198 +* Fix: Enabled performing the same bulk action for generating combined PDF labels multiple times.
199 +* Fix: Removed 6-character limit for Shipping Postcode to support longer postcodes like in Portugal and Brazil.
200 +* Fix: Corrected order item values on commercial invoices to show the actual paid amount excluding tax.
247 201
248 -= 3.1.8 (2019-11-12) =
249 -* Fix: Check if there is connection with PostNL
202 += 5.6.2 (2024-09-24) =
203 +* Fix: Ensured that when the return option is set to "None," no return labels are generated for orders.
250 204
251 -= 3.1.7 (2019-07-16) =
252 -* Fix: Search in order grid PostNL shipment
253 -* Fix: More than 5 products for World shipments
205 += 5.6.1 (2024-09-18) =
206 +* Fix: Preventing bulk label downloads when label format is set to A6.
254 207
255 -= 3.1.6 (2019-07-04) =
256 -* Fix: Use constants for delivery_type
257 -* Fix: Saturday cutoff time
258 -* Fix: Shipping method issue with pickup
208 += 5.6.0 (2024-09-17) =
209 +* Add: Shipment & Return labels feature, allowing customers to use a single label for both shipping and returning parcels.
210 +* Add: New "Printer Types" setting with support for PDF, GIF, JPG, and ZPL.
211 +* Add: "Return to Home Address" option to the Return Settings.
212 +* Add: Smart Return feature allowing merchants to generate and email return barcodes for printer-less returns at PostNL locations.
213 +* Fix: Ability to merge Portrait and Landscape A6 labels into A4 PDF file.
214 +* Add: Display the selected Pickup-Point in the confirmation email to clarify the chosen delivery option.
215 +* Fix: PHP warnings.
259 216
260 -= 3.1.5 (2019-05-14) =
261 -* Improvement: Add the link for the personalized Track & Trace page (portal)
262 -* Improvement: Show deliverday only for NL shipments
263 -* Improvement: Cut the product title after 50 characters
264 -* Improvement: Barcode in order grid
265 -* Fix: Translation house number again button
266 -* Fix: Set default to 0 if there's no tax rate set up
267 -* Fix: fix issue with shipping class term id
268 -* Fix: trying to get property of non-object
269 -* Fix: Shipment validation error (PakjeGemak)
217 += 5.5.0 (2024-08-27) =
218 +* Add: Compatibility with the new WooCommerce Product Editor.
219 +* Fix: HPOS declaration path.
220 +* Fix: Item Value is fed by price after discount.
221 +* Fix: Chosen delivery options jumps back to Evening Delivery.
222 +* Fix: Update PostNL corporate identity.
223 +* Fix: Automatic letterbox doesn't work in combination with digital product.
224 +* Fix: Multiple return labels are printed when try to print the label for an order with existed label using bulk actions.
270 225
271 -= 3.1.4 (2019-03-18) =
272 -* Fix: Delivery date when deliveryday window is 0
273 -* Fix: Change `afgevinkt` to `uitgevinkt`
274 -* Preparation: Move Great Britain to world shipment for the Brexit
226 += 5.4.2 (2024-07-03) =
227 +* Fix: Error "Invalid nonce" when trying to delete labels.
228 +* Fix: Orders list fatal error if order have deleted product.
275 229
276 -= 3.1.3 (2019-02-26) =
277 -* Fix: Showing delivery date in the order when consumer using safari
278 -* Fix: Scrolling of the order overview when an input is clicked.
230 += 5.4.1 (2024-06-11) =
231 +* Fix: Display shipping options within the order list for legacy orders storage.
279 232
280 -= 3.1.2 (2019-02-19) =
281 -* Improvement: 18+ check
282 -* Fix: Standard delivery text
283 -* Fix: showing checkout
233 += 5.4.0 (2024-06-10) =
234 +* Add: Assign Letterbox Parcels automatically based on purchased products.
235 +* Add: Ability to assign default shipping product options for every shipping zone, per settings and bulk actions.
236 +* Fix: Checkout delivery options display on the Checkout page for Belgium merchants.
237 +* Added and fixed Dutch translations.
284 238
285 -= 3.1.1 (2019-01-30) =
286 -* Fix: Remove some styling code
287 -* Fix: Text changes
288 -* Fix: Hide delivery options
289 -* Fix: Get the total weight on a later moment
290 -* Fix: Unset weight by mailbox package
291 -* Fix: Since WooCommerce 3.0, logging can be grouped by context (error code 0 when exporting / printing)
292 -* Fix: The checkout is still loading when change the country.
239 += 5.3.6 (2024-04-24) =
240 +* Fix: Correct CustomerCode in non-EU calls, in Shipping call.
293 241
294 -* Improvement: Add maxlength to number suffix field
295 -* Improvement: Translate all text inside the checkout
296 -* Improvement: The option to give a discount on the shipping method ( negative amounts)
242 += 5.3.5 (2024-04-22) =
243 +* Fix: Correct CustomerCode in non-EU calls.
297 244
298 -= 3.1.0 (2018-12-12) =
299 -* Hotfix: Show delivery options when checkout form already filled in.
245 += 5.3.4 (2024-01-30) =
246 +* Added: Logic to apply default shipping options when not explicitly set in post data.
300 247
301 -= 3.0.10 (2018-12-05) =
302 -* Hotfix: Flashing of the order summary.
248 += 5.3.3 (2024-01-30) =
249 +* Updated: Function to check insurance amount limits for EU and non-EU shipments.
250 +* Updated: Currency utility to include all WooCommerce currencies.
303 251
304 -= 3.0.9 (2018-12-04) =
305 -* Hotfix: Get mailbox delivery option and save it into the order.
252 += 5.3.2 (2023-12-20) =
253 +* Fix: Bulk action does not work in HPOS.
306 254
307 -= 3.0.8 (2018-12-04) =
308 -* Fix: The multiple calls that are made to retrieve the shipping data.
309 -* Fix: The option for Pick up extra early
310 -* Fix: Wrong house number / postcode message and the possibility to adjust the address in the PostNL checkout
311 -* Fix: Woocommerce tabel rates
312 -* Improvement: Better support the default WooCommerce checkout address fields
255 += 5.3.1 (2023-11-21) =
256 +* Fix: Change store address error text.
257 +* Add: Made the delivery date sortable by date.
258 +* Added Dutch translations in the PostNL settings screen in WooCommerce shipping settings.
313 259
314 -= 3.0.7 (2018-11-20) =
315 -* Fix: Set default values for dropoff days and delivery days window
260 += 5.3.0 (2023-10-03) =
261 +* Add: New product codes for shipping from Belgium to Netherlands.
262 +* Add: Decide start position when printing label is set to A4.
263 +* Add: Automatically change status to Completed once an order has been pre-alerted and printed.
264 +* Fix: Check Insurance amount limit.
265 +* Fix: Update Netherlands translation.
316 266
317 -= 3.0.6 (2018-11-16) =
318 -* Fix: Remove concatenation from constant (causes an error on php version < 5.6)
319 -* Fix: No more double address fields with delivery options disabled
267 += 5.2.5 (2023-07-31) =
268 +* Fix multi-collo barcodes call.
320 269
321 -= 3.0.5 (2018-11-15) =
322 -* Fix: Error message about money_format
323 -* Fix: Add the priority to the checkout field for support WooCommerce 3.5.1
324 -* Fix: The PostNL logo is not visible with all browsers
325 -* Improvement: Support Channel Engine
326 -* Improvement: Information inside the checkout and the translations
327 -* Improvement: Support WooCommerce default shipping fields (_address_1 and _address_2)
270 += 5.2.4 (2023-07-25) =
271 +* Fix bug in Bulk actions menu.
272 +* Add weight limit for Mailbox.
328 273
329 -= 3.0.4 (2018-10-23) =
330 -* Fix: mollie payments
331 -* Improvement: Check for minimum php version (php 5.4)
332 -* Improvement: Hide automatic pickup express if pickup is not enabled
274 += 5.2.3 (2023-07-03) =
275 +* Create column for Delivery Date on the order overview page.
276 +* Add Company name instead of the shop name on shipping label.
277 +* Translate street name field placeholder.
278 +* Fix: Delete barcode and tracking number of order when the label is deleted.
279 +* Fix: Choosing insurance + signature on delivery results in uninsured parcel.
280 +* Fix: PHP warnings.
333 281
334 -= 3.0.3 (2018-10-09) =
335 -* Fix: Problem with WooCommerce PDF Invoices & Packing Slips
336 -* Fix: error about "Bewaar barcode in een notitie" size
337 -* Fix: Turn of the option allow Pickup Express
338 -* Fix: Save settings with a new update
339 -* Improvement: PostNL delivery header titel
340 -* Improvement: Support WooCommerce 3.5.0
341 -* Improvement: add preliminary support for "digitale postzegel"
282 += 5.2.2 (2023-05-30) =
283 +* Add new shipping product for international shipments.
342 284
343 -= 3.0.2 (2018-10-09) =
344 -* Fix: Error a non-numeric value encountered in class-wcpn-frontend-settings.php
345 -* Fix: Notice Undefined index: checkout_position
346 -* Fix: Add version number after the nl-checkout.css call
285 += 5.2.1 (2023-05-23) =
286 +* Fix: PostNL supported shipping methods in checkout.
287 +* Fix: Ampersands in shop name not copied over to label correctly.
288 +* Fix: Undefined array key warning.
347 289
348 -= 3.0.0 (2018-10-09) =
349 -* Changes: The whole checkout has a new look. A choice has been made to go back to the basic checkout. The checkout is designed so that he will take the styling of the website.
290 += 5.2.0 (2023-05-02) =
291 +* Feature: Add capability to associate shipping methods with PostNL method
292 +* Feature: Add Label printing icons from the order overview
293 +* Feature: Add shipping options by default to all orders
294 +* Fix: Fatal error when trying to create label for order with deleted Product
295 +* Fix: Checkout shipping address validation
296 +* Fix: House number not copied over to invoice address
297 +* Fix: Missing T&T info on order details page when email settings is disabled
298 +* Fix: Delivery Date & Transit Time
350 299
351 -These are the biggest changes:
352 -* No use of libraries (only jQuery)
353 -* No iframe is used
354 -* The checkout is more stable
355 -* Easier to implement improvements
300 += 5.1.4 (2023-03-21) =
301 +* Fix merged labels on bulk operation
356 302
357 -* Fix: Use street and house number fields for export a Belgium order
358 -* Fix: The at home or at work delivery title inside the checkout
359 -* Fix: The default settings
360 -* Improvement: The option to change the position of the checkout (edited)
303 += 5.1.3 (2023-03-16) =
304 +* Fix : Pick-up points not being shown in checkout page
361 305
362 -= 3.0.0-beta.2 (2018-09-08) =
363 -* Fix: at home delivery title
364 -* Fix: Export Belgium delivery, use the street/number input fields
306 += 5.1.2 (2023-02-20) =
307 +* Allow all GlobalPack barcode types usage
365 308
366 -= 2.4.14 (2018-07-03) =
367 -* Fix: Select the correct package type inside admin when there is one shipping used.
309 += 5.1.1 (2023-02-13) =
310 +* Fix shipping cost calculation for shipping classes
368 311
369 -= 2.4.13 (2018-07-26) =
370 -* Fix: Tabel rate shipping witch WooCommerce Table Rate Shipping by Automattic / Bolder Elements 4.0 / Bolder Elements 4.1.3
371 -* Fix: The option to show the checkout only when he is linked to package
312 += 5.1.0 (2023-02-06) =
313 +* Support shipping from BE
314 +* Add morning delivery option
315 +* Add ID check shipping option
316 +* Fix : Make dropoff points optional
317 +* Fix WooCommerce HPOS compatibility
318 +* Fix track and trace URL
319 +* Print company name on the label
372 320
373 -= 2.4.12 (2018-07-09) =
374 -* Fix: #102 change Iceland to world shipping
375 -* Fix: #106 tabel rates shipping
376 -* Improvement: #94 support legacy consignment and tracktrace data
377 -* Improvement: #95 Speed up order list view
378 -* Improvement: #104 Add reference identifier, that is always the order id
379 -= 2.4.11 (2018-04-30) =
380 -* Fix: Export shipment labels
321 += 5.0.0 (2023-02-06) =
322 +* MAJOR RELEASE
323 +* Reconfigure the plug-in.
381 324
382 -= 2.4.10 (2018-04-26) =
383 -* Improvement: Support Effect Connect, you can place the barcode inside a note of the order
325 +[See changelog for all versions](https://raw.githubusercontent.com/Progressus-io/postnl-for-woocommerce/main/changelog.txt).
384 326
385 -= 2.4.9 (2018-04-03) =
386 -* Fix: Scrolling when changing package type in orderview
387 -* Fix: Select the correct delivery methode inside the checkout
388 -* Improvement: Support Cloudflare
389 -
390 -= 2.4.8 (2018-02-27) =
391 -* Fix: The array error from the userAgent (https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-in-wp-content-plugins-woocommerce-mypa/)
392 -* Fix: The countries Norway, Turkey, Switzerland changed to world country
393 -* Fix: Changing Type from Order List (https://wordpress.org/support/topic/changing-type-from-order-list/#post-10020043)
394 -
395 -= 2.4.7 (2018-02-07) =
396 -* Improvement: WooCommerce 3.3.1 compatibility
397 -
398 -= 2.4.6 (2018-02-01) =
399 -* Improvement: WooCommerce 3.3 compatibility
400 -* Feature: The option to print the label on A4 and A6 format
401 -
402 -= 2.4.5 (2018-01-10) =
403 -* Fix: Export an order with an old delivery date
404 -* Refactor: Error about rest api (https://wordpress.org/support/topic/error-in-woocommerce/)
405 - ```des/class-wcpn-rest-api-integration.php): failed to open stream```
406 -
407 -= 2.4.4 (2018-01-09) =
408 -* Fix:Error about rest api (https://wordpress.org/support/topic/error-in-woocommerce/)
409 - ```des/class-wcpn-rest-api-integration.php): failed to open stream```
410 -
411 -= 2.4.3 (2018-01-05) =
412 -* Fix: Add PostNL fields to REST api to create order request
413 -* Fix: Hide days when the pickup delivery is selected
414 -
415 -= 2.4.2 (2017-10-29) =
416 -* Fix: Price changes for 2018
417 -
418 -
419 -= 2.4.1 (2017-10-12) =
420 -* Fix: WooCommerce 3.2 compatibility
421 -
422 -= 2.4.0 (2017-09-25) =
423 -* Feature: Export world shipments + customs declaration form
424 -* Feature: Show delivery options on thank you page
425 -* Feature: Use WC logger when possible
426 -* Fix: Return shipment error
427 -* Fix: Order details layout for pickup location
428 -* Fix: Delete cache of admin notices
429 -* Fix: Display of negative delivery options price
430 -* Fix: Improved tax handling on delivery options fees
431 -
432 -= 2.3.3 (2017-06-27) =
433 -* Fix: Pickup locations in Safari
434 -
435 -= 2.3.2 (2017-06-26) =
436 -* Fix: Delivery options header order
437 -* Feature: Support for region (=state) in international addresses
438 -* Feature: Hide Delivery options if PostNL service is unavailable
439 -
440 -= 2.3.1 (2017-06-12) =
441 -* Fix: Table Rate Shipping + WooCommerce 2.6 (error in settings)
442 -
443 -= 2.3.0 (2017-06-12) =
444 -* Feature: WooCommerce Table Rate Shipping support (woocommerce.com & Bolder Elements 4.0)
445 -* Feature: Support for monday delivery
446 -* Feature: Start print position
447 -* Feature: Individual label printing from the order details page
448 -* Fix: Delivery options checkout in Edge browser
449 -* Fix: HTTPS issue with google fonts
450 -* Fix: Multi-colli printing
451 -* Fix: Delivery options tax in WC3.0
452 -* Fix: Disable 'signature on delivery' & 'recipient only' when switching to pickup location in checkout
453 -* Fix: Improve order-based calculation of highest shipping class
454 -
455 -= 2.2.0 (2017-04-03) =
456 -* WooCommerce 3.0 compatible
457 -* **Requires PHP version 5.3 or higher**
458 -* Feature: Validate NL postcodes
459 -* Fix: Multistep checkout
460 -* Fix: Email text translation typo
461 -* Fix: Remove spin button (arrows) for house number checkout field
462 -* Fix: Issues creating return shipments
463 -* Fix: Clear delivery options (&costs) when no longer available or deselected
464 -* Fix: Error exporting foreign addresses & PayPal Express checkout
465 -
466 -= 2.1.3 =
467 -* Feature: Option to autoload google fonts in delivery options
468 -* Feature: [DELIVERY_DATE] placeholder on label
469 -* Various minor fixes
470 -
471 -= 2.1.2 =
472 -* Fix: Script error on the Thank You page (interfered with Facebook/Google tracking)
473 -* Fix: Don't show delivery date (backend/emails) if delivery days window is 0 (=disabled)
474 -* Tweak: Notice for BE shop owners
475 -* Tweak: Sanity check for delivery options
476 -
477 -= 2.1.1 =
478 -* Fix: Delivery options iPad/iPhone issues
479 -* Fix: Ignore badly formatted delivery options data
480 -* Fix: Don't show delivery options when cart doesn't need shipping (downloads/virtual items)
481 -* Fix: Delivery options container not found (explicitly uses window scope)
482 -* Tweak: Shipping column width/float in order backend
483 -* Tweak: Page reloading & print dialogue flow optimizations
484 -
485 -= 2.1.0 =
486 -* Feature: Select combinations of Flat Rate & Shipping Class to link parcel settings & delivery options display
487 -* Feature: Option to show delivery options for all shipping methods (except foreign addresses)
488 -* Feature: Pick colors for the delivery options
489 -* Feature: Set custom styles (CSS) for delivery options
490 -* Feature: Enter '0' for the delivery days window to hide dates in the delivery options
491 -* Fix: Don't apply 'only recipient' fee for morning & night delivery (already included)
492 -* Fix: Order search issues
493 -* Fix: 404 header on delivery options
494 -* Tweak: Several delivery options style adjustments
495 -* Tweak: Reload page after exporting
496 -
497 -= 2.0.5 =
498 -* Fix default insurance selection
499 -* Tweak: Show shipping 'method title' instead of 'title' in settings (with fallback to title)
500 -* Tweak: added `$order` object to `wcpostnl_email_text` filter
501 -
502 -= 2.0.4 =
503 -* Improved theme compatibility
504 -
505 -= 2.0.3 =
506 -* Fix: Checkout option fees tax
507 -* Fix: Settings page conditional options display
508 -* Improved settings migration from previous versions
509 -
510 -= 2.0.2 =
511 -* Fix order search
512 -* Default delivery options background to white
513 -
514 -= 2.0.1 =
515 -* Completely revamped settings & export interface
516 -* New delivery options replaces old 'Pakjegemak':
517 - * Postponed delivery (pick a delivery date)
518 - * Home address only option
519 - * Signature on delivery option
520 - * Evening or morning delivery option
521 - * PostNL Pickup & Early PostNL Pickup
522 - * Possibility to assign cost to the above delivery options
523 -* Create return labels from the WooCommerce backend
524 -* Uses new PostNL API
525 -
526 -= 1.5.6 =
527 -* Fix: Disable pakjegemak if 'ship to different address' is disabled after selecting Pakjegemak location
528 -* Fix: Use billing postcode for Pakjegemak Track & Trace
529 -
530 -= 1.5.5 =
531 -* Fix: Foreign postcodes validation fix.
532 -
533 -= 1.5.4 =
534 -* Fix: Various Pakjegemak related issues (now saves & sends pakjegemak address separately to PostNL)
535 -* Fix: Postcode validation issues with Portugal
536 -
537 -= 1.5.3 =
538 -* Feature: Edit PostNL address fields on user profile page
539 -* Fix: Bug with automatic order completion
540 -
541 -= 1.5.2 =
542 -* Feature: Option to keep old consignments when re-exporting
543 -* Feature: Use billing name for pakjegemak (when empty)
544 -* Feature: store pakjegemak choice
545 -* Fix: prevent illegal export settings/combinations
546 -* Tweak: Better error reporting
547 -* Tweak: Small text changes (backend)
548 -
549 -= 1.5.1 =
550 -* Tweak: Added error when no consignments available when trying to print labels
551 -* Tweak: Tip for direct processing of labels (when not enabled)
552 -* Tweak: admin styles
553 -
554 -= 1.5.0 =
555 -* Feature: Shipment type setting (Pakket/Brievenbuspakje/Ongefrankeerd label)
556 -* Feature: Multi-colli support
557 -* Feature: More advanced insurance options
558 -* Feature: Allow overriding pakjegemak passdata file via child theme (place in /woocommerce/)
559 -* Fix: Backend address formatting/styles
560 -* Fix: Unexpected output at first activation
561 -* Tweak: Hide parcel settings for other shipment types
562 -* Tweak: Remove deprecated comments field
563 -* Tweak: Settings now under WooCommerce top menu
564 -* Tweak: better error logging
565 -* Dev: Code refactor
566 -
567 -= 1.4.6 =
568 -* Fix: Foreign Track & Trace link updated
569 -
570 -= 1.4.5 =
571 -* Tweak: Prevent label creation if direct processing is disabled. NOTE! If you had this setting disabled and were used to downloading the labels directly, you need to change this in the settings.
572 -* Tweak: Remove required tags in checkout for disabled fields.
573 -
574 -= 1.4.4 =
575 -* Fix: error for missing shipping fields
576 -
577 -= 1.4.3 =
578 -* Fix: WooCommerce 2.2+ compatibility
579 -
580 -= 1.4.2 =
581 -* Fix: weight unit is now properly taken into account
582 -* Tweak: different bulk action hook (for better compatibility)
583 -
584 -= 1.4.1 =
585 -* Fix: Broken special characters (ë, û, à etc.)
586 -* Tweak: different API communication mode for secure configuration
587 -
588 -= 1.4.0 =
589 -* Feature: Print order number on label
590 -* Feature: PakjeGemak integration
591 -* Feature: Option to autocomplete order after successful export to PostNL
592 -* Feature: Option to display Track & Trace link on my account page
593 -
594 -= 1.3.8 =
595 -* Fix: Big exports now run without any warnings/problems (was limited by the server)
596 -* Fix: Names, cities etc. with quotes (')
597 -* Fix: Error on combined foreign & Dutch exports
598 -* Fix: IE9 compatibility
599 -
600 -= 1.3.7 =
601 -* Fix: Checkout placeholder data was being saved in older versions of Internet Explorer
602 -
603 -= 1.3.6 =
604 -* Feature: Option to download PDF or display in browser
605 -* Fix: warnings when debug set to true & downloading labels directly after exporting
606 -* Fix: WooCommerce 2.1 bug with copying foreign address data
607 -
608 -= 1.3.5 =
609 -* Fix: Errors when trashing & restoring trashed orders
610 -
611 -= 1.3.4 =
612 -* Fix: Errors on foreign country export
613 -* Fix: legacy address data is now also displayed properly
614 -* Tweak: background scrolling locked when exporting
615 -
616 -= 1.3.3 =
617 -* Fix: Checks for required fields
618 -* Tweak: Improved address formatting
619 -* Tweak: Removed placeholders on house number & suffix for better compatibility with old browsers
620 -
621 -= 1.3.2 =
622 -* Fix: Description labels for Custom ID ('Eigen kenmerk') & Message ('Optioneel bericht')
623 -
624 -= 1.3.1 =
625 -* Fix: button image width
626 -
627 -= 1.3.0 =
628 -* New PostNL icons
629 -* Export & PDF buttons compatible with WC2.1 / MP6 styles
630 -* Button styles are now in CSS instead of inline
631 -
632 -= 1.2.0 =
633 -* Feature: The PostNL checkout fields (street name / house number) can now also be modified on the my account page
634 -* Fix: WooCommerce 2.1 compatibility (checkout field localisation is now in WC core)
635 -* Updated PostNL tariffs
636 -
637 -= 1.1.1 =
638 -* Fix: Labels for Custom id ('Eigen kenmerk') & Message ('Optioneel bericht') in the export window were reversed
639 -* Fix: Removed depricated functions for better WooCommerce 2.1 compatibility
640 -
641 -= 1.1.0 =
642 -* Made extra checkout fields exclusive for dutch customers.
643 -* Show process indicator during export.
644 -* Various bugfixes.
645 -
646 -= 1.0.0 =
647 -* First release.
648 -
649 327 == Upgrade Notice ==
650 328 = 2.1 =
651 329 **Important!** Version 2.0 was a big update for this plugin, we recommend testing in a test environment first, before updating on a live site!
652 330
653 331 = 4.0.0 =
654 -**Important!** Version 4.0.0 was a big update for this plugin, we recommend testing in a test environment first, before updating on a live site!
332 +**Important!** Version 4.0.0 was a big update for this plugin, we recommend testing in a test environment first, before updating on a live site!