Post by daniel.ng » Wed Sep 21, 2011 2:47 pm

Hi Superjuice,

Wondering if you can help. I'm using your Auspost module (thanks heaps!) but sometimes for certain products, the Australia Post calculations don't show up (nothing shows at all). I figured out that this was happening because the customer had chosen centimetres instead of millimetres as the measurement.

However, its happening again for certain products, and I've checked the length and weight classes and they look fine. Do you know what else could be causing this problem? Its weird, because if I have the 2 products in the cart, it won't work. But if I take either of them out of the cart, the shipping calculations work again. Maybe its the combination of their weights and/or lengths?

EDIT: actually I think I know what is happening. I think the maximum girth of 140cm was being exceeded, so that's why nothing was showing up. I've since turned on the prepaid satchel options and now they are showing up instead of nothing showing.

Is this how it should work?

thanks

Newbie

Posts

Joined
Mon Aug 01, 2011 7:45 pm

Post by Ozfarmer » Sun Sep 25, 2011 1:07 pm

Hi Mate, Your mod is working fine for Australia but any other country I get the no shipping options available. What would be causing that? I have overseas air checked.

Active Member

Posts

Joined
Wed Aug 17, 2011 7:08 pm
Location - Australia

Post by SuperJuice » Sat Oct 01, 2011 7:06 am

daniel.ng wrote:Hi Superjuice,

Wondering if you can help. I'm using your Auspost module (thanks heaps!) but sometimes for certain products, the Australia Post calculations don't show up (nothing shows at all). I figured out that this was happening because the customer had chosen centimetres instead of millimetres as the measurement.

However, its happening again for certain products, and I've checked the length and weight classes and they look fine. Do you know what else could be causing this problem? Its weird, because if I have the 2 products in the cart, it won't work. But if I take either of them out of the cart, the shipping calculations work again. Maybe its the combination of their weights and/or lengths?

EDIT: actually I think I know what is happening. I think the maximum girth of 140cm was being exceeded, so that's why nothing was showing up. I've since turned on the prepaid satchel options and now they are showing up instead of nothing showing.

Is this how it should work?

thanks
That is how I would expect it to work. The Australia Post gateway has limits on sizes, if these limits are exceeded the Australia Post gateway won't return an estimate, and the module will be hidden from the user.

Prepaid satchels are processed locally not by the gateway and don't have a maximum dimension check because of complexity with multiple items. I wouldn't expect that the item that fails on the Australia Post gateway would fit in a satchel anyway, 140cm is huge.

If you are regularly shipping items of this size you should consider alternative shipping methods (a courier).
Last edited by SuperJuice on Sat Oct 01, 2011 3:38 pm, edited 1 time in total.

Active Member

Posts

Joined
Thu Aug 13, 2009 12:06 pm

Post by SuperJuice » Sat Oct 01, 2011 7:07 am

Ozfarmer wrote:Hi Mate, Your mod is working fine for Australia but any other country I get the no shipping options available. What would be causing that? I have overseas air checked.
What version of OpenCart / Australia Post module are you using?

Do you have the shipping module enabled for all GEO zones?
Last edited by SuperJuice on Sat Oct 01, 2011 3:36 pm, edited 1 time in total.

Active Member

Posts

Joined
Thu Aug 13, 2009 12:06 pm

Post by SuperJuice » Sat Oct 01, 2011 7:07 am

If anyone tests this module with 1.5.1.3 please let me know your results.

Active Member

Posts

Joined
Thu Aug 13, 2009 12:06 pm

Post by Ozfarmer » Fri Oct 07, 2011 11:29 am

Hi SJ, I have enabled it for Aust and NZ (all zones) I am using 1.5.1.2 but it still wont show international for some reason.

Active Member

Posts

Joined
Wed Aug 17, 2011 7:08 pm
Location - Australia

Post by gocreative » Mon Oct 24, 2011 12:00 pm

