Repository navigation
Releases
Rate override handler bug fixes
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
What's Changed
- ZIP-1183: prevent stale ZipTax rate rows from applying on their own (v3.3.1) by @ericlakich in #1
New Contributors
- @ericlakich made their first contribution in #1
Full Changelog: v3.2.2...v3.3.1
Resolves database error issues
Full Changelog: v3.2.1...v3.2.2
Updated cache and refresh functionality at checkout
Full Changelog: v3.2.0...v3.2.1
New behavior for cart sales tax calc to require all fields and cache rates
Full Changelog: v3.1.2...v3.2.0
Updates address param payload to the API
Full Changelog: v3.1.1...v3.1.2
Plugin review draft with fixes for v3
Full Changelog: v3.1.0...v3.1.1
Review draft for v3
Full Changelog: v3.0.2...v3.1.0
v3.0.2
Functionality patch fixes for v3
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).