If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Shipping Modules / Australia Post Shipping Module 2.0

Australia Post Shipping Module 2.0

Started by etrader on 17 Dec 2012, 10:47 PM · Views: 56,177

Results 141 to 157 of 157
23 Oct 2025, 8:13 PM
#141
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
433
Plugin Contributions:
0

Post #141 by oldngrey

Version 2.5.8e is now availbale from the plugins section https://www.zen-cart.com/downloads.php?do=file&id=1138

OldNGrey
ZC222 PHP 8.4.27
MySQL 11.8.5-MariaDB

23 Apr 2026, 1:46 AM
#142
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
433
Plugin Contributions:
0

Post #142 by oldngrey

Version 2.5.9a is now available from my GitHub https://github.com/OldNGreyBMR/aupost/releases/tag/ver2.5.9.a
This version:

  • has improved response handling for when the Internet is down;

  • checks for XML response in case Australia Post turns it off again when they do an update (as occurred on 2026-04-13)

  • has an updated new invoice file which now contains a switch to display the customers Telephone number and email address below the Delivery Address.
    From 2026-05-31 it is a requirement from Australia Post to provide this information for every parcel lodged. See the example images in the docs folder. To set the switch, in the invoice.php file, change the variable $SHOW_AP_TELEPHONE to "Yes";

This will be submitted to the admins for approval.

OldNGrey
ZC222 PHP 8.4.27
MySQL 11.8.5-MariaDB

1 May 2026, 10:18 PM
#143
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
433
Plugin Contributions:
0

Post #143 by oldngrey

The new invoice file:
Now contains a switch to display the customers Telephone number and email address below the Delivery Address. From 2026-05-31 it is a requirement from Australia Post to provide this information for every parcel lodged.

I have resubmitted the modified invoice for ZC158 as the one from the plugins is only for zc2.x and above.
I have used this with my local post office and the recipient receives a tracking message when the parcel is lodged.

The ZC158 modified invoice can also be download from my GitHub https://github.com/OldNGreyBMR/aupost/releases

OldNGrey
ZC222 PHP 8.4.27
MySQL 11.8.5-MariaDB

2 May 2026, 6:47 AM
#144
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,024
Plugin Contributions:
2

Post #144 by dw08gm

Just out of interest, would you be able to state how many Australian customers use this mod?

2 May 2026, 7:14 AM
#145
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
433
Plugin Contributions:
0

Post #145 by oldngrey

dw08gm:

Just out of interest, would you be able to state how many Australian customers use this mod?
To be honest I have no idea.
I have enquired but received no response. I know of two users whom I have assisted with other stuff.
The previous version was downloaded 36 times.

OldNGrey
ZC222 PHP 8.4.27
MySQL 11.8.5-MariaDB

3 May 2026, 6:51 AM
#146
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,024
Plugin Contributions:
2

Post #146 by dw08gm

OldNGrey:

To be honest I have no idea.
I have enquired but received no response. I know of two users whom I have assisted with other stuff.
The previous version was downloaded 36 times.

Thanks
So 37 including me, although I am a few versions behind downloading.

16 Jun 2026, 6:40 AM
#147
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
433
Plugin Contributions:
0

Post #147 by oldngrey

Australia Post Shipping module v3.0.0 has been submitted for approval.

This version has been rewritten to use the Australia Post json API and no longer uses XML.
Changes:

  • Parcel size calculations rewritten to calculate optimal parcel size
  • Still displays Live/Real-Time Shipping rates on your Zen Cart Shopping Cart page
  • Fully encapsulated plugin that removes legacy files.
  • Modified invoice to meet Australia Post and ATO requirements

This encapsulated version will not install on versions prior to 2.1.0.

Available to download from my GitHub https://github.com/OldNGreyBMR/aupost/releases

OldNGrey
ZC222 PHP 8.4.27
MySQL 11.8.5-MariaDB

28 Sep 2026, 6:09 AM
#148
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
507
Plugin Contributions:
0

Post #148 by rlexyd

Thanks for the Mod.

I am trying to uninstall V3.1, is there an SQL to delete things from database?

