Changelog

Changelog

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.