SuperJuice wrote:If anyone tests this module with 1.5.1.3 please let me know your results.
I'm doing so now and all seems to be working properly so far, but I haven't tested it comprehensively yet. I'll let you know if I come across any issues.

User avatar
Active Member

Posts

Joined
Tue Jan 12, 2010 5:46 pm

Post by liberalbid » Thu Nov 03, 2011 11:12 am

Hi SuperJuice.

Firstly I want to add my thanks for all the work you've done with this extension. I have no coding knowledge at all so would never be able to get my store functioning without something like this. Thanks!

Secondly, an observation when using the shipping estimate calculator in the shopping cart. If the total weight of products in the cart exceed 20kg then the error message "Your basket is too heavy to ship with Australia Post (20kg+)" displays. If however the overall dimension (WxDxL) of the products in the cart exceed the allowable dimension by Australia Post but the total weight is less than 20kg, no error message appears at all. Rather the title 'Australia Post' appears with nothing beneath it. Not crucial but is there an easy way to display the error message for both scenarios?

Thanks again.

Newbie

Posts

Joined
Thu Jul 21, 2011 4:04 am

Post by SuperJuice » Fri Nov 04, 2011 10:25 am

liberalbid wrote:Hi SuperJuice.

Firstly I want to add my thanks for all the work you've done with this extension. I have no coding knowledge at all so would never be able to get my store functioning without something like this. Thanks!

Secondly, an observation when using the shipping estimate calculator in the shopping cart. If the total weight of products in the cart exceed 20kg then the error message "Your basket is too heavy to ship with Australia Post (20kg+)" displays. If however the overall dimension (WxDxL) of the products in the cart exceed the allowable dimension by Australia Post but the total weight is less than 20kg, no error message appears at all. Rather the title 'Australia Post' appears with nothing beneath it. Not crucial but is there an easy way to display the error message for both scenarios?

Thanks again.
Thanks for the feedback.

From memory (been a while since I looked at the error handling back from Auspost) the difference is because over dimension is just returned as a generic failure from Australia Post, where as an overweight condition provides details that the cart is overweight.

In any instance, it shouldn't just show 'Australia Post' with no shipping option under it, if that is the case the module is either incorrectly returning back that there are shipping options when there aren't, or something has changed in OpenCart.

Can you tell me what version of the module you are using when you see this issue? and what version of OpenCart you have it installed on? Cheers.

Active Member

Posts

Joined
Thu Aug 13, 2009 12:06 pm

Post by SuperJuice » Fri Nov 04, 2011 10:27 am

gocreative wrote:
SuperJuice wrote:If anyone tests this module with 1.5.1.3 please let me know your results.
I'm doing so now and all seems to be working properly so far, but I haven't tested it comprehensively yet. I'll let you know if I come across any issues.
Any updates on this? I have had a few emails asking about support but haven't had a chance to bring up 1.5.1.3 and test it extensively in my dev environment.

If anyone has a development environment/test environment, any feedback about using Australia Post 1.5.1.1 module on OC 1.5.1.3 would be greatly appreciated.

I still need to investigate the 1.5.1.2 international shipping issue that was raised above, I will likely skip 1.5.1.2 testing and go straight to 1.5.1.3.

Active Member

Posts

Joined
Thu Aug 13, 2009 12:06 pm

Post by gocreative » Fri Nov 04, 2011 10:32 am

No update as yet. I'm waiting for my client to insert their information before I get into testing. I'll let you know.

User avatar
Active Member

Posts

Joined
Tue Jan 12, 2010 5:46 pm

Post by SuperJuice » Fri Nov 04, 2011 10:33 am

gocreative wrote:No update as yet. I'm waiting for my client to insert their information before I get into testing. I'll let you know.
Cheers mate.

Hopefully i'll have some time this weekend to confirm myself anyway.

Active Member

Posts

