Changelog

Changelog

1.2.3

  • Fix – Improvement in control to avoid error when calculating item subtotal price sent to Ingrid (if line\_tax\_data doesn’t exist on order line).

1.2.2

  • Fix – Avoid error when calculating item subtotal price sent to Ingrid (if line\_tax\_data doesn’t exist on order line).

1.2.1

  • Fix – Use wc\_get\_weight to format and calculate product weight correctly.

1.2.0

  • Feature – Introduce new widget placement setting + use return instead of echo for printing shipping widget.
  • Fix – Fix in how shipping\_class attribute is sent to Ingrid. could cause malformatted body.
  • Fix – Don’t trigger new Ingrid session on action\_woocommerce\_new\_order hook if the order is created in backend.

1.1.2

  • Tweak – Store \_ingrid\_shipment\_info as json instead of php array. Easier for external sources to retrieve shipping data from the order.

1.1.0

  • Feature – Log api errors to db and display them in WC status report. Currently the 10 last errors are stored in db.
  • Fix – Use store base country if customer country is not set when making requests to Ingrid.

1.0.0

  • Tweak – Don’t initiate plugin until plugins\_loaded hook.
  • Tweak – Remove Sentry from plugin.
  • Tweak – Use cart item price instead of product price.
  • Tweak – Change asIntPrice function logic for improved rounding.
  • Tweak – Add nonce check in ajax functions.
  • Tweak – Add new logger class for future usage.
  • Tweak – Limit logging.
  • Fix – Set correct shipping price in add\_rate. Shipping tax should now be calculated correctly in WooCommerce.
  • Fix – Allow null in type declaration in init\_session function.