Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[2.33.0] 2023-05-23

Fixed

  • PHP 8.1 compatibility patches to licensing and language class

[2.32.0] 2023-05-01

Fixed

  • PHP 8.1 compatibility patches

[2.31.0] 2022-11-15

Changed

  • PHP 8.1 compatibility upgrades

[2.30.0] 2022-08-24

Changed

  • Expanded event log field sizes to store data for large invoices

Fixed

  • VAT Tax custom field selection dialog in config

Added

  • Option to select default WHMCS Tax ID for VAT field
  • Missing admin language for address validation error
  • Tax Exemption flag observance

[2.29.0] 2021-08-20

Changed

  • Improved segmentation of admin only storage behavior

Removed

  • Old hooks methods no longer used

[2.28.0] 2021-08-03

Added

  • License Status displayed in Addon Config area
  • TaxCode and Product reference stored with Billable Items
  • Added public method for storing system taxCodes definitions wbAvaTax_Common::storeRelatedTaxCode( $type, $relid, $taxCode, $productId )

[2.27.0] 2021-07-14

Changed

  • Changed API address validation field requirements
  • Changed password field in API Sandbox to password type

Added

  • Module license key validation q(SEE DOCS)

[2.26.0] 2021-07-12

Changed

  • Made getTax cache usage more aggressive during invoice events (SEE DOCS)

Added

  • Officially included WHMCS 8.2 CartItemsTax event support
  • View detail button to Activity Log
  • Config option support to new client checkout handler
  • Prorate and Prorate Next Cycle handling to new client checkout handler

Fixed

  • Fixed log data formatter to strip null key characters

[2.25.0] 2021-06-16

Added

  • Memory usage monitor for cron operation, abort if usage over 50%
  • Product config option tax separation for client cart

Changed

  • Updated history log post to better acquire creation datetime
  • Changed product addon tax application approach for primary items during CartItemsTax event

[2.24.0] 2021-05-27

Changed

  • Updates to cycle / product type handling on client cart invoice preparation

[2.23.0] 2021-05-26

Changed

  • Updated billing cycle taxes applied to template vars during checkout
  • Expanded session cart data & matching during CartItemsTax event
  • Billing cycle price determination behavior during cart checkout

Fixed

  • Client currency lookup during client checkout preparation

[2.22.0] 2021-05-19

Added

  • Fallback tax lookup during CartItemsTax event
  • Flush transient wbavatax session during AfterShoppingCartCheckout event

Fixed

  • Language in API client & log event definition

[2.21.0] 2021-05-19

Added

  • "Tax" language definition for client area

Fixed

  • t654491: Double tax conflict during CartItemsTax event
  • Exclude WHMCS tax behavior triggering 0.00 tax total during CartItemsTax event

[2.20.0] 2021-05-12

Added

  • Manual Redo button to the Audit log for Aborted records

[2.19.0] 2021-05-12

Added

  • wbAvaTax_Common::queryTaxOnClientCart() operation for local cart calculation

Changed

  • Replaced client checkout getTax behavior to limit requirements to session cart data

[2.18.0] 2021-04-28

Added

  • Implemented temporary WHMCS solution to include tax in Stripe & Paypal intent requests

Changed

  • improved address validation response message formatting
  • formatting of ItemCode sent to Avalara
  • postcode implementation styles

[2.17.0] 2021-03-17

Changed

  • Updated global $client object usage for WHMCS 8.1.3 order compatability

[2.16.0] 2021-03-04

Added

  • Import / Export for addon configuration

Fixed

  • Error in success handler causing invalid "Aborted" sync status

[2.15.0] 2021-02-19

Added

  • Language support to address validation modal view

Fixed

  • Invalid class usage in address validation modal view

[2.14.1] 2021-02-16

Changed

  • Consolidate date behavior to follow WHMCS standard

[2.14.0] 2021-02-04

Added

  • Aborted audit sync_status
  • Request handler for Notice level behavior
  • Aborted record reset to the module settings page

[2.13.0.0] 2020-08-05

Added

  • setup/Setup line item type handling

Changed

  • product price collection from WHMCS ClientAreaPage products array

Fixed

  • Type on addon id translation during tax collection for calculation

[2.12.0.0] 2020-08-05

Added

  • wbAvaTax_Common::redirect( $url ) method
  • wbAvaTax_Common::getClient( $userid ) method
  • wbAvaTax_Common::countryAddressFormat( $validationAddress ) method
  • wbAvaTax_Common::prepareAddressValidationMessage( $validationResponse ) method

