- Posts: 176
- Thank you received: 5
UPS Shipping Method creates 2 tax links in checkout
8 years 6 months ago #290370
by dustinjc
UPS Shipping Method creates 2 tax links in checkout was created by dustinjc
-- 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
-- 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
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
8 years 6 months ago #290378
by Mohamed Thelji
Replied by Mohamed Thelji on topic UPS Shipping Method creates 2 tax links in checkout
Hello,
You should probably check the value that you have set through the "Product tax category" option of your shipping method configuration page.
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.
8 years 6 months ago #290466
by dustinjc
Replied by dustinjc on topic UPS Shipping Method creates 2 tax links in checkout
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?
Anywhere else we should check?
Please Log in or Create an account to join the conversation.
8 years 5 months ago #290494
by nicolas
Replied by nicolas on topic UPS Shipping Method creates 2 tax links in checkout
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.
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.
8 years 5 months ago #290497
by dustinjc
Replied by dustinjc on topic UPS Shipping Method creates 2 tax links in checkout
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)?
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.
Less
More
- Posts: 12953
- Thank you received: 1778
8 years 5 months ago #290525
by Mohamed Thelji
Replied by Mohamed Thelji on topic UPS Shipping Method creates 2 tax links in checkout
Hello,
You'll just have to make sure that the "Tax category" option of these products and their shipping methods is set to none.
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.
8 years 5 months ago #290561
by dustinjc
Replied by dustinjc on topic UPS Shipping Method creates 2 tax links in checkout
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.
8 years 5 months ago #290585
by nicolas
Replied by nicolas on topic UPS Shipping Method creates 2 tax links in checkout
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.
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.
8 years 5 months ago #290591
by dustinjc
Replied by dustinjc on topic UPS Shipping Method creates 2 tax links in checkout
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.
Tax is still being calculated and charged.
Please Log in or Create an account to join the conversation.
8 years 5 months ago #290593
by nicolas
Replied by nicolas on topic UPS Shipping Method creates 2 tax links in checkout
Hi,
Please contact TaxCloud.
HikaShop only adds the taxes that TaxCloud gives back when you have the TaxCloud plugin activated.
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.250 seconds