- Posts: 6
- Thank you received: 2
Hikashop passing wrong shipping amount to TaxCloud
- AsbsOnline
-
Topic Author
- Offline
Less
More
9 years 3 months ago #270714
by AsbsOnline
Hikashop passing wrong shipping amount to TaxCloud was created by AsbsOnline
-- 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:
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?
-- 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
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?
Please Log in or Create an account to join the conversation.
9 years 3 months ago #270716
by nicolas
Replied by nicolas on topic Hikashop passing wrong shipping amount to TaxCloud
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.
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.
- AsbsOnline
-
Topic Author
- Offline
Less
More
- Posts: 6
- Thank you received: 2
9 years 3 months ago #270717
by AsbsOnline
Replied by AsbsOnline on topic Hikashop passing wrong shipping amount to TaxCloud
That did it!
Thanks.
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.161 seconds