Changed

  • Improved state selection tabindex implementation
  • Refactored address validation to use Bootstrap modal, provide more fluid & reliable experience, and work with Stripe style gateways

Fixed

  • fixed typo of Exclusive tax type default used with connector

[2.11.0.0] 2020-05-14

Changed

  • Replaced DISABLE configuration language/logic with ENABLE

[2.10.0.0] 2020-05-14

Changed

  • Moved validation error messages into language handler

Added

  • Added Canadian provinces to the state (abbr) dropdown override
  • Added missing address validation error response on ShoppingCartValidateCheckout

[2.9.0.0] 2020-04-30

Changed

  • Changed format of address validation confirmation dialog for US, UK, EU Members

Fixed

  • Automatic validation storage query failure
  • Client checkout US states drop-down reflecting readonly behavior for existing users

[2.8.0.0] 2020-02-28

Changed

  • Changed lookup for client invoice data for WHMCS backward compatability

[2.7.0.0] 2019-12-10

Added

  • support for client invoice tax line item display WHMCS > 7.8
  • 2-char country code abbreviation assertion on client address validation

Changed

  • improved audit query for large database performance
  • removed "h:ia" from data audit creation date column format
  • client shopping cart state/country code assertion

Fixed

  • patched address lookup query on client address validation
  • broken implementation of WHMCS Tax exclusion feature
  • patched erroneous value in state select field JS

[2.6.0.0] 2019-05-14

Added

  • support for pulling TaxCode for promotional invoice lines from affected item

Fixed

  • re-enabled the forecast tax for recurring payments during checkout

[2.5.0.0] 2019-04-17

Added

  • passive error during client address validation when response is "Country Not Supported"

Fixed

  • redirect on accept address validation change in admin client profile view

[2.4.0.0] 2019-04-09

Added

  • option to post only invoices with a tax value
  • option to define a tax calculation country filter, restricting tax events to specified country codes
  • bypass filter configuration display toggle in addon settings view

Removed

  • display of specific avalara response to client on address validation error

Fixed

  • configuration load loop when installing to fresh database

[2.3.1.0] 2019-03-28

Changed

  • lookup for product/addon to seek pid/aid if provided with invoiceItem

[2.3.0.0] 2019-03-28

Added

  • currency code transmitted with getTax and refundTax operations

[2.2.0.0] 2019-03-26

Changed

  • payload preparation for getTax request during cart operation for guest
  • payload requirements in getTax connector to validate on clientAddress, allowing guest
  • payload requirements in getTax connector making clientData optional requirements

Removed

  • client css include from header (never existed)

[2.1.0.0] 2019-03-20

Added

  • logs, validateAddress to the API

Changed

  • cron/deleteMissingInvoices updaqte report to show purged & remaining
  • Audit list view cleanup columns for missing invoice
  • Audit list return cached invoice_id (so visible in report if invoice is missing)
  • Comparison for modified valiidation address to case incensitive

Fixed

  • Warnings in API sandbox
  • Enum option list rendering
  • XML rendering mixed content array to string error

[2.0.1.0] 2019-03-20

Changed

  • Current version identification on update

[2.0.0.0] 2019-03-19

Added

  • Invoice status tracking and lazy AvaTax syncronization
  • Cron integration for synchronization
  • Invoice Audit view and csv export
  • Sortable columns, csv export, adn additional filters to existing history report
  • Abort on error during client checkout option
  • Controller / View architecture with unencoded view files

Changed

  • Heavy refactoring of several operations into portable controllers
  • Summary column on History report now displays per-item summary
  • Application of tax value to invoice, using now strict value to instead of rate evaluation

[1.7.2.1] 2019-02-04

Added

  • Patch invalid function call
  • Added checkout break when GetTax communication returns an error or fails

[1.7.2] 2019-01-31

Added

  • Postcode field to client tax estimation form (required by Avalara for estimate)

[1.7.1] 2018-12-05

Added

  • Language changes to include link to TaxCode resources on avalara.com

[1.7.0] 2018-08-16

Changed

  • Patched Language assignment bug
  • Patched JS placement of addon taxcode field

[1.6.0] 2017-02-23

Changed

  • PHP v7 Compatibility
  • Patched PHP warnings on exclude rules
  • Patched UpdateInvoiceTotal event to format large values properly before inserting to the database.