I clicked uninstall it via the shipping module in admin (as it wasn't showing in plugin manager?!) and it worked but I keep getting error pop up when I go to shipping module...

SHIPPING_MAX_WEIGHT <> Aus Post max wt: 22kg

Appreciate the help.

Thanking you in advance.

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

28 Sep 2026, 11:32 PM
#149
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
433
Plugin Contributions:
0

Post #149 by oldngrey

rlexyd:

Thanks for the Mod.

I am trying to uninstall V3.1, is there an SQL to delete things from database?

I clicked uninstall it via the shipping module in admin (as it wasn't showing in plugin manager?!) and it worked but I keep getting error pop up when I go to shipping module...

SHIPPING_MAX_WEIGHT <> Aus Post max wt: 22kg

Appreciate the help.

Thanking you in advance.

You have your setting in Admin > Configuration > Shipping/Packaging > "Enter the maximum Package Weight you will ship" set to a value greater than 22.

That warning only appears in Admin. In the user interface any postage quote will default to the max imum charge you have set and display "Australia Post (Exceeds maximum weight of 22kg)"

To uninstall the Australia Post shipping module completely go to Admin > Modules > Plugin Manager > select "Australia Post" and click un-Install and click Un-Install again.

I will update v3.1 so that message will only appear if the module is installed.

On a separate issue, do you send parcels that weigh more than 22kg?

OldNGrey
ZC222 PHP 8.4.27
MySQL 11.8.5-MariaDB

30 Sep 2026, 7:21 AM
#150
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
507
Plugin Contributions:
0

Post #150 by rlexyd

oldngrey:

You have your setting in Admin > Configuration > Shipping/Packaging > "Enter the maximum Package Weight you will ship" set to a value greater than 22.

That warning only appears in Admin. In the user interface any postage quote will default to the max imum charge you have set and display "Australia Post (Exceeds maximum weight of 22kg)"

To uninstall the Australia Post shipping module completely go to Admin > Modules > Plugin Manager > select "Australia Post" and click un-Install and click Un-Install again.

I will update v3.1 so that message will only appear if the module is installed.

On a separate issue, do you send parcels that weigh more than 22kg?

Hi and thanks for your response.

I've already changed the weight to several weights above and below 22 and made no difference.

Australia Post was not showing in plugins, it was under shipping module ONLY (that was the only way to uninstalled it).

No, I do no send parcels over 22kg :)

I've decided to just have a flat rate hence why I'm removing this plugin.

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

22 Oct 2026, 11:11 PM
#151
DavesStore avatar

DavesStore

Member

Join Date:
Oct 2026
Location:
Bracken Ridge, Brisbane, Australia
Posts:
3
Plugin Contributions:
0

Post #151 by DavesStore

Hi Folks & oldngrey,

Not new to Zen Cart or aupost, but recently had to crash old version of Zen Cart and start again.

So now I have Zen Cart v2.2.2 and aupost v3.1. But, I also have a problem.

After install, changed language files from lbs to kgs, lbs to kgs & inches to cms in admin shipping/packaging and max package size to 22 and changed weight in aupost to kgs.

All good all the ducks in a row, but I sell items singularly and by the carton.

My test products are:

single item, 12cm x 12cm x 1cm 0.03kg. Carton item, 53cm x 32cm x 32cm 18kg, 500 single items to a carton. Carton item has the "Item ships in its original box?" ticked.

When I sell:

One Carton it's fine postage calculator comes up correct. When I sell Two cartons, I get Exceeds maximum weight error.

When I sell one single item, it's fine, postage calculator comes up correct, but when I change it to 10 items (cube .36kg, act wt 300gms) It overcharges as a 10kg parcel and when I change qty to 100 it shows overweight error.

However, if I change aupost from kgs to grams and show weight as 30(gms) for single item and 18000(gms) for carton, things change.

Single items sales up to 100 items (3kg, 100cm) show correct postage. Over 100 items shows overlength error.

Single Carton sale is fine. Same problem though for multiple carton sales.

P.S. the cart is not linked to my web pages yet and I am using a bogus store name to test live.

Additional problem, the error below shows at top of shipping estimator for anything over a letter size order. No letter feature selected.

ln470$letterheightcheck=

An additional line shows for overlength error.

ln470$letterheightcheck=
ln856 parcel length check - length=105 max length=105

Am I missing something? Any help would be appreciated as I often sell larger quantities of both single pack and cartons.

Cheers

David

5 Nov 2026, 3:51 AM
#152
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
433
Plugin Contributions:
0

Post #152 by oldngrey

DavesStore:

Hi Folks & oldngrey,

Not new to Zen Cart or aupost, but recently had to crash old version of Zen Cart and start again.

So now I have Zen Cart v2.2.2 and aupost v3.1. But, I also have a problem.

After install, changed language files from lbs to kgs, lbs to kgs & inches to cms in admin shipping/packaging and max package size to 22 and changed weight in aupost to kgs.

All good all the ducks in a row, but I sell items singularly and by the carton.

My test products are:

single item, 12cm x 12cm x 1cm 0.03kg. Carton item, 53cm x 32cm x 32cm 18kg, 500 single items to a carton. Carton item has the "Item ships in its original box?" ticked.

When I sell:

One Carton it's fine postage calculator comes up correct. When I sell Two cartons, I get Exceeds maximum weight error.

Currently the program does not handle multiple boxes. One carton = 18kg; 2 cartons > 22kg so Australia Post charges as separate transactions.

When I sell one single item, it's fine, postage calculator comes up correct, but when I change it to 10 items (cube .36kg, act wt 300gms) It overcharges as a 10kg parcel and when I change qty to 100 it shows overweight error.

The language files only affect the words displayed on the screen. The Australia Post module works off the settings on the admin screen. If it is set to kg then the item weight of 300 is treated as 300kg.

However, if I change aupost from kgs to grams and show weight as 30(gms) for single item and 18000(gms) for carton, things change.

Single items sales up to 100 items (3kg, 100cm) show correct postage. Over 100 items shows overlength error.

The program is stacking the items so 101 items made a parcel of 12 x 12 x 101 cm + allowance for packaging it becomes 12.3 x 12.3 x 104 and one more makes it too long.

Single Carton sale is fine. Same problem though for multiple carton sales.

P.S. the cart is not linked to my web pages yet and I am using a bogus store name to test live.

Additional problem, the error below shows at top of shipping estimator for anything over a letter size order. No letter feature selected.

ln470$letterheightcheck=

An additional line shows for overlength error.

ln470$letterheightcheck=
ln856 parcel length check - length=105 max length=105

These are both error checks that I missed. They will be written to the log file and not displayed on the screen.

I have been playing with an updated version to revise the packaging algorithm to be more space efficient but also to not slow the calculations too much.
It also checks for the "ships_in_own_box" flag and bypasses the packaging calculations if it is set.

I'll make time over the weekend to work on it and post it on GitHub for testing.

OldNGrey
ZC222 PHP 8.4.27
MySQL 11.8.5-MariaDB

8 Nov 2026, 2:52 AM
#153
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
433
Plugin Contributions:
0

Post #153 by oldngrey

There is a new version of the Australia Post shipping module in my GitHub at https://github.com/OldNGreyBMR/aupost/releases/tag/v3.2.2

Please test it first before applying to a production system.

I will submit it to the admins if no bugs are reported.

Enhancement for Version 3.2.2 are:

  • Handles "ship-in-own-box"
  • Orders whose normal (non-own-box) items exceed Australia Post's maximum weight or cubic volume can now be split into multiple parcels. Each parcel is quoted separately and the results are merged into one total. This is controlled by an admin setting.
  • Parcels are numbered and items have a parcel number appended to the product name so this shows on the invoice and packing slip. This applies to packed/split parcels. Usage is controlled by an admin setting.
  • calculateOptimalParcel() is reworked: items ordered by volume first, 2D shelf packing with quantity splitting via gap candidates, and 3D stacking within each layer. This optimises the contents footprint and helps avoid generating long parcels.

OldNGrey
ZC222 PHP 8.4.27
MySQL 11.8.5-MariaDB

11 Nov 2026, 12:32 AM
#154
DavesStore avatar

DavesStore

Member

Join Date:
Oct 2026
Location:
Bracken Ridge, Brisbane, Australia
Posts:
3
Plugin Contributions:
0

Post #154 by DavesStore

Re: Australia Post Shipping Module.

Thank you oldngrey, you have created a masterpiece that works like a charm.

Every combination I have tried has produced an Australia Post quote that is spot on.

It looks like we all owe you a beer.

Cheers

David

11 Nov 2026, 2:03 AM
#155
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
433
Plugin Contributions:
0

Post #155 by oldngrey

There is a new version of the Australia Post module in my GitHub at https://github.com/OldNGreyBMR/aupost/releases/tag/v3.2.3

  • Correct conversion from kg to gms; The admin weight format is now read once at the start of the quote before any weight calculation.
  • Letter limits and the letter state variables are now always defined at the top of single quote and separated out from parcel quotes.
  • Parcels are numbered and items have a parcel number appended to the product name so this shows on the invoice and packing slip. This applies to packed/split parcels.
  • This is now an admin setting MODULE_SHIPPING_AUPOST_AUPOST_PARCEL_NAME_SUFFIX (Yes/No radio options, default Yes;
  • An observer has been added to enable this.
  • Parcel numbers follow quote construction order: own-box units first (cart order), then packed normal items/split bins.
  • Works only for this shop's internal packing flow: any program that reads orders_products.products_name will show the suffix.

Thanks to David from DavesStore for the additional testing.

OldNGrey
ZC222 PHP 8.4.27
MySQL 11.8.5-MariaDB

11 Nov 2026, 9:44 PM
#156
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
433
Plugin Contributions:
0

Post #156 by oldngrey

I have submitted Australia Post shipping module v3.2.3 for approval. It will be available from the plugins section :[(https://www.zen-cart.com/downloads.php?do=file&id=1138)]

OldNGrey
ZC222 PHP 8.4.27
MySQL 11.8.5-MariaDB

13 Nov 2026, 6:46 AM
#157
DavesStore avatar

DavesStore

Member

Join Date:
Oct 2026
Location:
Bracken Ridge, Brisbane, Australia
Posts:
3
Plugin Contributions:
0

Post #157 by DavesStore

And marvelous it is. This is great now I can sell carton size items (in their own box) and small items packed in as many parcels as it takes. Something I have hoped for for a very long time.

Thanks OldNgrey,

Cheers

David