Public Ticket #3595105

tax on free orders

Closed
Comments
2,762
KingsPlugins replied 3 years ago on February 28, 2024 at 7:42pm

Hi Dan,

I'd like to help find a solution for this. I'd need a bit more info to understand what's going on there.

Can you tell me, how or through which plugin or method are these discounts created?

7720931069.png


If you deactivate the B2BKing plugins, does the tax amount there disappear? 

Generally the tax itself is added by WooCommerce, B2BKing would only add tax exemptions or specific rules.


If you'd like, we can check this directly on the site. For that, I would need a backend login to the site, or a staging clone site,


Kind regards,

Stefan


4 Tickets 1
Dan replied 3 years ago on February 28, 2024 at 9:13pm

Hi Stefan,

I can use a coupon code to make the order and shipping free and then no tax is charged. However when logged into my trade account with B2BKing, the same order and shipping is free via dynamic rules but then tax is charged. This is why I think it is related to B2BKing. I can provide backend login info if necessary.

2,762
KingsPlugins replied 3 years ago on March 4, 2024 at 5:06am

It might have to do with how the rules are configured.

It would be great if I could check directly with a backend login. Please also let me know how to reproduce it: what items can I add to cart as B2B to be able to see the issue?

2,762
KingsPlugins replied 3 years ago on March 7, 2024 at 9:00am

Thank you for the access details,


The problem seems to be the following: The site is not calculating the tax through WooCommerce. In WooCommerce taxes are set to 0. The tax is added later on by the Avalara AvaTax plugin. 

It seems it works differently internally. Even if I try in B2BKing to add a discount such as "1000000", the final still includes tax. It seems that Avalara is adding the tax *after* the B2BKing discounts.


I may have found a workaround. Instead of setting a 100% discount, I tried setting a fixed price of 0 in the dynamic rule:

3935825761.png

Since the price is 0 directly, there is no tax.

Let me know if that can help solve it,

Sign In