Joined
Thu Aug 13, 2009 12:06 pm

Post by liberalbid » Fri Nov 04, 2011 2:35 pm

SuperJuice wrote:
liberalbid wrote:Hi SuperJuice.

Firstly I want to add my thanks for all the work you've done with this extension. I have no coding knowledge at all so would never be able to get my store functioning without something like this. Thanks!

Secondly, an observation when using the shipping estimate calculator in the shopping cart. If the total weight of products in the cart exceed 20kg then the error message "Your basket is too heavy to ship with Australia Post (20kg+)" displays. If however the overall dimension (WxDxL) of the products in the cart exceed the allowable dimension by Australia Post but the total weight is less than 20kg, no error message appears at all. Rather the title 'Australia Post' appears with nothing beneath it. Not crucial but is there an easy way to display the error message for both scenarios?

Thanks again.
Thanks for the feedback.

From memory (been a while since I looked at the error handling back from Auspost) the difference is because over dimension is just returned as a generic failure from Australia Post, where as an overweight condition provides details that the cart is overweight.

In any instance, it shouldn't just show 'Australia Post' with no shipping option under it, if that is the case the module is either incorrectly returning back that there are shipping options when there aren't, or something has changed in OpenCart.

Can you tell me what version of the module you are using when you see this issue? and what version of OpenCart you have it installed on? Cheers.
SuperJuice

My OpenCart version is 1.5.1.2. The AusPost module version is 1511u1.
My installation is running on a local host if that has any effect.

Newbie

Posts

Joined
Thu Jul 21, 2011 4:04 am

Post by SuperJuice » Tue Nov 08, 2011 4:07 pm

I have just tested the 1.5.1.1u1 module with OpenCart 1.5.1.3 and it works correctly, this includes international postage.

I would assume from that, it will work with OpenCart 1.5.1.2 as well.

I will now take a look at the other issues raised.
Last edited by SuperJuice on Tue Nov 08, 2011 4:09 pm, edited 1 time in total.

Active Member

Posts

Joined
Thu Aug 13, 2009 12:06 pm

Post by SuperJuice » Tue Nov 08, 2011 4:09 pm

Ozfarmer wrote:Hi SJ, I have enabled it for Aust and NZ (all zones) I am using 1.5.1.2 but it still wont show international for some reason.
I just tested international postage and had no issues, I still believe this is with your Open Cart configuration not with the Australia Post module.

Do you have any other postage modules that are working correctly with your international settings?

Active Member

Posts

Joined
Thu Aug 13, 2009 12:06 pm

Post by SuperJuice » Tue Nov 08, 2011 5:04 pm

liberalbid wrote:
SuperJuice wrote:
liberalbid wrote:Hi SuperJuice.

Firstly I want to add my thanks for all the work you've done with this extension. I have no coding knowledge at all so would never be able to get my store functioning without something like this. Thanks!

Secondly, an observation when using the shipping estimate calculator in the shopping cart. If the total weight of products in the cart exceed 20kg then the error message "Your basket is too heavy to ship with Australia Post (20kg+)" displays. If however the overall dimension (WxDxL) of the products in the cart exceed the allowable dimension by Australia Post but the total weight is less than 20kg, no error message appears at all. Rather the title 'Australia Post' appears with nothing beneath it. Not crucial but is there an easy way to display the error message for both scenarios?

Thanks again.
Thanks for the feedback.

From memory (been a while since I looked at the error handling back from Auspost) the difference is because over dimension is just returned as a generic failure from Australia Post, where as an overweight condition provides details that the cart is overweight.

In any instance, it shouldn't just show 'Australia Post' with no shipping option under it, if that is the case the module is either incorrectly returning back that there are shipping options when there aren't, or something has changed in OpenCart.

Can you tell me what version of the module you are using when you see this issue? and what version of OpenCart you have it installed on? Cheers.
SuperJuice

