[Skip to main content](#vessel-content)

#   Hikashop passing wrong shipping amount to TaxCloud

##

- **[AsbsOnline](/forum/user/48796-asbsonline "View AsbsOnline's Profile")**
- [![AsbsOnline's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/48796-asbsonline "View AsbsOnline's Profile") Topic Author
- [ Offline](/forum/user/48796-asbsonline)

Less More

- Posts: 6
- Thank you received: 2
-
-

9 years 4 months ago [\#270714](#270714) by [AsbsOnline](/forum/user/48796-asbsonline "View AsbsOnline's Profile")  *[Hikashop passing wrong shipping amount to TaxCloud](/forum/28-shipping-methods/890476-hikashop-passing-wrong-shipping-amount-to-taxcloud#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:  &#42; USPS  &#42; 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?")* was created by *[AsbsOnline](/forum/user/48796-asbsonline "View AsbsOnline's Profile")*

-- 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.
[ ![USPS.png](/forum/attachment/38390) ](/forum/attachment/38390 "USPS.png")

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.
[ ![UPS.png](/forum/attachment/38391) ](/forum/attachment/38391 "UPS.png")

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?

- [ ![USPS.png](/forum/attachment/38390) ](/forum/attachment/38390 "USPS.png") [ ](/forum/attachment/38390?download=1 "USPS.png")
- [ ![UPS.png](/forum/attachment/38391) ](/forum/attachment/38391 "UPS.png") [ ](/forum/attachment/38391?download=1 "UPS.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODkwNDc2LWhpa2FzaG9wLXBhc3Npbmctd3Jvbmctc2hpcHBpbmctYW1vdW50LXRvLXRheGNsb3VkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86285
- Thank you received: 14263
-
-

9 years 4 months ago [\#270716](#270716) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hikashop passing wrong shipping amount to TaxCloud](/forum/28-shipping-methods/890476-hikashop-passing-wrong-shipping-amount-to-taxcloud#270716 "-- 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:  &#42; USPS  &#42; 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?")*

Hi,

This looks like a bug.
Change the code:
(int)($shipping-&gt;price_with_tax - $shipping-&gt;tax)
to:
($shipping-&gt;price_with_tax - $shipping-&gt;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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODkwNDc2LWhpa2FzaG9wLXBhc3Npbmctd3Jvbmctc2hpcHBpbmctYW1vdW50LXRvLXRheGNsb3VkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[AsbsOnline](/forum/user/48796-asbsonline "View AsbsOnline's Profile")**
- [![AsbsOnline's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/48796-asbsonline "View AsbsOnline's Profile") Topic Author
- [ Offline](/forum/user/48796-asbsonline)

Less More

- Posts: 6
- Thank you received: 2
-
-

9 years 4 months ago [\#270717](#270717) by [AsbsOnline](/forum/user/48796-asbsonline "View AsbsOnline's Profile")  Replied by *[AsbsOnline](/forum/user/48796-asbsonline "View AsbsOnline's Profile")* on topic *[Hikashop passing wrong shipping amount to TaxCloud](/forum/28-shipping-methods/890476-hikashop-passing-wrong-shipping-amount-to-taxcloud#270717 "-- 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:  &#42; USPS  &#42; 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?")*

That did it!

Thanks.

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODkwNDc2LWhpa2FzaG9wLXBhc3Npbmctd3Jvbmctc2hpcHBpbmctYW1vdW50LXRvLXRheGNsb3VkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.182 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
