Changelog

Changelog

1.2.0
  • Feature - Adds support for fetching sort code and availability token via Redlight Media's KSA plugin.
  • Enhancement - Add helper functions get_instabox_availability_token & get_instabox_sort_code.
  • Fix - Fix in check in is_instabox_locker_shipping_method function.
1.1.0
  • Feature - Adds support for displaying selected Instabox locker in cart page.
  • Feature - Adds possibility to print shipping label from orders overview page.
  • Tweak - Use $package['destination']['postcode'] instead of WC()->customer->get_hipping_postcode() when making availability requsts and checking if Instabox should be diplayed in checkout.
  • Tweak - Save Instabox data to order on woocommerce_checkout_update_order_meta hook (priority 20) instead of on woocommerce_checkout_order_processed.
  • Tweak - Add filter inb_save_instabox_data_to_order so other plugins can hook into and make it possible to save the data even if Instabox is not the selected shipping method.
  • Tweak - CSS tweak in checkout.
  • Tweak - Change helper function name get_instabox_shipping_method to get_instabox_shipping_method_from_order.
  • Tweak - Adds new helper function get_instabox_shipping_method to get Instabox service code from WooCommerce shipping method.
  • Fix - Tweak in logic when Instabox is available in checkout & cart.
  • Fix - Add JSON_HEX_QUOT to wp_json_encode to escape " characters.
  • Fix - Avoid error if we receive a wp_error in authenticate request.
  • Fix - Do not try to make availability request to Instabox if customer country or postcode is missing.
  • Fix - Only set selected Instabox option in sessionStorage and cookie if we find a Instabox shipping option in cart/checkout.
  • Fix - Fix so that selected option works on pageload both for map and select template.
  • Fix - Display selectbox even if only 1 delivery locker/slot is available.
1.0.1
  • Fix - Show select box for delivery options even when Instabox is the only shipping method.
1.0.0
  • Feature - Add support for Instabox Home Delivery (instahome shipment service).
  • Feature - Add support for printing of shipping label.
  • Feature - Add support for Test mode requests.
  • Tweak - Improve error handling when error is returned from Instabox.
  • Tweak - Change parcel_id to use Woo order ID as base instead of order number. Instabox only supports numbers.
  • Tweak - Bump required PHP version to 7.0.
  • Tweak - Adds logging/counting of completed orders with Instabox as shipping method via Trackedil (https://track.krokedil.com/).
  • Tweak - Remove INSTABIKES Instabox shipment type from plugin settings.
  • Fix - Updated settings link from plugin page.
0.4.2
  • Fix - We will now use the shipping address data instead of billing if its available for the shipping availability check.
0.4.1
  • Fix - Changed preselection bug. Now the Woo shipping method is chosen instead of moved to first place when preselection is RECOMMENDED or ALLOWED.
0.4.0
  • Feature - Add Confirm button to map template. Must be clicked in order to change pickup location.
  • Tweak - Increased request timeout time to 10 seconds.
  • Tweak - Updated Norwegian translation + POT file.
0.3.2
  • Tweak - CSS tweak to improve display of map modal window.
0.3.1
  • Fix - Kernl.us config fix.
0.3.0
  • Feature - Add setting for Preselection allowed & Preselection recommended.
  • Tweak - Add expiration time for availability request storage (5 minutes).
  • Tweak - Updates via kernl.us.
  • Fix - Only try to make preebooking request if the order has shipping.
  • Fix - Fix setting for debug logging.
0.2.0
  • Initial release.