My OpenCart version is 1.5.1.2. The AusPost module version is 1511u1.
My installation is running on a local host if that has any effect.
Have found the bug, it was introduced when I added the satchel shipping.

The correct behaviour is to give you (the customer) an error when the cart is over 20kg, and suppress (hide the entire module) if there are any other errors. The issue you have mentioned above that is showing 'Australia Post' heading without any options because there is an error in the gateway (hidden from the user).

I guess it depends if you want this hidden or not. Up until now the error coming out of the Auspost gateway has been pretty vague (if at all). With their recent round of updates it appears that the error reporting is now more verbose/helpful (ie. it now tells you what the maximum length of a dimension is if you exceed the max length for a dimension). Because of this increase in verbosity in the error reporting I may re-write the error handling to feed that information back to the customer (or perhaps have a module option to feed it back or hide it).

If you want an immediate fix that hides the 'Australia Post' heading if there are no valid quotes (not exactly what you asked for but will tidy it up and remove confusion for any customer checking it out) make the following change to your ./catalog/model/shipping/auspost.php file

From:

Code: Select all

                                $method_data = array(
                                        'code'         => 'auspost',
                                        'title'      => $this->language->get('text_title'),
                                        'quote'      => $quote_data,
                                        'sort_order' => $this->config->get('auspost_sort_order'),
                                        'error'      => $error
                                );
To:

Code: Select all

                        if((count($quote_data) != 0) || $error != FALSE)  {
                                $method_data = array(
                                        'code'         => 'auspost',
                                        'title'      => $this->language->get('text_title'),
                                        'quote'      => $quote_data,
                                        'sort_order' => $this->config->get('auspost_sort_order'),
                                        'error'      => $error
                                );
                         }
Thanks for the feedback.

Another issue people may notice is that international shipping estimates are returning as '0' days. This was due to a change in the Australia Post gateway where they no longer provide postage delivery estimates for international, so 0 is returned to ensure compatibility with software accessing the gateway. I will add a check to ensure that if 0 is returned at any stage for the shipping that the delivery estimate is suppressed.
Last edited by SuperJuice on Tue Nov 08, 2011 5:25 pm, edited 1 time in total.

Active Member

Posts

Joined
Thu Aug 13, 2009 12:06 pm

Post by liberalbid » Tue Nov 08, 2011 5:22 pm

SuperJuice wrote:
liberalbid wrote:
SuperJuice wrote:
Thanks for the feedback.

From memory (been a while since I looked at the error handling back from Auspost) the difference is because over dimension is just returned as a generic failure from Australia Post, where as an overweight condition provides details that the cart is overweight.

In any instance, it shouldn't just show 'Australia Post' with no shipping option under it, if that is the case the module is either incorrectly returning back that there are shipping options when there aren't, or something has changed in OpenCart.

Can you tell me what version of the module you are using when you see this issue? and what version of OpenCart you have it installed on? Cheers.
SuperJuice

My OpenCart version is 1.5.1.2. The AusPost module version is 1511u1.
My installation is running on a local host if that has any effect.
Have found the bug, it was introduced when I added the satchel shipping.

The correct behaviour is to give you (the customer) an error when the cart is over 20kg, and suppress (hide the entire module) if there are any other errors. The issue you have mentioned above that is showing 'Australia Post' heading without an options because there is an error in the gateway (hidden from the user).

I guess it depends if you want this hidden or now. Up until now the error coming out of the Auspost gateway has been pretty vague (if at all). With their recent round of updates it appears that the error reporting is now more verbose/helpful (ie. it now tells you what the maximum length of a dimension is if you exceed the max length for a dimension). Because of this increase in verbosity in the error reporting I may re-write the error handling to feed that information back to the customer (or perhaps have a module option to feed it back or hide it).

If you want an immediate fix that hides the 'Australia Post' heading if there are no valid quotes (not exactly what you asked for but will tidy it up and remove confusion for any customer checking it out) make the following change to your ./catalog/model/shipping/auspost.php file

