Total amount incorrect on TAX rates overview

  • Posts: 582
  • Thank you received: 22
  • Hikaserial Subscription Hikashop Multisite
2 years 5 months ago #335400

-- HikaShop version -- : 4.4.3
-- Joomla version -- : 3.10.1
-- PHP version -- : 7.x

Hi Support,

See the TAX rates overview for July, there is only one order with 9% VAT.
But when you look at the order you see difference in the order and in the TAX rates overview.

Is this a bug?

We have this same issue with all 21% VAT rates.

Screenshot



Hope you can take a look

UPDATE: 21-10-2021 Please fix this issue!

Kind reagrds,
Lumiga


Kind regards,
Lumiga
Attachments:
Last edit: 2 years 4 months ago by Lumiga.

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

  • Posts: 582
  • Thank you received: 22
  • Hikaserial Subscription Hikashop Multisite
2 years 5 months ago #335407

Same issue with 21%


Kind regards,
Lumiga
Attachments:

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

  • Posts: 582
  • Thank you received: 22
  • Hikaserial Subscription Hikashop Multisite
2 years 5 months ago #335570

Is there anything else I can help with?
Do you need any additional information?
Please let me know if you are working on this.


Kind regards,
Lumiga

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

  • Posts: 582
  • Thank you received: 22
  • Hikaserial Subscription Hikashop Multisite
2 years 5 months ago #335861

When do you plan to watch this?
It's very important to us.


Kind regards,
Lumiga

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

  • Posts: 81118
  • Thank you received: 12981
  • MODERATOR
2 years 5 months ago #335869

Hi,

Sorry for the delay.
I've looked at the issue.
I think that this is a side effect of the code modification I made to better handle orders with 0% taxes.
One of the changes I had made for that was to add the code:

if(isset($tax->amount))
									$order->order_tax_info[$tax->tax_namekey]->amount += $tax->amount;
in the file administrator/components/com_hikashop/classes/order.php
This lead to the tax amount containing twice the shipping fee when the order didn't had a 0% tax.
I propose to change that code to:
if(isset($tax->amount) && empty($order->order_tax_info[$tax->tax_namekey]->amount))
									$order->order_tax_info[$tax->tax_namekey]->amount = $tax->amount;
That way, it will only set the amount from the shipping if there isn't already an amount. That should hopefully fix the issue for newer orders going forward.
Could you try this out ?

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

  • Posts: 582
  • Thank you received: 22
  • Hikaserial Subscription Hikashop Multisite
2 years 5 months ago #335895

Hi Nicolas,

I think issue is still not solved.
See screenshot with an order before and a new order after code change.





Kind regards.
Lumiga


Kind regards,
Lumiga
Attachments:

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

  • Posts: 582
  • Thank you received: 22
  • Hikaserial Subscription Hikashop Multisite
2 years 4 months ago #335951

Would be nice if we can fix this before the end of September due to tax return.


Kind regards,
Lumiga

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

  • Posts: 582
  • Thank you received: 22
  • Hikaserial Subscription Hikashop Multisite
2 years 4 months ago #336083

Hi Nicolas, could you look into this shortly please, this issue has been going on for more than 3 months and I still have to prepare the tax return for customers because it is not correct in Hikashop yet.


Kind regards,
Lumiga

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

  • Posts: 582
  • Thank you received: 22
  • Hikaserial Subscription Hikashop Multisite
2 years 4 months ago #336447

Please take a look at this issue!


Kind regards,
Lumiga
Last edit: 2 years 3 months ago by Lumiga.

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

  • Posts: 12953
  • Thank you received: 1777
2 years 3 months ago #337025

Hello Lumiga,

We just made a fix regarding that issue through the last Hikashop package. Can you download it through our website, install it and test it again ? Thank you.

Regarding the test, can you watch how the "Total amount" and "Total tax amount" are evolving after every new orders to see if the amount added is correct.
If you're still having issues, we'll directly investigate it on your website, so we'll probably ask you a temporary back-end and FTP access.

Thanks a lot for your feedback and patience.
Kind regards,
Mohamed.

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

  • Posts: 582
  • Thank you received: 22
  • Hikaserial Subscription Hikashop Multisite
2 years 3 weeks ago #339207

Hi Mohamed,

Sorry for my late reply but we update the website to the updated 4.4.5 and with our test we still see issues.

See example below on acceptation server where you already have login from.


Kind regards,
Lumiga
Attachments:
Last edit: 2 years 3 weeks ago by Lumiga.

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

  • Posts: 12953
  • Thank you received: 1777
2 years 3 weeks ago #339216

Hello Lumiga,

Did you test it with orders which were created before you updated your HikaShop version ?

If that's the case, can you test it with a new order so that we can be sure that the fix wasn't effective ?
Else, can you send us a temporary back-end access to your website so that we can directly check your configuration using our contact form and by specifying a link to that thread in your message :
www.hikashop.com/support/contact-us.html

Kind regards,
Mohamed.

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

  • Posts: 582
  • Thank you received: 22
  • Hikaserial Subscription Hikashop Multisite
2 years 2 days ago #339711

Yes, we did the test after the update. We have send you our credentials!


Kind regards,
Lumiga

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

  • Posts: 582
  • Thank you received: 22
  • Hikaserial Subscription Hikashop Multisite
1 year 11 months ago #340349

Is there any news yet?


Kind regards,
Lumiga

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

Time to create page: 0.116 seconds
Powered by Kunena Forum