Changelog

Changelog

1.7.2
  • Fix - Fixed an uncaught error when attempting to update the shipping method before verifying that it exists.
  • Tweak - A CSS class in the container's HTML caused issue with certain themes. This class has been removed.
1.7.1
  • Fix - Fixed a save issue related to the "Bag on door" shipping setting.
  • Tweak - API changes related to pickup points and parcel boxes.
1.7.0
  • Feature - Added support for WooCommerce's "High-Performance Order Storage" ("HPOS").
  • Tweak - Updated translation text.
1.6.2
  • Fix - Fixed an issue where the pickup points for BringV2 would not appear when "Parcel box only" was chosen.
1.6.1
  • Tweak - Clearer description of pickup point vs parcel box setting.
1.6.0
  • Feature - Add support for displaying parcel box if supported by carrier.
  • Feature - Add setting and logic to change Woo order status when Booking OK webhook is received from Proteria.
  • Tweak - Use shipping address for pickup location requests.
  • Tweak - Minor Norwegian translation update.
1.5.7
  • Fix - Resolved an issue where the tracking number and URL were not displaying in the metabox, even when the tracking data was available.
1.5.6
  • Tweak - Adds shipping method id 1147 (Pakke i postkasse) as bag on dooor shipping method.
  • Tweak - Adds logging to get printer requests.
  • Fix - Improved handling of error response in get printer request, to avoid PHP errors.
1.5.5
  • Tweak - Improved check if pickup point should be added in create shipment request.
  • Tweak - Improve logic when multiple shipping options have pickup points displayed in checkout.
  • Fix - Make sure a WooCommerce order exist before trying to make a create shipment request to avoid possible PHP errors.
1.5.4
  • Tweak - Add shipping instance setting for Cash On Delivery. COD can now be changed on/off in admin order view before booking the shipment.
1.5.3
  • Tweak - Increase default request timeout time to 25 seconds.
1.5.2
  • Fix - Webhook callback fixes.
1.5.1
  • Tweak - Adds shipping method id 112 (PostNord MyPack HomeSmall) as bag on dooor shipping method.
  • Fix - Avoid error (in PHP8) if no ProTeria shipping methods are available in is_ptcc_pickup_point_shipping_method function.
  • Fix - Avoid error if no shipping method object is found in get_pickup_point_content function.
1.5.0
  • Feature - Add order note if validation status webhook send a failed message.
  • Feature - Add order note if booking failed webhook is triggered.
  • Tweak - Save tracking url as post meta field _ptcc_tracking_url in order.
  • Tweak - Save tracking number as post meta field _ptcc_tracking_number in order.
1.4.1
  • Fix - Don't try to update ProTeria data in Woo order if we don't have an order object. Avoids potential errors.
1.4.0
  • Feature - Listen to tracking status webhook and save updates to order so merchant can see status directly from WooCommerce.
  • Feature - Add support for displaying and changing Bag on door from admin page before creating shipment.
  • Tweak - Bag on door checkbox is now removed as an option for customers. If the checkbox is checked on the shipping instance setting, Bag on door will be activated in create shipment requests to ProTeria.
  • Tweak - Listen to Booking ok webhook and save it in order. Only display print label buttons if webhook has been executed.
  • Fix - Update logic to determine which shipping method have pickup point selector in checkout. The plugin now uses the hasPickupPoints flag returned from ProTeria.
  • Fix - Requests to cloudconnectstaging.proteria.com now working properly by activating Testmode setting.
1.3.3
  • Fix - Update which shipping methods that can handle "Bag on door" feature. Shipping ID's 1146, 1246, 1247 and 1248 are now treated as shipping methods with support for Bag on door.
1.3.2
  • Tweak - Adds filter ptcc_api_url_base to be able to modify api url base.
  • Fix - Sender Contact person name now available to edit via plugin settings.
1.3.1
  • Fix - Tweaked declared variables. Could cause issues in some PHP versions.
1.3.0
  • Tweak - Bump required PHP version to 7.0.
  • Tweak - Adds logging/counting of completed orders with ProTeria as shipping method via Trackedil (https://track.krokedil.com/).
  • Fix - Improved handling of products with no weight specified.
  • Fix - Create shipment bug fix due to API changes (structure of content in the returned body).
1.2.1
  • Fix - Fix plugin settings visibility due to changes in WooCommerce. ProTeria settings now have a separate page under Shipping settings tab.
  • Fix - Only run plugin if WooCommerce is activated.
1.2.0
  • Feature - Add setting to support Bag on door feature for Bring Mailbox parcels.
  • Fix - Improve logic when wrong api credentials are used (or request fails) for GetShippingMethodsForCustomer request.
  • Fix - PHP notice in GetShippingMethodsForCustomer logging.
1.1.0
  • Feature - Delete dynamically fetched shipping methods (usually saved via transients in 12 hours) when re-saving ProTeria settings.
  • Tweak - Increase request timeout time to 10 seconds.
  • Tweak - Added logging for get shipping method and pickup point requests.
  • Fix - Display pickup point selector even if only one shipping method is available in checkout.
1.0.2
  • Fix - Avoid fatal error triggered when WooCmomerce order order is created without shipping.
1.0.1
  • Tweak - Possibility to change ProTeria shipping method on WooCommerce order update without creating the shipment.
1.0.0
  • Feature - Add support for displaying pickup point selector in checkout for shipping methods that supports this.
  • Feature - Get merchant specific available shipping methods from ProTeria in configuration settings.
  • Tweak - Move logging to standard WooCommerce log (instead of storing it in uploads folder).
  • Tweak - Send WooCommerce order number as reference to ProTeria (instead of order ID).
0.3.1
  • Fix - Make sure that order weight is sent to ProTeria as correct KG unit.
  • Tweak - Rearranged setting options.