Re: ozpost shipping module
Hi Rod,
I'm having trouble with our ozpost module. It's been installed and working fine for a number of months now without problems. All of a sudden last night the module's stopped working.
During checkout, when clicking on to continue from the shopping cart, the page hangs. If you go back then go forward again, the page loads but there are no options displayed for shipping by auspost (only other installed modules). Hence does not look like a server problem.
A similar problem exists for the "estimate shipping" function.
I've checked the module and it's enabled. We haven't changed anything on the site.
The website is:
http://www.chromeaudio.com.au
Any help would be greatly appreciated.
Thanks.
Re: ozpost shipping module
Quote:
Originally Posted by
somedood
Hi Rod,
I'm having trouble with our ozpost module. It's been installed and working fine for a number of months now without problems. All of a sudden last night the module's stopped working.
The server appears fine, and the log files don't show any connections from your host for the last 24hours.
However, I've just checked the URL you gave and I was able to recieve a valid quote on the *one* product item I tested with. This also produced an entry in the log file.
So, your problem is either related to a specific product (or products), OR I'm suspecting that since you have changed nothing, and we've changed nothing, then your webhost must have changed something. If this is the case, it looks like they've changed it back.
Cheers
Rod
Re: ozpost shipping module
Hi Rod,
Yes it's totally weird. The problem just went away by itself yesterday evening. I'm not sure why, but I suspect it's some setting on our server. Just hope it doesn't happen again...
Anyway, thanks for your help.
Re: ozpost shipping module
Hello,
When I add up to 20 balls of wool to the shoppingcart the ozpost is ok; but if I add 30+ balls of wool I get the error
ERROR: 150cm exceeds the Maximum 105cm length allowed. Using AP Flat Rate
Is there any way to get ozpost to calculate multiple parcels if they contain numbers of small items?
E.g.
http://www.bubs2grubsknitting.com.au...x&cPath=44_121
Re: ozpost shipping module
Quote:
Originally Posted by
vandiermen
Hello,
When I add up to 20 balls of wool to the shoppingcart the ozpost is ok; but if I add 30+ balls of wool I get the error
ERROR: 150cm exceeds the Maximum 105cm length allowed. Using AP Flat Rate
Is there any way to get ozpost to calculate multiple parcels if they contain numbers of small items?
No.
The older AustPost module *did* attempt the splitting of parcels if they exceeded the weight or size limits imposed by the carrier, but this often caused problems whereby such parcels were 'split' in physically impossible ways. The code needed perform this task reliably is going to take someone with a lot more skills than I have (In fact, this is considered to be 'the holy grail' of shipping modules (other threads cover the issues involved in a lot more detail)
The long term plan is that eventually the ozpost module will support quotes from other carriers (eg, TNT) that will accept the larger/heavier items.
Cheers
Rod
Re: ozpost shipping module
Thanks for letting me know.
I understand the problem with sending multiple the figures to aust post server, etc.
Invalid postage calculation for ECI goods
Hi Rod,
I've run into a rather expensive problem.
I've had a customer order goods that weighted 8.56KG, and requested for them to be shipped by ECI Merchandise.
The Ozpost shipping module has charged $96.70 for the package.
The post office charged $200.00 when I shipped it. :shocking:
The error has cost me $100.00
I then went to the online Australia post calculator and it quotes $201.00 for ECI parcels between 7.5Kg and 10Kg
Any clues to why this might have occurred? And more importantly how I can debug/ fix it?
Cheers,
Peter.
Re: Invalid postage calculation for ECI goods
Quote:
Originally Posted by
Peter Homann
Hi Rod,
I've run into a rather expensive problem.
I've had a customer order goods that weighted 8.56KG, and requested for them to be shipped by ECI Merchandise.
The Ozpost shipping module has charged $96.70 for the package.
The post office charged $200.00 when I shipped it. :shocking:
The error has cost me $100.00
I then went to the online Australia post calculator and it quotes $201.00 for ECI parcels between 7.5Kg and 10Kg
Any clues to why this might have occurred? And more importantly how I can debug/ fix it?
Cheers,
Peter.
A URL to the offending product would be a good start. Unless/until I can see for myself exactly what data was sent to the server and can verify the under quoting there isn't much that I can do, and unless the data sent is different than what you think it is there probably isn't anything you can do either.
Cheers
Rod
Re: ozpost shipping module
im currently not getting the AP flat rate error option. it is displayed in the shipping estimator ok, but not in the checkout options.
i traced the error and found the failure in tpl_checkout_shipping_default.php
appx. line 68:
PHP Code:
if ($quotes[$i]['module'] != '') { // Standard
the quotes array returned if for example the girth is too big is failing this test, and then not being displayed as an option.
it is because the arrays returned as $quotes in this case doesnt have $quotes[$i]['module'] set. so i tried setting it, and i realise it also doesnt have $quotes[$i]['id'] set, and also the $quotes[$i]['methods']['id] is set wrong to the $title variable rather than some code like 'flat' or 'rrp' ..
no im not really saying its definately a problem with your code as youd think something like this would have come up b4 and been fixed. but perhaps you can help me ??
here is a var_dump on the suspect $quotes:
PHP Code:
array(2) { ["icon"]=> string(137) "Aussie Post" ["methods"]=> array(1) { [0]=> array(3) { ["id"]=> string(141) "Aussie Post" ["title"]=> string(253) "Aussie Post ERROR: (31+68.00) x 2cm exceeds the Maximum 140cm girth allowed. Using AP Flat Rate." ["cost"]=> string(5) "25.00" } } }
and for reference here is a var_dump on a healthy $quotes:
PHP Code:
array(3) { ["id"]=> string(6) "ozpost" ["module"]=> string(141) "Aussie Post" ["methods"]=> array(7) { [0]=> array(3) { ["id"]=> string(3) "RPP" ["title"]=> string(327) " Regular Parcel 1 1 days Est Delivery " ["cost"]=> float(4.35) } [1]=> array(3) { ["id"]=> string(4) "PPS5" ["title"]=> string(342) " 500gm Prepaid Satchel 1 1 days Est Delivery " ["cost"]=> float(5.7) } [2]=> array(3) { ["id"]=> string(3) "REG" ["title"]=> string(333) " Registered Parcel 2 2 days Est Delivery " ["cost"]=> float(7.15) } [3]=> array(3) { ["id"]=> string(3) "EXP" ["title"]=> string(327) " Express Parcel 1 1 days Est Delivery " ["cost"]=> float(8) } [4]=> array(3) { ["id"]=> string(5) "PPSE5" ["title"]=> string(359) " 500gm Prepaid Satchel Express 1 1 days Est Delivery " ["cost"]=> float(8) } [5]=> array(3) { ["id"]=> string(4) "RPPi" ["title"]=> string(328) " Insured Parcel 2 2 days Est Delivery " ["cost"]=> float(9.75) } [6]=> array(3) { ["id"]=> string(4) "EXPi" ["title"]=> string(330) " Insured Express 1 1 days Est Delivery " ["cost"]=> float(13.4) } } }
zencart and ozpost version is latest
Re: ozpost shipping module
my fix (for now) is to change:
(girth example, but works for other 2 error sections too)
PHP Code:
// Check girth
if($girth > $MAXGIRTH_P )
{
$cost = $this->_get_error_cost($dest_country) ;
if ($cost == 0) return ;
$methods[] = array( 'id' => $this->title, 'title' => $this->title . '<font color=#FF0000> ERROR: (' . $parcelheight . "+" . $parcelwidth . ') x 2cm exceeds the Maximum 140cm girth allowed.</font>'. $FlatText, 'cost' => $cost ) ;
$this->quotes['methods'] = $methods; // set it
return $this->quotes;
} // exceeds AustPost maximum girth. No point in continuing.
to:
PHP Code:
// Check girth
if($girth > $MAXGIRTH_P )
{
$cost = $this->_get_error_cost($dest_country) ;
if ($cost == 0) return ;
$methods[] = array( 'id' => 'Error', 'title' => $this->title . '<font color=#FF0000> ERROR: (' . $parcelheight . "+" . $parcelwidth . ') x 2cm exceeds the Maximum 140cm girth allowed.</font>'. $FlatText, 'cost' => $cost ) ;
$this->quotes['methods'] = $methods; // set it
$this->quotes['module'] = $this->title;
$this->quotes['id'] = 'ozpost';
return $this->quotes;
} // exceeds AustPost maximum girth. No point in continuing.
:lamo: