Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
TaxJar WooCommerce Plugin v1.6+ Shipping Overrides
<?php
/**
* Manually override shipping taxability in TaxJar for WooCommerce
* Tweak class-wc-taxjar-integration.php around line 332
* https://github.com/taxjar/taxjar-woocommerce-plugin/blob/1.6.1/includes/class-wc-taxjar-integration.php#L332
*/
// Make shipping taxable
if ( 'AZ' == $to_state ) {
$taxes['freight_taxable'] = 1;
}
// Make shipping tax exempt
if ( 'FL' == $to_state ) {
$taxes['freight_taxable'] = 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.