
Originally Posted by
scrapper
Hi Rod,
We've been running v1.0.2 for about 12 months with no problems, it's a great module. I've just noticed that for about the past week our orders specifying Australia Post for delivery have been reverting to the Flat Rate on Error price. Is there a server down somewhere or should we be upgrading to v2.0.6?
Thanks,
Warren
Yes, you should upgrade, but if you find this impractical you can make the following code changes to your V1.0.2
---------------------------------------------------------
ozpost v1.0.2 - line 338
Add:
Code:
$HOST= str_replace(" ", "+", $HOST) ;
Then change this:
Code:
$qu = $this->_getAPdata($SERVER, "/postage.php?fromcode=" . MODULE_SHIPPING_OZPOST_SPCODE ."&destcode=$dcode&weight=$parcelweight&height=$parcelheight&width=$parcelwidth&length=$parcellength&value=$ordervalue&flags=$flags&$method=$method&host=$HOST&version=$VERSION")
;
To:
Code:
$qu = $this->_getAPdata($SERVER, "/postage.php?fromcode=" . MODULE_SHIPPING_OZPOST_SPCODE ."&destcode=$dcode&weight=$parcelweight&height=$parcelheight&width=$parcelwidth&length=$parcellength&value=$ordervalue&flags=$flags&host=$HOST&version=$VERSION") ;
Cheers
Rod
Bookmarks