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

#   Australia Post module and GST

##

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

Less More

- Posts: 14
- Thank you received: 0
-
-

15 years 1 month ago [\#25247](#25247) by [pedrof](/forum/user/726-pedrof "View pedrof's Profile")  *[Australia Post module and GST](/forum/4-how-to/25247-australia-post-module-and-gst#25247 "Hi all  I have a question about the Australia Post shipping module.  The price returned from Australia Post via the lookup process includes GST (10%).  In the shipping module, with the Tax Category set to none, I get the correct shipping cost in the checkout process, but the tax total is incorrect as it doesn't show the tax which was already included on the shipping.  If I set the Tax Category to GST in the module, it adds 10% to the shipping price. I get the 10% higher shipping cost in the checkout process and the tax calculation is correct.  I believe that Hikashop is working correctly, except we need to decrease the shipping price by an 11th of the price in the shipping module.  Has anyone worked around this issue or do we need to change code to resolve this/  Thanks Peter")* was created by *[pedrof](/forum/user/726-pedrof "View pedrof's Profile")*

Hi all

I have a question about the Australia Post shipping module.

The price returned from Australia Post via the lookup process includes GST (10%).

In the shipping module, with the Tax Category set to none, I get the correct shipping cost in the checkout process, but the tax total is incorrect as it doesn't show the tax which was already included on the shipping.

If I set the Tax Category to GST in the module, it adds 10% to the shipping price. I get the 10% higher shipping cost in the checkout process and the tax calculation is correct.

I believe that Hikashop is working correctly, except we need to decrease the shipping price by an 11th of the price in the shipping module.

Has anyone worked around this issue or do we need to change code to resolve this/

Thanks
Peter

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI1MjQ3LWF1c3RyYWxpYS1wb3N0LW1vZHVsZS1hbmQtZ3N0P3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

15 years 1 month ago [\#25249](#25249) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Australia Post module and GST](/forum/4-how-to/25247-australia-post-module-and-gst#25249 "Hi all  I have a question about the Australia Post shipping module.  The price returned from Australia Post via the lookup process includes GST (10%).  In the shipping module, with the Tax Category set to none, I get the correct shipping cost in the checkout process, but the tax total is incorrect as it doesn't show the tax which was already included on the shipping.  If I set the Tax Category to GST in the module, it adds 10% to the shipping price. I get the 10% higher shipping cost in the checkout process and the tax calculation is correct.  I believe that Hikashop is working correctly, except we need to decrease the shipping price by an 11th of the price in the shipping module.  Has anyone worked around this issue or do we need to change code to resolve this/  Thanks Peter")*

Hi,

Indeed, that's the case. We didn't know that the shipping price was given including taxes by australia post.
The solution is the add the code: Code:

$currencyClass = hikashop_get('class.currency'); if(@$rates[$type]-&gt;shipping_tax_id) $data['charge'] = $currencyClass-&gt;getUntaxedPrice($data['charge'],hikashop_getZone(),$rates[$type]-&gt;shipping_tax_id);

before the code: Code:

$rates[$type]-&gt;shipping_price += $data['charge'];

in the file plugins/hikashopshipping/aupost.php so that once the tax is set in the shipping plugin options, it works properly.

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

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

Less More

- Posts: 14
- Thank you received: 0
-
-

15 years 1 month ago -  15 years 1 month ago [\#25267](#25267) by [pedrof](/forum/user/726-pedrof "View pedrof's Profile")  Replied by *[pedrof](/forum/user/726-pedrof "View pedrof's Profile")* on topic *[Re: Australia Post module and GST](/forum/4-how-to/25247-australia-post-module-and-gst#25267 "Hi all  I have a question about the Australia Post shipping module.  The price returned from Australia Post via the lookup process includes GST (10%).  In the shipping module, with the Tax Category set to none, I get the correct shipping cost in the checkout process, but the tax total is incorrect as it doesn't show the tax which was already included on the shipping.  If I set the Tax Category to GST in the module, it adds 10% to the shipping price. I get the 10% higher shipping cost in the checkout process and the tax calculation is correct.  I believe that Hikashop is working correctly, except we need to decrease the shipping price by an 11th of the price in the shipping module.  Has anyone worked around this issue or do we need to change code to resolve this/  Thanks Peter")*

Hi Nicolas

Thanks for the prompt reply - that has resolved the issue, great support. Will you incorporate that change into a future release?

When I was testing this, I noticed that if the user logs in before checking out, the shipping and product costs are not totalled, but the amount is correct when it connects to paypal for payment. If the user logs on, adds a product to the cart, then checks out, the totals are correct.

image missing http://www.hikashop.com/media/kunena/attachments/legacy/images/login_after_checkout.JPG

Cheers
Peter

- [ ![login&#95;after&#95;checkout.JPG](/forum/attachment/1736) ](/forum/attachment/1736 "...r&#95;checkout.JPG") [ ](/forum/attachment/1736?download=1 "...r&#95;checkout.JPG")

Last edit: 15 years 1 month ago by [pedrof](/forum/user/726-pedrof "View pedrof's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI1MjQ3LWF1c3RyYWxpYS1wb3N0LW1vZHVsZS1hbmQtZ3N0P3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

15 years 1 month ago [\#25269](#25269) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Australia Post module and GST](/forum/4-how-to/25247-australia-post-module-and-gst#25269 "Hi all  I have a question about the Australia Post shipping module.  The price returned from Australia Post via the lookup process includes GST (10%).  In the shipping module, with the Tax Category set to none, I get the correct shipping cost in the checkout process, but the tax total is incorrect as it doesn't show the tax which was already included on the shipping.  If I set the Tax Category to GST in the module, it adds 10% to the shipping price. I get the 10% higher shipping cost in the checkout process and the tax calculation is correct.  I believe that Hikashop is working correctly, except we need to decrease the shipping price by an 11th of the price in the shipping module.  Has anyone worked around this issue or do we need to change code to resolve this/  Thanks Peter")*

That's an issue which was corrected in previous versions of HikaShop. You're probably not using the latest version.

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

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

Less More

- Posts: 14
- Thank you received: 0
-
-

15 years 1 month ago [\#25272](#25272) by [pedrof](/forum/user/726-pedrof "View pedrof's Profile")  Replied by *[pedrof](/forum/user/726-pedrof "View pedrof's Profile")* on topic *[Re: Australia Post module and GST](/forum/4-how-to/25247-australia-post-module-and-gst#25272 "Hi all  I have a question about the Australia Post shipping module.  The price returned from Australia Post via the lookup process includes GST (10%).  In the shipping module, with the Tax Category set to none, I get the correct shipping cost in the checkout process, but the tax total is incorrect as it doesn't show the tax which was already included on the shipping.  If I set the Tax Category to GST in the module, it adds 10% to the shipping price. I get the 10% higher shipping cost in the checkout process and the tax calculation is correct.  I believe that Hikashop is working correctly, except we need to decrease the shipping price by an 11th of the price in the shipping module.  Has anyone worked around this issue or do we need to change code to resolve this/  Thanks Peter")*

Hi Nicholas

I am using 1.5.3

I just reverted to the old aupost.php and it works correctly, the issue occurs with the updated code.

If you need access to the site to test, please email me.

Cheers
Peter

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI1MjQ3LWF1c3RyYWxpYS1wb3N0LW1vZHVsZS1hbmQtZ3N0P3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

15 years 1 month ago [\#25275](#25275) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Australia Post module and GST](/forum/4-how-to/25247-australia-post-module-and-gst#25275 "Hi all  I have a question about the Australia Post shipping module.  The price returned from Australia Post via the lookup process includes GST (10%).  In the shipping module, with the Tax Category set to none, I get the correct shipping cost in the checkout process, but the tax total is incorrect as it doesn't show the tax which was already included on the shipping.  If I set the Tax Category to GST in the module, it adds 10% to the shipping price. I get the 10% higher shipping cost in the checkout process and the tax calculation is correct.  I believe that Hikashop is working correctly, except we need to decrease the shipping price by an 11th of the price in the shipping module.  Has anyone worked around this issue or do we need to change code to resolve this/  Thanks Peter")*

And yes, we'll add that modification on our end in the next release.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI1MjQ3LWF1c3RyYWxpYS1wb3N0LW1vZHVsZS1hbmQtZ3N0P3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

15 years 1 month ago [\#25276](#25276) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Australia Post module and GST](/forum/4-how-to/25247-australia-post-module-and-gst#25276 "Hi all  I have a question about the Australia Post shipping module.  The price returned from Australia Post via the lookup process includes GST (10%).  In the shipping module, with the Tax Category set to none, I get the correct shipping cost in the checkout process, but the tax total is incorrect as it doesn't show the tax which was already included on the shipping.  If I set the Tax Category to GST in the module, it adds 10% to the shipping price. I get the 10% higher shipping cost in the checkout process and the tax calculation is correct.  I believe that Hikashop is working correctly, except we need to decrease the shipping price by an 11th of the price in the shipping module.  Has anyone worked around this issue or do we need to change code to resolve this/  Thanks Peter")*

That modification doesn't change anything to the way the total is calculated so it's not related.

By the way, the total not being correct is just a matter of data cache. if you refresh the page, you should see the correct total. If you use the latest version, you should not have that problem. Could you give a link to your shop so that we can see the problem ?

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

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

Less More

- Posts: 14
- Thank you received: 0
-
-

15 years 1 month ago [\#25283](#25283) by [pedrof](/forum/user/726-pedrof "View pedrof's Profile")  Replied by *[pedrof](/forum/user/726-pedrof "View pedrof's Profile")* on topic *[Re: Australia Post module and GST](/forum/4-how-to/25247-australia-post-module-and-gst#25283 "Hi all  I have a question about the Australia Post shipping module.  The price returned from Australia Post via the lookup process includes GST (10%).  In the shipping module, with the Tax Category set to none, I get the correct shipping cost in the checkout process, but the tax total is incorrect as it doesn't show the tax which was already included on the shipping.  If I set the Tax Category to GST in the module, it adds 10% to the shipping price. I get the 10% higher shipping cost in the checkout process and the tax calculation is correct.  I believe that Hikashop is working correctly, except we need to decrease the shipping price by an 11th of the price in the shipping module.  Has anyone worked around this issue or do we need to change code to resolve this/  Thanks Peter")*

Hi

The website is [ www.gulfbrewery.com.au](http://www.gulfbrewery.com.au)
Just pick the first beer in the list. There is a test user frogger with a password of frogger.

Cheers
Peter

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI1MjQ3LWF1c3RyYWxpYS1wb3N0LW1vZHVsZS1hbmQtZ3N0P3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

15 years 1 month ago [\#25306](#25306) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Australia Post module and GST](/forum/4-how-to/25247-australia-post-module-and-gst#25306 "Hi all  I have a question about the Australia Post shipping module.  The price returned from Australia Post via the lookup process includes GST (10%).  In the shipping module, with the Tax Category set to none, I get the correct shipping cost in the checkout process, but the tax total is incorrect as it doesn't show the tax which was already included on the shipping.  If I set the Tax Category to GST in the module, it adds 10% to the shipping price. I get the 10% higher shipping cost in the checkout process and the tax calculation is correct.  I believe that Hikashop is working correctly, except we need to decrease the shipping price by an 11th of the price in the shipping module.  Has anyone worked around this issue or do we need to change code to resolve this/  Thanks Peter")*

Hi,

We tried to reproduce the problem on our end but we couldn't. No matter what we tried, we didn't get the same behavior. Could you provide a back end access and an FTP account to your website so that we can debug the problem directly on your website ? If so, you can do that by PM or via the contact us page of our website.

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

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

Less More

- Posts: 14
- Thank you received: 0
-
-

15 years 1 month ago [\#25511](#25511) by [pedrof](/forum/user/726-pedrof "View pedrof's Profile")  Replied by *[pedrof](/forum/user/726-pedrof "View pedrof's Profile")* on topic *[Re: Australia Post module and GST](/forum/4-how-to/25247-australia-post-module-and-gst#25511 "Hi all  I have a question about the Australia Post shipping module.  The price returned from Australia Post via the lookup process includes GST (10%).  In the shipping module, with the Tax Category set to none, I get the correct shipping cost in the checkout process, but the tax total is incorrect as it doesn't show the tax which was already included on the shipping.  If I set the Tax Category to GST in the module, it adds 10% to the shipping price. I get the 10% higher shipping cost in the checkout process and the tax calculation is correct.  I believe that Hikashop is working correctly, except we need to decrease the shipping price by an 11th of the price in the shipping module.  Has anyone worked around this issue or do we need to change code to resolve this/  Thanks Peter")*

Hi folks

The issue is within the Australia Post module only and only affects us that use it in Australia, it will not affect other countries.

Nicolas is checking out my site to see if it is my issue or with the code.

Cheers
Peter

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

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

[](#top)