From:

Code: Select all

                                $method_data = array(
                                        'code'         => 'auspost',
                                        'title'      => $this->language->get('text_title'),
                                        'quote'      => $quote_data,
                                        'sort_order' => $this->config->get('auspost_sort_order'),
                                        'error'      => $error
                                );
To:

Code: Select all

                        if((count($quote_data) != 0) || $error != FALSE)  {
                                $method_data = array(
                                        'code'         => 'auspost',
                                        'title'      => $this->language->get('text_title'),
                                        'quote'      => $quote_data,
                                        'sort_order' => $this->config->get('auspost_sort_order'),
                                        'error'      => $error
                                );
                         }
Thanks for the feedback.

Another issue people may notice is that international shipping estimates are returning as '0' days. This was due to a change in the Australia Post gateway where they no longer provide postage delivery estimates for international, so 0 is returned to ensure compatibility with software accessing the gateway. I will add a check to ensure that if 0 is returned at any stage for the shipping that the delivery estimate is suppressed.
I cannot thank you enough for such a comprehensive answer SuperJuice (Sam?), I really appreciate it. The existence of this module helped tip me toward OpenCart, without it it would have been much easier to go elsewhere, so thank you very much.

I see that your first post was back in late 2009 and here you are over 2 years later still maintaining the module and updating it for FREE. Is there someway I can make a donation as contribution toward your work?

Newbie

Posts

Joined
Thu Jul 21, 2011 4:04 am

Post by SuperJuice » Tue Nov 08, 2011 7:10 pm

Donation would make this start feeling too much like real work, thanks for the offer though ;)

Honestly all I ask is that people provide feedback on issues and test the module when new versions of OpenCart are released. It doesn't take much time to setup a dev instance and test the module on a newly released version and provide feedback to others if it works / has issues.

Thanks for taking the time to detail the problem and providing additional feedback (versions etc.), this is exactly what I need to track down bugs and make this module better.

I have now released an updated version of the module with the bug fix for the issue you raised liberalbid. I have also fixed the 0 day delivery estimate on international shipping and have added the option to display / suppress the Australia Post error messages returned from the API to the customer (in the admin panel under display Australia Post errors).

I have also tested this module on OpenCart 1.5.1.3 (that is what the current release was coded on).

The current release of the OpenCart Australia Post module is now 1.5.1.1u2 and is available from the Extensions page. Apologies, but for some reason the Extension page seems to order the downloads in a pseudo-random way, so I couldn't order them by version number (so make sure you get 1511u2 if that is what you are trying to download!)

Active Member

Posts

Joined
Thu Aug 13, 2009 12:06 pm

Post by a shit of a time » Wed Nov 16, 2011 12:00 pm

Hello,

Do you reckon you could get one of these up and running for New Zealand Post. Really needed here. Regards
http://craftsonline.co.nz

New member

Posts

Joined
Thu Nov 04, 2010 1:10 pm

Post by scrapper » Wed Nov 23, 2011 5:18 pm

I have had this shipping module installed as part of a new estore using open cart designed by an Indian firm. It would seem ideal as we are based in Australia. Unfortunately, the rates we are showing for Australia Post shipping in our cart do not reflect the current rates of Australia Post. For example, for 0.03 kg item, our cart gives the options of:
Aust Post Pre-paid Satchel $6.30 Aust Post charge $8.74
Aust Post Express Pre paid satchel $8.80 Aust Post charge $11.92
Aust Post Post Express Platinum Pre Paid satchel $12.80 Aust Post charge $18.99
I would really like to use this module if I can get it to display the correct rates. I have been back and forth to the web site designer without any resolution. Any help greatly appreciated.

Newbie

Posts

Joined
Wed Nov 23, 2011 5:16 pm
Who is online

Users browsing this forum: No registered users and 3 guests