Australia Post is a premium shipping method that allows your store to fetch rates from Australia Post’s API and calculate shipping for orders.
Requirements
↑ Back to top- Your store must use Australian Dollars (AUD) as its currency
- Base location of your store is Australia
Installation
↑ Back to top- Download the .zip file from your WooCommerce account.
- Go to: WordPress Admin > Plugins > Add New to upload the file you downloaded with Choose File.
- Activate the extension.
More information at: Installing and Managing Plugins.
API Key and Debug
↑ Back to topYou can set this under WooCommerce > Settings > Shipping > Australia Post
API access details are on the Australia Post website. Obtain your own key, or use ours.
- API Key – Get this from Australia Post or leave blank to use our API Key.
- Debug Mode – Enable/disable debug mode to show debugging information on your cart/checkout.
Setup and Configuration
↑ Back to top- Go to WooCommerce > Settings > Shipping > Shipping zones.
2. Click the Edit button on the shipping zone where you want to offer this method.
3. Inside the shipping zone, click the Add shipping method button.
4. Then, select the shipping method and click the Continue button.
- Click the Edit button on the right side of the Shipping methods table to configure the settings:
- Method Title – Name the shipping method. This is visible to customers.
- Origin Postcode – Should be set to the postcode from where you ship, and is sent to the Australia Post API.
- Method Availability – Allows you to narrow down the countries that get quotes. Leave set to All Countries to make available to all customers.
- Rates and Service Settings – Control the services and rates you offer customers.
- Parcel Packing Method – See below.
- Offer Rates – Choose to return all rates (user will get the choice) or the cheapest rate.
- Services – Here you can enable/disable, re-order, rename and configure Australia Post shipping rates.
- Save.
Parcel Packing Methods
↑ Back to topThere are three packing methods with Australia Post; each affects the parcels you send to the API.
Pack items individually (Default)
↑ Back to topEach item in your cart (non-virtual) is sent to the Australia Post API. Quotes for all items are combined for the final cost.
Weight of all items
↑ Back to topThe combined weight of all items in the cart is used to calculate the cost. If the package becomes too heavy, it is split. Using this method, a Maximum weight field appears and must be filled out.
Pack into boxes with weights and dimension (Recommended)
↑ Back to topItems are packed into pre-defined boxes and sent to the API. We recommend this option. See Box-Packing below for more information on this.
Box-Packing
↑ Back to topThe box packer included with this shipping method lets you group items into packages of which you define the height, width, length, weight and max weight. The packing is mainly volume based, but does also consider item sizes too.
Setting up box sizes
↑ Back to topWithin the settings, look for the boxes setting. Click ‘add box’ to set up the boxes dimensions:
Outer dimensions are used for parcel dimensions and are passed to the API.
Inner dimensions are used for packing, and items will be fit within these.
Weight of box is the weight of the actual box, and will be added to the weight of the contents.
Max weight is the maximum weight your box can hold. This includes contents weight and box weight.
Type: This checkbox determines whether your package is a box, envelope, packet, or tube.
How the calculation works
↑ Back to topThe packer does the following:
- Finds boxes which fit the items being packed (uses H x W x D).
- Packs all fitting items into boxes (using volume).
- The largest box which fits 100% of items is used *or* use the highest % packed box, and then pass unpacked items back (and repeat the process)
- Unpackable items are packed alone, using the item dimensions.
- All packed boxes are returned.
Satchel Rates
↑ Back to topSatchel Rates are flat rates that you can use, instead of defining box sizes. If Satchel Rates are enabled on your site, then items are calculated based on one of three satchels available:
- 500g satchels are 335mm x 220mm ( W x H ) and are suitable for shipping CDs, iPods, mobile phones.
- 1kg satchels are 385 x 265mm ( W x H ).
- 3kg satchels are 405mm x 310mm ( W x H ) and are suitable for Fashion, books, digital cameras, toys.
- 5kg satchels are 510 x 435mm ( W x H ).
There are three options regarding the Satchel Rates dropdown:
- Enable Satchel Rates – Uses the above satchels to calculate shipping, which ignores your custom boxes.
- Prioritize Satchel Rates – Uses Satchel Rates when applicable, but if your item does not meet criteria or fit in the satchel box, it will use a custom box size.
- Disable Satchel Rates – Ignores Satchel Rates and uses your own boxes.
If you don’t intend to use the pre-defined satchels and want to use your own box sizes for the calculator, you need to select the option Disable Satchel Rates.
Services
↑ Back to topIn the Services section of the menu, you can choose which Australia Post services you want your customers to receive.
There are a few fields to note:
- Extra Cover is an optional selection that will increase the price of your shipping by adding additional insurance during transfer.
- Signature / Registered is another optional selection to cover tracking and (if purchased) signature at delivery.
- The Adjustment fields increase shipping by a flat amount or percent. A blank field leaves rates untouched.
- i.e. Your shipping is $10 with $5 in Adjustment ($) – the customer will be charged $15 for shipping.
- i.e. Your shipping is $10 with %15 in Adjustment (%) – the customer will be charged $11.50 for shipping.
Customer Usage
↑ Back to topCustomers will get quotes (after inputting their address) from two places:
- Cart page – by using the shipping calculator
- Checkout page – by filling in the shipping and billing forms
Troubleshooting
↑ Back to topNo rates returned/no rates available
↑ Back to top- Ensure your API credentials are correct.
- Enable development mode, or turn on WP_DEBUG to see debugging information on the cart page. This will often reveal the problem.
- Check your products have sizes and weights set – without this the calculation cannot be performed.
- Check your store’s base country is Australia and that your using Australian Dollars (from WooCommerce > Settings > General).
Error message in cart: Fatal error: Cannot use object of type WP_Error as array in ../woocommerce-shipping-australia-post/classes/class-wc-shipping-australia-post.php on line 1086
You can see this error message if your server can not use the wp_remote_get() function. This is something you can verify in the Status Report:
In this case, we recommend you to contact your hosting company so that they update your server.
How do I adjust tax rate?
↑ Back to topIf you need to adjust tax rate, you can add the following snippet to the file called “functions.php” within your theme folder:
Frequently Asked Questions
↑ Back to topDoes this support discounted/negotiated rates from Australia Post Business?
↑ Back to topNo. And there are no plans at this time to add it in the future.
How do I make it return Australia Post Letter Rates?
↑ Back to topTo get Australia Post to return letter rates, you will have to configure custom boxes in the extension using the Pack into boxes with weights and dimensions (Recommended) method.
Once you have chosen this method, please be sure to enter the box sizes you require (please ensure that these box sizes are same as the letter-box sizes mentioned in the Australia Post website – otherwise the extension will not calculate letter rates), and please select Envelope from the drop down list:
By doing this, the Australia Post extension will fetch letter rates using the API, and fetch accurate letter rates for your customers.
How do I make it return Australia Post Satchel Rates?
↑ Back to topSatchel rates will be returned if the item (or the outer dimensions of your boxes, if you are using box packing) fit inside the satchel dimensions.
- 500g satchels are 335mm x 220mm ( W x H ) and are suitable for shipping CDs, iPods, mobile phones.
- 1kg satchels are 385 x 265mm ( W x H ).
- 3kg satchels are 405mm x 310mm ( W x H ) and are suitable for Fashion, books, digital cameras, toys.
- 5kg satchels are 510 x 435mm ( W x H ).
When a service is made up of several types of rate, including satchel, e.g. Regular Post, Satchel rates will only be used if they are the cheapest.
If you are using box packing, choose a box L x W x H outer size which would fit inside a satchel. The length you use is up to you – usually this will be determined by the products being shipped.
Questions and Feedback
↑ Back to topHave a question before you buy? Please fill out this pre-sales form.
Already purchased and need some assistance? Get in touch with a Happiness Engineer via the Help Desk.