- Posts: 14
- Thank you received: 0
Australia Post module and GST
15 years 3 weeks ago #25247
by pedrof
Australia Post module and GST was created by pedrof
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
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 or Create an account to join the conversation.
15 years 3 weeks ago #25249
by nicolas
Replied by nicolas on topic Re: Australia Post module and GST
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:
before the code:
in the file plugins/hikashopshipping/aupost.php so that once the tax is set in the shipping plugin options, it works properly.
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]->shipping_tax_id) $data['charge'] = $currencyClass->getUntaxedPrice($data['charge'],hikashop_getZone(),$rates[$type]->shipping_tax_id);
before the code:
Code:
$rates[$type]->shipping_price += $data['charge'];
Please Log in or Create an account to join the conversation.
15 years 3 weeks ago - 15 years 3 weeks ago #25267
by pedrof
Replied by pedrof on topic Re: Australia Post module and GST
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.
Cheers
Peter
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.
Cheers
Peter
Last edit: 15 years 3 weeks ago by pedrof.
Please Log in or Create an account to join the conversation.
15 years 3 weeks ago #25269
by nicolas
Replied by nicolas on topic Re: Australia Post module and GST
That's an issue which was corrected in previous versions of HikaShop. You're probably not using the latest version.
Please Log in or Create an account to join the conversation.
15 years 3 weeks ago #25272
by pedrof
Replied by pedrof on topic Re: Australia Post module and GST
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
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 or Create an account to join the conversation.
15 years 3 weeks ago #25275
by nicolas
Replied by nicolas on topic Re: Australia Post module and GST
And yes, we'll add that modification on our end in the next release.
Please Log in or Create an account to join the conversation.
15 years 3 weeks ago #25276
by nicolas
Replied by nicolas on topic Re: Australia Post module and GST
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 ?
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 or Create an account to join the conversation.
15 years 3 weeks ago #25283
by pedrof
Replied by pedrof on topic Re: Australia Post module and GST
Hi
The website is 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
The website is 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 or Create an account to join the conversation.
15 years 3 weeks ago #25306
by nicolas
Replied by nicolas on topic Re: Australia Post module and GST
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.
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 or Create an account to join the conversation.
15 years 2 weeks ago #25511
by pedrof
Replied by pedrof on topic Re: Australia Post module and GST
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
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 or Create an account to join the conversation.
Time to create page: 0.223 seconds