Problems with Austpost Module by Gerard Serna
G'day,
I'm suddenly getting the messages:
Quote:
AusPOST Express Post Parcel (ERROR: The delivery rate for this option cannot be determined at this time
If you prefer to use this option as your shipping method, please contact the store owner.)
AusPOST Parcel Post (ERROR: The delivery rate for this option cannot be determined at this time
If you prefer to use this option as your shipping method, please contact the store owner.)
from the Australia Post Module by Gerard Serna.
I'm still developing the web site I'm using the Australia Post module on and haven't gone live as yet. About four weeks ago when I last tried a trial purchase from the site everything was working fine.
Then when I went back to try another trial purchase yesterday, suddenly it's not working.
All I can think of is that maybe the module isn't able to communite with Australia Post anymore. However, if this was the case I would have expected quite a few others would have reported the problem by now.
Does anyone have any ideas as to where to look for a solution?
Best Regards, Lloyd Borrett.
Re: Problems with Austpost Module by Gerard Serna
If you know the IP or url of the AustPost server try to ping it first and maybe a traceroute.
Verify that if is reachable
Re: Problems with Austpost Module by Gerard Serna
G'day,
It looks like this problem may be as a result of a change at Australia Post.
We haven't assigned weights to any of our products. Passing a weight value of 0 to the Australia Post Delivery Rate Calculator worked previously, but now appears not to work.
Best Regards, Lloyd Borrett.
Re: Problems with Austpost Module by Gerard Serna
Same problem with me. I have had one instance working for over a year and all of a sudden I get the following error when using AusPOST Parcel Post:
ERROR: The delivery rate for this option cannot be determined at this time
If you prefer to use this option as your shipping method, please contact the store owner.
I too believe there must have been a change at Australia Post.
Re: Problems with Austpost Module by Gerard Serna
Hi,
I'm new to Zencart and just setting up a new shop... downloaded the aust post module and I am experiencing exactly the same error too. Have tried various weights.
Has anyone figured this out yet?
Re: Problems with Austpost Module by Gerard Serna
G'day,
I fixed the problem for my setup by changing from:
Code:
$sweight = $shipping_weight*1000;
to...
Code:
$sweight = $shipping_weight*1000;
if ($sweight < 1) {
$sweight = 300;
}
in my various Australia Post module files.
In other words, if the order has no weight, set it to 300 grams.
Best Regards, Lloyd Borrett.
Re: Problems with Austpost Module by Gerard Serna
Hi,
I'm getting the same error but it must be for a different reason as it does not matter what the weight is set to for me. Have tried many different product weights with no luck. Still get "ERROR: The delivery rate for this option cannot be determined at this time"
Dan.
Re: Problems with Austpost Module by Gerard Serna
G'day Dan,
Maybe it a different restriction kicking in. I notice for example, that the Australia Post Delivery Rate Calculator also has limits on the max and min dimensions of items. There may be other such restrictions that aren't being checked by the Australia Post shipping module.
Best Regards, Lloyd Borrett.
Re: Problems with Austpost Module by Gerard Serna
Hi Llyod,
I'm actually starting to think it may be something to do with my hosting provider? I had all the aust post module settings left the way they were after installation but I am currently playing around with all the settings (insurance, dimensions etc) but still with no luck.
Other than this forum (which is great!) can't find much more info on the net except similar problems with other carts/modules where they would not work properly if the hosting server had fopen disabled for example. I don't really know anything about PHP but do you think it could be a server restriction?
Dan.
Re: Problems with Austpost Module by Gerard Serna
Hi Dan,
I had a problem getting it going initially because of fopen restrictions on my server. I used cURL to fix it.
I posted a complete (modified) auspost.php here:
http://www.zen-cart.com/forum/showpo...&postcount=128
On another note, my shops are still broken. I managed to get in touch with someone from Australia Post who knew what they were talking about (took a while...) and it would seem that there have been no changes to the script. I can access ratecalc.php through a browser query, feed it variables and it works.
So the statement, "No, we haven't been messing with your webserver lately", must be untrue.
The plot thickens for Inspector Slobadog...