Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • seanrock 262 posts 483 karma points
    Jul 02, 2021 @ 09:08
    seanrock
    0

    How to force tax to be recalculated for an entire order

    Hi

    This is related to my other question titled ProductCalculator. I'm using TaxJar to calculate USA sales tax as origin/destination can vary.

    I need to set the tax rate for products in the cart and shipping only after the shipping address has been specified.

    So, is there a way to reset the tax rate for all items in the cart and shipping at a specific point during checkout and recalculate the tax amount?

    Thanks.

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Jul 02, 2021 @ 09:53
    Matt Brailsford
    0

    OOTB Vendr is made to calculate tax as you go along, but I do know one client achieved this by basically zero rating it and then implementing a price adjuster which checked to see if the order had an address and if so, went and calculated the tax and returned a price adjustment that was a zero price, but the tax was the tax for the whole order which seemed to work quite well.

    Unfortunately this was a client who implemented this so I don't have any code, but you can check the docs for details on price adjustments.

    Matt

  • seanrock 262 posts 483 karma points
    Jul 02, 2021 @ 10:33
    seanrock
    0

    Ok I'll see if I can figure it out that way. Thanks.

  • Kyle Eck 130 posts 280 karma points
    Jan 10, 2023 @ 15:13
    Kyle Eck
    0

    SeanRock,

    Matt could of been referring to me as my company also uses TaxJar. Did you end up finding a solution to this? We basically use a Price Adjustment like he mentioned and make everything work. Its not pretty and could use some revisions maybe but at the end of the day it works....

    The only thing is that you need to watch how many times you call the TaxJar API as it will hit you with a charge when billing comes time.

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft