Closed codyjames closed 7 months ago
If a product's tax category changes, it should likely invalidate the order tax data cache.
This would simply involve changing: https://github.com/craftcms/commerce-taxjar/blob/556f1c45d07e2ec2b8e90e87012973930c492182/src/adjusters/TaxJar.php#L127
to
$lineItems = $count . ':' . $item->getOptionsSignature() . ':' . $item->qty . ':' . $item->getSubtotal() . ':' . $item->taxCategoryId;
Description
If a product's tax category changes, it should likely invalidate the order tax data cache.
This would simply involve changing: https://github.com/craftcms/commerce-taxjar/blob/556f1c45d07e2ec2b8e90e87012973930c492182/src/adjusters/TaxJar.php#L127
to