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

#   Shipping Tax in Google Checkout

##

- **[spotstv](/forum/user/10299-spotstv "View spotstv's Profile")**
- [![spotstv's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar10299.png)](/forum/user/10299-spotstv "View spotstv's Profile") Topic Author
- [ Offline](/forum/user/10299-spotstv)

Less More

- Posts: 75
- Thank you received: 1
-
-

13 years 6 months ago -  13 years 6 months ago [\#102170](#102170) by [spotstv](/forum/user/10299-spotstv "View spotstv's Profile")  *[Shipping Tax in Google Checkout](/forum/2-general-talk-about-hikashop/81340-shipping-tax-in-google-checkout#102170 "Hi,  Have created a store with UK Tax (VAT) at 20% and this is the default tax category, I have set up a shipping method (see screen shot) both the shipping method and the product use the Default Tax Category and in the check out the VAT is calculated correctly BUT when you go to the Google Checkout page the Shipping total has increased by the VAT amount and the total updated accordingly.  e.g.  Cart shows - this is correct Product1 £10.00 Shipping £3.50 VAT £2.70 Total £16.20  But Google checkout shows - this is incorrect (shipping has VAT added 70p) Product1 £10.00 Shipping £4.20 VAT £2.70 Total £16.90  I can't see what going wrong here but this happens with other shipping method too.  Can you advise?  Regards Tim")* was created by *[spotstv](/forum/user/10299-spotstv "View spotstv's Profile")*

Hi,

Have created a store with UK Tax (VAT) at 20% and this is the default tax category, I have set up a shipping method (see screen shot) both the shipping method and the product use the Default Tax Category and in the check out the VAT is calculated correctly BUT when you go to the Google Checkout page the Shipping total has increased by the VAT amount and the total updated accordingly.

e.g.

Cart shows - this is correct
Product1 £10.00
Shipping £3.50
VAT £2.70
Total £16.20

But Google checkout shows - this is incorrect (shipping has VAT added 70p)
Product1 £10.00
Shipping £4.20
VAT £2.70
Total £16.90

I can't see what going wrong here but this happens with other shipping method too.

Can you advise?

Regards
Tim

- [ ![Screen&#95;Shot&#95;2013-05-03&#95;at&#95;15&#95;09&#95;03.png](/forum/attachment/9964) ](/forum/attachment/9964 "...t&#95;15&#95;09&#95;03.png") [ ](/forum/attachment/9964?download=1 "...t&#95;15&#95;09&#95;03.png")

Last edit: 13 years 6 months ago by [spotstv](/forum/user/10299-spotstv "View spotstv's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

13 years 6 months ago [\#102507](#102507) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Shipping Tax in Google Checkout](/forum/2-general-talk-about-hikashop/81340-shipping-tax-in-google-checkout#102507 "Hi,  Have created a store with UK Tax (VAT) at 20% and this is the default tax category, I have set up a shipping method (see screen shot) both the shipping method and the product use the Default Tax Category and in the check out the VAT is calculated correctly BUT when you go to the Google Checkout page the Shipping total has increased by the VAT amount and the total updated accordingly.  e.g.  Cart shows - this is correct Product1 £10.00 Shipping £3.50 VAT £2.70 Total £16.20  But Google checkout shows - this is incorrect (shipping has VAT added 70p) Product1 £10.00 Shipping £4.20 VAT £2.70 Total £16.90  I can't see what going wrong here but this happens with other shipping method too.  Can you advise?  Regards Tim")*

Hi,

Can you activate the debug mode in Google checkout in order to see the XML content sent to Google ?

Thanks,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[spotstv](/forum/user/10299-spotstv "View spotstv's Profile")**
- [![spotstv's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar10299.png)](/forum/user/10299-spotstv "View spotstv's Profile") Topic Author
- [ Offline](/forum/user/10299-spotstv)

Less More

- Posts: 75
- Thank you received: 1
-
-

13 years 6 months ago [\#102605](#102605) by [spotstv](/forum/user/10299-spotstv "View spotstv's Profile")  Replied by *[spotstv](/forum/user/10299-spotstv "View spotstv's Profile")* on topic *[Shipping Tax in Google Checkout](/forum/2-general-talk-about-hikashop/81340-shipping-tax-in-google-checkout#102605 "Hi,  Have created a store with UK Tax (VAT) at 20% and this is the default tax category, I have set up a shipping method (see screen shot) both the shipping method and the product use the Default Tax Category and in the check out the VAT is calculated correctly BUT when you go to the Google Checkout page the Shipping total has increased by the VAT amount and the total updated accordingly.  e.g.  Cart shows - this is correct Product1 £10.00 Shipping £3.50 VAT £2.70 Total £16.20  But Google checkout shows - this is incorrect (shipping has VAT added 70p) Product1 £10.00 Shipping £4.20 VAT £2.70 Total £16.90  I can't see what going wrong here but this happens with other shipping method too.  Can you advise?  Regards Tim")*

Hi

Screen shot of Google XML - looks like the Shipping total is being set with VAT.

Tim

- [ ![Screen&#95;Shot&#95;2013-05-07&#95;at&#95;07&#95;52&#95;43.png](/forum/attachment/10003) ](/forum/attachment/10003 "...t&#95;07&#95;52&#95;43.png") [ ](/forum/attachment/10003?download=1 "...t&#95;07&#95;52&#95;43.png")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

13 years 6 months ago [\#102662](#102662) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Shipping Tax in Google Checkout](/forum/2-general-talk-about-hikashop/81340-shipping-tax-in-google-checkout#102662 "Hi,  Have created a store with UK Tax (VAT) at 20% and this is the default tax category, I have set up a shipping method (see screen shot) both the shipping method and the product use the Default Tax Category and in the check out the VAT is calculated correctly BUT when you go to the Google Checkout page the Shipping total has increased by the VAT amount and the total updated accordingly.  e.g.  Cart shows - this is correct Product1 £10.00 Shipping £3.50 VAT £2.70 Total £16.20  But Google checkout shows - this is incorrect (shipping has VAT added 70p) Product1 £10.00 Shipping £4.20 VAT £2.70 Total £16.90  I can't see what going wrong here but this happens with other shipping method too.  Can you advise?  Regards Tim")*

Hi,

Thanks for the screenshot.
Please edit the plugin "plugins/hikashoppayment/googlecheckout/googlecheckout.php" and replace the code Code:

if($order-&gt;order_shipping_price &gt; 0 ) $data .= '&lt;item&gt;&lt;item-name&gt;Order #'.$order-&gt;order_id.' - '.JText::_('HIKASHOP_SHIPPING').' &lt;/item-name&gt;&lt;item-description&gt;&lt;/item-description&gt;&lt;unit-price currency="'.$this-&gt;currency-&gt;currency_code.'"&gt;'.$order-&gt;order_shipping_price.'&lt;/unit-price&gt;&lt;quantity&gt;1&lt;/quantity&gt;&lt;/item&gt;';

By: Code:

$shipping_price = 0.0; if(!empty($order-&gt;order_shipping_price)) { $shipping_price = $order-&gt;order_shipping_price; if(!empty($order-&gt;order_shipping_tax)) $shipping_price -= $order-&gt;order_shipping_tax; } if($shipping_price &gt; 0 ) $data .= '&lt;item&gt;&lt;item-name&gt;Order #'.$order-&gt;order_id.' - '.JText::_('HIKASHOP_SHIPPING').' &lt;/item-name&gt;&lt;item-description&gt;&lt;/item-description&gt;&lt;unit-price currency="'.$currency-&gt;currency_code.'"&gt;'.$shipping_price.'&lt;/unit-price&gt;&lt;quantity&gt;1&lt;/quantity&gt;&lt;/item&gt;';

At this moment, the shipping price which will be send to google will be the price without taxes.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[spotstv](/forum/user/10299-spotstv "View spotstv's Profile")**
- [![spotstv's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar10299.png)](/forum/user/10299-spotstv "View spotstv's Profile") Topic Author
- [ Offline](/forum/user/10299-spotstv)

Less More

- Posts: 75
- Thank you received: 1
-
-

13 years 6 months ago [\#102703](#102703) by [spotstv](/forum/user/10299-spotstv "View spotstv's Profile")  Replied by *[spotstv](/forum/user/10299-spotstv "View spotstv's Profile")* on topic *[Shipping Tax in Google Checkout](/forum/2-general-talk-about-hikashop/81340-shipping-tax-in-google-checkout#102703 "Hi,  Have created a store with UK Tax (VAT) at 20% and this is the default tax category, I have set up a shipping method (see screen shot) both the shipping method and the product use the Default Tax Category and in the check out the VAT is calculated correctly BUT when you go to the Google Checkout page the Shipping total has increased by the VAT amount and the total updated accordingly.  e.g.  Cart shows - this is correct Product1 £10.00 Shipping £3.50 VAT £2.70 Total £16.20  But Google checkout shows - this is incorrect (shipping has VAT added 70p) Product1 £10.00 Shipping £4.20 VAT £2.70 Total £16.90  I can't see what going wrong here but this happens with other shipping method too.  Can you advise?  Regards Tim")*

Fantastic! Thank you for a speedy fix.

Regards
Tim

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgxMzQwLXNoaXBwaW5nLXRheC1pbi1nb29nbGUtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) 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.063 seconds

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