Support » Plugin: TaxJar - Sales Tax Automation for WooCommerce » total is not calculating shipping tax

  • Resolved htgtech


    I am struggling to fix this issue where total is not calculating shipping tax for states which includes taxes on shipping. when i add items to the cart and address of states which actually should caculate shipping cost fails to do so. can anyone help me with this. i am losing a part of my sales dues to this issue.
    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor fastdivision


    If your checkout totals exclude shipping tax, it’s likely that your shipping methods are set to “None” taxable status instead of “Taxable”. Under Settings > Shipping go to your shipping zones. Edit a shipping method such as “Flat Rate” and change the taxable status to “Taxable”:

    After updating your shipping methods, WooCommerce should correctly calculate the total with shipping tax included. We’re planning to introduce an update to our plugin which should prevent this in the future.

    @fastdivision. Thank you very much for the help!!. This fixed it. I appreciate your help, which did not take long to fix it.

    Hi @fastdivision I found that there is one cent tax difference shown in my cart than the response i get from taxjar plugin(Checked through log file). Suppose the taxjar returns amount_to_collect as “1.24”, On my page total tax shows “1.23”. What am i missing to do the proper rounding?

    Plugin Contributor fastdivision


    Hi @htgtech, we’re close to releasing an update that should fix the one cent rounding issue with WooCommerce 3.2.6 and 3.3:

    This should be available within the next couple of weeks. Thank you for your patience!

    @fastdivision Great to hear that. Thanks a lot for the support. Eagerly waiting for your plugin updates. All the best & cheers

    What I did to get past it is by using this script to add a fee in functions.php and putting “free shipping” and removing it from emails and css. If you set taxes on shipping it will be based on how states treat shipping. It’ll be correct for people normally shipping items. However many states have regulations which require you to charge tax on shipping,handling,service fees, etc under special circumstances.

    God help us if we have to pay sales tax in every state. There’s only this plugin and overpriced Avatax.

    *  Tax Shipping Fee On Orders
    function pt_add_handling_fee() {
         global $woocommerce;
         if ( is_admin() && ! defined( 'DOING_AJAX' ) )
         $fee = 9.99;
         $title = 'Flat Shipping Fee';
         $woocommerce->cart->add_fee( $title, $fee, TRUE, 'standard' );
    // Action -> Add custom handling fee to an order
    add_action( 'woocommerce_cart_calculate_fees', 'pt_add_handling_fee' );
    • This reply was modified 2 years, 2 months ago by kimsf.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘total is not calculating shipping tax’ is closed to new replies.