- Posts: 12953
- Thank you received: 1778
Aupost V2 Calculating Wrong Price
Well their support portal isn't really adapted for developer query, but more for their own customers. I already tried to contact them through that portal but even the "Enquiry details" field have a limit of characters number so I can't give them all of the detail they need to understand that issue, so I sent them that message :
I'm part of the Hikari softwares development team and I'm in charge of the development of the AusPost shipping module. I'm currently using your API apipostageparcelinternationalserviceapiv3postagedomesticservice and some of our clients feedback are saying that when we send a grouped order (only in one package), the rates doesn't change regardless of the weight / dimension package which is changing.
Can we continue via email so that I can give you all details to understand that issue ?
Thank you.
The case number is : # 04345478
Please Log in or Create an account to join the conversation.
whrl.pl/Rex6jh
Whirlpool is one of the biggest internet forums in Australia and if anyone else is a member it might be worth adding a comment. Often publicity like this will push them into making an effort.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
We didn't add anything on the AuPost V2 shipping method since that issue because we are waiting for a response from the AuPost platform we even opened a ticket that we are following.
But note that by default the Hikashop Aupost V2 shipping plugin needs your product dimensions, but if you really want to use it without your product dimensions, you'll have to edit the "Aupost2.php" file of the Aupost2 shipping plugin, and change these lines (2 times) :
Please Log in or Create an account to join the conversation.
any update on plugin?
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
We didn't get any response from the Australia Post platform, but we received an email telling us that an Australia Post API update was planned for 18 April 2016, so we'll just update our Australia Post (V2) shipping plugin as soon as possible.
Please Log in or Create an account to join the conversation.
Any solution to the problem?. If this is not working I have to build a new site from scratch using some other plugin and leave hikashop. It has been more than 5 months and nothing has been resolved. I can't understand how other platforms calculate right pricing and hikashop not!!
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
We can understand your frustration as we also are by the long time Australia post took to send us a reply, in fact they sent us a response 1 week ago :I can't understand how other platforms calculate right pricing and hikashop not!!
So the only solution seems to be to do 1 call to their API per package, we actually planned on doing it on the Australia Post V2.Hi Mohamed,
Thank you for taking the time to contact us about issues you were experiencing with the Australia Post Shipping calculations. I can certainly understand how confusing this can be. I'm really sorry that it has taken so long to get back to you. We are working hard to get back to everyone as soon as possible.
PAC API is built for sending a single item. It cannot provide price calculation for multiple items. Calculations are based on:
1. Destination
2. Weight
3. Dimensions.
API consumer has to ensure they are using service correctly. Prices will be returned as per details provided by API consumer to PAC API interfaces. For more information please refer to Australia Post developer portal: developers.auspost.com.au/
Again, I'€™m really sorry that I was unable to respond sooner and apologise for the inconvenience this has caused. I hope that this information has clarified the matter and been of some assistance.
Regards,
Also, note that for the time being you can still use the Australia Post V1 shipping plugin.
I apologize for the long wait regarding that issue even if we were also waiting for news from Australia post which actually just came recently.
Please Log in or Create an account to join the conversation.
What seems to be happening for me is that any call exceeds a 20Kg limit that shows an error message. So same 'order' using the v1 plugin doesn't show this error, but the same order shows the weight exceeded message using v2.
For others who may be experiencing the same issue, what I have done is implement a 'quote for shipping' checkout (only for overseas orders for me); as auspost v1 seems to still work fine for domestic orders. Relatively straightforward to implement the quote for shipping process (I used the 'manual shipping plugin' and modified the 'purchase order' payment plugin, inclduing some language file overrides - not perfect but means orders still get through).
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Mohamed has been away for 2 weeks and won't return until next week and thus didn't had the occasion to move forward on that since his last message. It's his first mission when he gets back.
Please Log in or Create an account to join the conversation.
I applied the patched version today - ie upgrade to 2.6.3; but I am still seeing the same issue with freight calcs.
What is happening is that even though the order is below 20Kg, the system error message is saying that the freight calc is above 20Kg - ie no shipping methods available. This is using the current/new version of the auspost v2 shipping plugin. The old plugin calcs the correct weight. My guess is that there is a decimal point somewhere in the code that is making it jump to the wrong freight weight.
The weight and dimensions of the specific single product that I am testing is 1.1kg, and 30 x 10 x 10 cm
Thanks
Ian
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
@Netpastor :
The AuPost V2 shipping plugin have a 20 KG limit for International deliveries and a 22KG limit for local deliveries, if you want to remove or edit that limitation you'll have to edit these lines through the "aupost2.php" file :What seems to be happening for me is that any call exceeds a 20Kg limit that shows an error message. So same 'order' using the v1 plugin doesn't show this error, but the same order shows the weight exceeded message using v2.
And change the value of the "$limit" variable which is the weight limitation in g.
Also note that editing the weight limit won't do the job, the AuPost v2 plugin needs 1 call to the AuPost V2 platform for each package which is not the case for the moment.
@WangNET :
We are firstly working on the adaptation of the AuPost v2 regarding their API update, and then we'll work on the adaptation of our rate calculation so that it will send 1 request to the AuPost platform per package.
We apologize for the delay and any inconvenience this may cause.
Please Log in or Create an account to join the conversation.
just clarifying though - the order that is being submitted is nowhere near 20kg
ie I figure it is a multiplication factor of some sort in the plugin
I appreciate your work on this
Please Log in or Create an account to join the conversation.
The request to the Australia Post server failed with the message: Please enter a valid Service code.
No shipping method found
If we change it to use Sea it calculates a price, but it is very wrong.
This is the case in V1 or V2.
I am not sure if this is related to the change Australia Post made on April 18, but it seems that it no longer recognises Air as a shipping method?? This issue is costing the site many sales.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Can you test it with the last AuPost shipping version :
www.hikashop.com/forum/shipping-methods/...html?start=20#240964We update the Australia Post V2 shipping plugin according to the "pac api update 2016", which means that we have added new weight/dimensions limits and services but that we also cleared and optimized the code.
Here is the last Australia Post V2 version if you want to directly download, install and test it.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I have a website 12 month old. The freight is not right, but more on international than domestic. Does Australia Post work internally to fix this issue or do they work with outsides business or work with groups of people like from this forum? Why does it take so long? Why can't they make somethings that work easier?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
@LPlater
Did you tried it with the last AuPost v2 shipping version ? International rates are maybe different because of their update which was only affecting International rates.I have a website 12 month old. The freight is not right, but more on international than domestic. Does Australia Post work internally to fix this issue or do they work with outsides business or work with groups of people like from this forum? Why does it take so long? Why can't they make somethings that work easier?
Please Log in or Create an account to join the conversation.