Hikashop passing wrong shipping amount to TaxCloud

  • Posts: 6
  • Thank you received: 2
6 years 10 months ago #270714

-- HikaShop version -- : 3.1.0
-- Joomla version -- : 3.7.2
-- PHP version -- : 7.0
-- Browser(s) name and version -- : Chrome 57.0.2987.133

My client uses a flat shipping rate for UPS and USPS. I created 2 shipping methods based on the HikaShop manual shipping plugin:

  • USPS
  • UPS
For the USPS method, it charges a flat $6.95. You can see the configuration below.


When this passes to TaxCloud at checkout, it just passes $6.00.

For the UPS method, it charges a flat $10.95. You can see the configuration below.


When this passes to TaxCloud at checkout, it just passes $10.00.

My question is this: Why is HikaShop not passing the full shipping cost to TaxCloud?

Attachments:

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

  • Posts: 81509
  • Thank you received: 13064
  • MODERATOR
6 years 10 months ago #270716

Hi,

This looks like a bug.
Change the code:
(int)($shipping->price_with_tax - $shipping->tax)
to:
($shipping->price_with_tax - $shipping->tax)
in the both places where you have it in the file plugins/hikashop/taxcloud/taxcloud.php file and that should work properly.
Please let us know how it goes.

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

  • Posts: 6
  • Thank you received: 2
6 years 10 months ago #270717

That did it!

Thanks.

The following user(s) said Thank You: nicolas

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

Time to create page: 0.071 seconds
Powered by Kunena Forum