DPD Portugal for WooCommerce changelog

4.2.0 – 2023-05-31

  • New “International: By air” service
  • New test credentials
  • Requires WooCommerce 5.0
  • Tested with WordPress 6.3-alpha-55859 and WooCommerce 7.8.0-beta.2

4.1.0 – 2023-01-04

  • WooCommerce 7.1 and above High-Performance Order Storage compatible (in beta);
  • Fix trailing comma for PHP below 7.3 (which you should NOT be using)
  • Tested with WooCommerce 7.3-rc.1 and WordPress 6.2-alpha-55027

4.0.0 – 2022-08-12

  • Fixed a bug where charged on delivery and weight fields would not respect the WooCommerce decimal separator settings (thanks to pedradatattoosupplies.com)
  • Small tweaks on the settings interface
  • Requires WooCommerce 4.0 and WordPress 5.0 or above
  • Tested with WooCommerce 6.8 and WordPress 6.1-alpha-53862

3.9.0 – 2022-05-05

  • New brand: PT Woo Plugins 🎉
  • Tested with WooCommerce 6.5.0-rc.1 and WordPress 6.0-beta2-53236

3.8.1 – 2022-01-27

  • Option to force the shop owner to choose an account for orders with pickup when issuing the label to avoid mistakes
  • Tested with WordPress 6.0-alpha-52640 and WooCommerce 6.2.0-rc.1

3.8.0 – 2021-09-22

  • New “Portugal: Islands – Maritime transport” service
  • Tested with WordPress 5.9-alpha-51842 and WooCommerce 5.8.0-beta.1

3.7.1 – 2021-08-16

  • New “woo_dpd_portugal_default_shipment_service_for_order” filter to allow overriding the default service for a specific order
  • Tested with WordPress 5.9-alpha-51607 and WooCommerce 5.6.0-rc.2

3.7.0 – 2021-06-03

  • New settings: default service for Home and Pickup delivery in Portugal
  • Plugin update information and support link on the settings screen
  • Tweaks on the service names
  • Fix a bug on the socket timeout test
  • Tested with WordPress 5.8-alpha-51064 and WooCommerce 5.4.0-rc.1

3.6.0 – 2021-05-21

  • Add pickup cut-off information to the pickup request page
  • Check for socket timeout on the connection tests
  • Add the “Update URI” header
  • Requires PHP 7.0 or above
  • Tested with WooCommerce 5.4-beta.1

3.5.4 – 2021-05-11

  • Better debugging on each label issued (needs WP_DEBUG set to true)
  • Pass label issuing parameters to the “woo_dpd_portugal_label_issued_error” and “woo_dpd_portugal_return_issued_error” hooks
  • Tested with WooCommerce 5.3.0

3.5.3 – 2021-04-29

  • Fix a fatal error on PHP 7.2 and below
  • Tested with WooCommerce 5.3.0-rc.1

3.5.2 – 2021-04-19

  • Better error feedback when failing to contact the DPD Portugal webservice due to firewall configuration on the client server
  • Tested with WordPress 5.8-alpha-50689 and WooCommerce 5.2.2

3.5.1 – 2021-04-05

  • Better error feedback when DPD does not send an error description
  • Use 9999 instead of PHP_INT_MAX on our actions

3.5.0 – 2021-03-31

  • Several changes to allow better 3rd party integrations
  • New filters on the parameters sent to the DPD webservices
  • Allow issuing labels programmatically and pass custom shipment or return data to the action
  • Allow saving extra information on the previous pickup request logs
  • Increate previous pickup requests on the log and fine-tune their presentation
  • Code review and translation updates
  • Tested with WordPress 5.8-alpha-50614 and WooCommerce 5.2.0-rc.1

3.4.0 – 2020-12-23

  • Move tracking information on emails to before order details instead of before customer details (see here how to revert it)
  • Under the hood changes to the way the hooks are initialized so that child themes can hook into all our own hooks
  • Tested with WordPress 5.7-alpha-49862 and WooCommerce 4.9.0-beta.1

3.3.1 – 2020-12-15

3.3.0 – 2020-12-04

  • Allow the issuing of return label even if a shipping label wasn’t issued in the first place
  • New settings field for B2B delivery account
  • Better UX on the order screen and invalid fields feedback
  • Set default service account when the destination is in Spain or Europe
  • Always send the ValorCOD and Predict fields even if empty
  • Check for PHP SoapClient on the connection tests

3.2.0 – 2020-12-03

  • Put in place the necessary filters and action for future extensions
  • Support for the “Multiple Origins” extension, that allows shops to ship from several locations
  • Several small fixes

3.1.1 – 2020-12-02

  • Fix PHP fatal error when the PHP short_open_tag setting is inactive
  • Fix PHP notice when checking for the “Portugal DPD Pickup and Lockers network for WooCommerce” plugin

3.1.0 – 2020-11-26

  • Set label type for returns
  • Properly show test mode status on the settings page
  • Fix a PHP notice on the Request pickup page
  • Fix a PHP notice on the Issue return label form
  • Avoid SSL cURL error 60 when requesting the pickup

3.0.0 – 2020-11-24

  • Issue return labels and request pickup at the customer’s address (thanks: Do Zero)
  • Test mode
  • Better organization of the DPD metabox on the order edit screen
  • Request pickup page clarifications
  • “Get support” link on the settings page
  • Tested with WordPress 5.6-beta3-49562 WooCommerce 4.8.0-beta.1

2.5.0 – 2020-10-28

  • Integration with the free “Portugal DPD Pickup and Lockers network for WooCommerce” plugin (version 2.1.0 and above), allowing to completely hide lockers from the checkout or reject shipping to a locker when the payment method is “Cash on delivery”

2.4.1 – 2020-09-17

  • Autofill the “Charge on delivery” field when the order payment method is “Cash on delivery”
  • Pre-validation of the label fields on the order admin screen
  • Fix Address (2nd line) label
  • Tested with WooCommerce 4.5.2

2.3 – 2020-09-08

  • Better services naming
  • Support to request the Predict service

2.2 – 2020-09-03

  • Support for the Mixed service: Home Delivery + Pickup network
  • Tested with WordPress 5.6-alpha-48937 and WooCommerce 4.5.0-rc.3

2.1 – 2020-07-20

  • Avoid requesting pickups for Saturdays and Sundays
  • Show pickup address when requesting it

2.0 – 2020-07-18

  • You can now request a pickup from DPD directly form your website (see here how to do it programmatically)
  • Fix shipping label weight when WooCommerce is not set to kg
  • Add DPD logo to the settings page
  • Connection tests on the settings page
  • Reorganization of the settings

1.3 – 2020-06-09

  • Better error handling when issuing label
  • Tested with WooCommerce 4.3.0

1.2 – 2020-05-05

  • Prevent issuing if the order doesn’t need shipping
  • Refactor services declaration to allow filtering by developers
  • Fix on the EnviarEtiquetasEmail parameter
  • Fix fatal error on PHP below 7.3

1.1 – 2020-03-29

  • Tracking information on WooCommerce emails (enabled by default)
  • New developer filters to prevent the shipping label issuing based on whatever rules the shop owner wants to implement

1.0 – 2020-03-28

  • First release