Sales Tax Calculations

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
sweeperq
Commodore (COMO)
Commodore (COMO)
Posts: 497
Joined: Tue Jan 03, 2006 2:45 pm

Sales Tax Calculations

Post by sweeperq » Tue Oct 09, 2018 8:23 am

Is there any way to bypass Sales Tax Calculations when calling

Code: Select all

basket.Recalculate()
? I'm creating a new Sales Tax Provider for TaxJar. They charge per "transaction". They include API usage as a transaction. Unfortunately, it fires on the basket, and at each stage of the checkout. I only want it to fire on the final stage of checkout after the billing, shipping, and ship method have been selected.

The only alternative I can think of is to look at the source for

Code: Select all

basket.Recalculate()
and create a helper or extension method that performs everything except the tax calculations. Your thoughts?

Post Reply