UPS Shipping Method creates 2 tax links in checkout

  • Posts: 176
  • Thank you received: 5
  • Hikashop Business
6 years 7 months ago #290370

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.3
-- PHP version -- : 7

We are using taxcloud and the UPS shipping plugin. When adding a product with weight and dimension to the checkout and selecting a UPS shipping method there are 2 lines for tax. While using other shipping methods there is only one tax line as expected. How do we fix this?

You can test this issue by adding the product via the provided link and checking out as a guest.

Please note that there is a bug when you add the product to the cart. You will need to refresh to see it in the cart module. A separate thread is open on this bug here: www.hikashop.com/forum/checkout/894260-c...dating-via-ajax.html

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
6 years 7 months ago #290378

Hello,

You should probably check the value that you have set through the "Product tax category" option of your shipping method configuration page.

Please Log in or Create an account to join the conversation.

  • Posts: 176
  • Thank you received: 5
  • Hikashop Business
6 years 7 months ago #290466

I've tried changing that setting. Unfortunately, it results in the two tax lines if set to either "Default tax categlory" or "None". These two values seem to have no effect on this issue.

Anywhere else we should check?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
6 years 7 months ago #290494

Hi,

If you use TaxCloud for your taxes, then it's normal that the "tax category" setting of your shipping methods don't do anything.
That's because in that cases, the taxes for shipping methods are calculated by TaxCloud based on what you set in the "Shipping TIC ID" setting of the TaxCloud plugin.
Did you configure that setting properly ?

Also, since TaxCloud doesn't return the tax rate, only the tax amount, the TaxCloud plugin actually infers the tax rate based on the tax amount with some calculations and rounding. So it's totally possible that the tax rates don't exactly match up because of rounding issues.
Unfortunately, the only way to properly handle that would be for TaxCloud to send back the rate(s) used for the calculation of the tax amount, so that we could use them in the plugin.
Without that, the only solutions to avoid that is either:
- To change the line:
$rate = round($rate * 100, 2) . '%';
in the file plugins/hikashop/taxcloud/taxcloud.php to round the $rate to one decimal instead of two (or something more complex)
- To add a translation override:
TAXCLOUD_TAX="Sales tax"
www.hikashop.com/download/languages.html#modify
That way, the sales tax name won't be dynamic and all the tax rates will be merged together into one line of sales tax.

Please Log in or Create an account to join the conversation.

  • Posts: 176
  • Thank you received: 5
  • Hikashop Business
6 years 7 months ago #290497

That was able to fix the duplicate tax line issue. Thank you.

We do have another related problem. In our situation, tax should not be added to this particular item at all (it's an internal company transfer - not an outside sale). We tried setting the TIC code for the item to a few different options. Even setting to Gift Card 10005 (where no tax should be added) it still calculates and adds tax to the transaction.

How can we make it so no tax is calculated for select products (both for the item and UPS shipping)?

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
6 years 7 months ago #290525

Hello,

You'll just have to make sure that the "Tax category" option of these products and their shipping methods is set to none.

Please Log in or Create an account to join the conversation.

  • Posts: 176
  • Thank you received: 5
  • Hikashop Business
6 years 7 months ago #290561

They both are set to "none" as indicated. However, tax is still being calculated and added.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
6 years 7 months ago #290585

Hi,

No that setting won't help.
You just need to select a TIC that doesn't require taxes. You'll have to ask TaxCloud's support about that.

Please Log in or Create an account to join the conversation.

  • Posts: 176
  • Thank you received: 5
  • Hikashop Business
6 years 7 months ago #290591

We've done that as well. Tried a few different TIC codes. The one it is set at currently for testing is Gift Card (which should not collect tax).

Tax is still being calculated and charged.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
6 years 7 months ago #290593

Hi,

Please contact TaxCloud.
HikaShop only adds the taxes that TaxCloud gives back when you have the TaxCloud plugin activated.

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum