Skip to content

Releases

Rate override handler bug fixes

Choose a tag to compare

@ericlakich ericlakich released this 07 Jul 23:36
3d685de

What's Changed

  • Release 3.3.12: merchant rate precedence, recalculation, and label fixes by @ericlakich in #2

Full Changelog: v3.3.1...v3.3.12

v3.3.1

Choose a tag to compare

@ericlakich ericlakich released this 07 Jul 22:47
a68ca61

What's Changed

  • ZIP-1183: prevent stale ZipTax rate rows from applying on their own (v3.3.1) by @ericlakich in #1

New Contributors

Full Changelog: v3.2.2...v3.3.1

Resolves database error issues

Choose a tag to compare

@ericlakich ericlakich released this 01 Apr 20:38

Full Changelog: v3.2.1...v3.2.2

Updated cache and refresh functionality at checkout

Choose a tag to compare

@ericlakich ericlakich released this 27 Mar 20:11

Full Changelog: v3.2.0...v3.2.1

New behavior for cart sales tax calc to require all fields and cache rates

Choose a tag to compare

@ericlakich ericlakich released this 27 Mar 18:13

Full Changelog: v3.1.2...v3.2.0

Updates address param payload to the API

Choose a tag to compare

@ericlakich ericlakich released this 27 Mar 15:55

Full Changelog: v3.1.1...v3.1.2

Plugin review draft with fixes for v3

Choose a tag to compare

@ericlakich ericlakich released this 25 Mar 01:03

Full Changelog: v3.1.0...v3.1.1

Review draft for v3

Choose a tag to compare

@ericlakich ericlakich released this 25 Mar 00:44

Full Changelog: v3.0.2...v3.1.0

v3.0.2

Choose a tag to compare

@ericlakich ericlakich released this 25 Mar 00:32

Full Changelog: v3.0.1...v3.0.2

Functionality patch fixes for v3

Choose a tag to compare

@ericlakich ericlakich released this 25 Mar 00:13

Plugin lifecycle: Activation (PHP version check), deactivation (transient cleanup, orphaned rate row cleanup, cron unscheduling, option cleanup), singleton boot sequence.
WooCommerce load order: WC_Integration subclass deferred to plugins_loaded; non-WC classes loaded early. No fatal error risk.
API client: Both response shapes handled (metadata.response.code and rCode). HTTP error fallback. JSON parse error handling. API key masking in logs. TIC and country support.
Tax rate injection: woocommerce_find_rates filter correctly replaces WC rates for standard tax class only. Non-standard classes (Zero Rate, Reduced Rate) pass through to WC's native lookup.
Per-jurisdiction rate rows: Unique by name+country+state+city. Rate percentage updated on each request. Orphaned rows cleaned daily via WP-Cron.
HPOS compatibility: Declared via FeaturesUtil. Cleanup query branches on OrderUtil::custom_orders_table_usage_is_enabled() — HPOS path uses wc_order_tax_lookup.tax_rate_id, legacy path uses CAST(oim.meta_value AS UNSIGNED). Both correct.
TIC handling: product_tax_rate always set (including 0.0 for exempt products). apply_tic_rates() adjusts line_tax, line_subtotal_tax, and line_tax_data. Delta approach for cart/total tax adjustment. Re-entrancy guard via $is_calculating.
Order line items: woocommerce_checkout_create_order_line_item hook transfers per-item tax data to order.
Caching: Three-tier (memory → session → transient) with 1-hour TTL. Per-TIC in-memory cache within apply_tic_rates().
Settings: First-save-only WC tax configuration via ziptax_wc_tax_configured guard. API key validation. Debug logging toggle.
Product TIC fields: Simple product and variation support. Proper sanitization via absint().
Block checkout compatibility: Works via woocommerce_find_rates filter (used by both classic and block checkout).