
Originally Posted by
Prime
Unexpected error (no valid methods). Using AP Flat Rate.
...when purchasing certain items via the ozpost module. This is an item that fails:
http://primealternatives.com.au/cart...products_id=45
The item is a Jumbo Bolster, it's dimensions are:
Weight: 7.92
Height: 66
Length: 24
Width: 20
I've just supplied the ozpost server with the data you provided:
http://ozpost.vcsweb.com/postage.php...lue=50&flags=1
And the server is returning the following quotes:
Code:
<quotes>
−
<quote>
<id>RPP</id>
<cost>16.15
</cost>
<days>2
</days>
<description>Regular Parcel</description>
</quote>
−
<quote>
<id>REG</id>
<cost>18.95</cost>
<days>3</days>
<description>Registered Parcel</description>
</quote>
−
<quote>
<id>COD</id>
<cost>26.35</cost>
<days>3</days>
<description>Cash On Delivery</description>
</quote>
−
<quote>
<id>EXP</id>
<cost>46.2
</cost>
<days>1
</days>
<description>Express Parcel</description>
</quote>
−
<information>
<insurance>
0 </insurance>
<registration>
2.8 </registration>
</information>
</quotes>
You must have at least one of the above methods enabled, otherwise you will get the "no valid methods" error message.

Originally Posted by
Prime
Aha. You have just managed to identify the problem.. This one does give you a valid quote because the item is able to fit into the prepaid satchels, which you have obviously enabled, but the fact that this item doesn't provide a quote for *regular* parcels tells me that you have disabled this as a valid delivery method.
The item that is returning a 'no valid method' is doing exactly what is expected.... it is too larger for the satchels, you have disabled the regular parcel post, and as such there really isn't any other valid methods left to quote with, so the module is using the 'fixed price' option instead.

Originally Posted by
Prime
That thread covers lots of different issues, many related back to the early days of development. I'm not seeing any real connection with the issue you are reporting, which has now been identified as the module doing exactly what it is supposed to do.

Originally Posted by
Prime
you provided the person a modified ozpost.php file. Will this same file fix my issue?
No,

Originally Posted by
Prime
There are also items that are under 20kgs that are receiving the following message:
(AP excess length)
And the problem with this is ????????
Australia Post has both weight and dimension limits, if you exceed either one then it can't be delivered by AP, therefore no quote is going to be possible.
There is no direct relationship between the size of a given item and the weight of it (its like comparing balloons and bricks). This is why the 'cubing rules' exist.

Originally Posted by
Prime
I receive this message when purchasing an item that only weighs 10kgs:
http://primealternatives.com.au/cart...products_id=64
...which is 10 litre massage oil. I believe Australia Post accepts items up to 20kgs. The dimensions for this are:
Weight: 10
Height: 30
Length: 16
Width: 24
The message I'm seeing when I just tried this is the 'no valid methods', this is the same problem as with your 1st item.

Originally Posted by
Prime
I am also receiving the same error (AP excess length) when purchasing items that are over 20kgs and it is only charging charging the customer $25. When a customer purchases an item over 20kg, we usually send it via TNT and charge for courier costs depending on how heavy the item is and where it is going, etc. Can you recommend the best solution for this? Perhaps the easiest way is that if the item is too big, have a message for the customer saying that they will be contacted with shipping costs.
Thanks,
Steve
Unlike the original 'AustPost - Improved' it is not possible for the ozpost module to allow a checkout using a shipping cost of $0.00 (and an associated message that they will be contacted with actual costs). This change was a result of several feedbacks stating it was a 'bad idea'.
The ozpost module therefore tackles this in a different way, when there are no viable Australia Post shipping methods allowed or available rather than allowing a checkout with zero shipping costs it will do one of two things.
1. The module will simply disable itself completely, leaving the quotes to be provided by any other shipping module that you have installed.
2. It will provide a 'fixed price' quote according to whatever the merchant has specified. (The default being 25.00 for Australia, and $99.99 for overseas.
The action it takes depends on the prices you set. If you set them for $0.00 the module will disable itself if it can't provide a valid quote, otherwise it will provide whatever 'fixed price' you specify. Clearly there will probably never be a suitable 'fixed price' that will cover all non Austrlaia Post viable items, so I would suggest you set the price high enough to cover most of your larger items, but not so high as to scare people away.
One day (when the various courier companies make their pricing structures readily avalable) I'll consider incorporating their quotes into the ozpost module for items that are too heavy or large for Australia post (This is actually why I decided a name change was in order, because eventually it'll cater for more than just Australia Post delivery methods), but until that time comes, you'll need to work with either another shipping module (in conjunction with ozpost), or, just using the 'ozpost fixed price' pricing as a bit of a compromise or fallback method for when Australia Post just isn't a suitable or viable method.
In summary, you don't really have any problems or found any bugs with the module itself, it really is doing exactly what it is supposed to do under the various circumstances.
Cheers
Rod