Provide shipping rates directly from the New Zealand Post API through the WooCommerce plugin interface.
Connect Your New Zealand Post Account to WooCommerce for Automatic Order Shipping
Take advantage of premium shipping services with our NZ Post Shipping Plugin for WooCommerce. Effortlessly retrieve accurate shipping rates directly from New Zealand Post. To get started, ensure your WooCommerce store uses NZ Dollars as its default currency and has a base location set in New Zealand. The plugin is optimised for mm and kg units and supports both domestic and international parcel pricing, making it a reliable solution for businesses with a global reach.
PLEASE NOTE: This plugin is the product of OPMC and is not associated with New Zealand Post. New Zealand Post is not able to assist with any support or enquiries on this product. Any customer service requests must be directed to OPMC.
NEW PROCESS: Customer only needs to provide a valid NZ Post Account Number (TPID) for assistance. If customer doesn’t have an NZ Post Account number, please call the NZ POST National Call Centre for assistance with query on – 0800 501 501 or email NZ Post Sales leads – leads@nzpost.co.nz
The New Zealand Post Group offers services to help New Zealand run, connecting people, businesses and communities. This plugin lets you offer New Zealand Post rates to your customers which are pulled directly from their API.
When a customer enters their shipping information, the cost of the order’s shipping is calculated using the weight and dimensions of the product(s) and returns the correct shipping rate for the customer. Eliminate the hassle of manually calculating shipping costs and prevent unexpected charges.
The extension requires that your store uses NZ Dollars currency and New Zealand as the base country. It primarily works with mm and kg, but other units can be converted automatically. Setting up box sizes
Calculate Domestic and International Shipping Rates for NZ Packages
NZ Post can calculate rates domestically or worldwide:
DOMESTIC
INTERNATIONAL
ParcelPost
ParcelPost Fast
ParcelPost Tracked
Courier
International Express Courier
International Economy Courier
International Air
International Economy
Add Handling Fees or Offer Shipping Discounts
Quickly adjust your shipping rates directly from the plugin’s settings. You can increase the cost for each service by a fixed dollar amount or percentage
Specify Custom Box Sizes
.
Define the size, maximum weight, and dimensions of the boxes you use for shipping. Items will be automatically assigned to these boxes based on their dimensions or weight.
Create and Print Labels and Track Parcels with NZ Post Shipping APIs
Based on your subscription type, NZ Post Shipping APIs integration can perform the following operations:
Multiple Shipping Options on Checkout Page
Multiple shipping options for customers based on location, area and volume.
Nearby Collection Points
Gives customers options for nearby collection points.
Tracking Made Easy for Customers
Customers can track orders from within their WooCommerce Account and checkout screen
Shipping Information on Merchant Order Detail Pages
Merchants can print labels and track orders from the order detail pages.
If after you attempted to resolve issues with Support staff and feel the product(s) you purchased does/do not the best fit your requirements, we want to make things right.
Our policy offers a full refund within 30 days of your date of purchase. We’d love to know what went wrong and how we can improve, so please include details about the reason for your refund request if you reach out to us directly.
Woocommerce.opmc.com.au and our payment process submit the refund immediately and make every attempt to process the refund as quickly as possible. Your financial institution can take up to 20 days for the refund to reflect in your bank account/card.
PLEASE NOTE: This plugin is the product of OPMC and is not associated with New Zealand Post. New Zealand Post is not able to assist with any support or inquiries on this product. Any customer service requests must be directed only to OPMC.
New Zealand Post is a premium shipping method which let you get shipping rates from the New Zealand Post API. It requires that your store uses NZ Dollars for it’s currency and a base country of New Zealand. The extension primarily works with mm and kgs, but other units can be converted automatically.
This extension can calculate quotes worldwide as it handles both domestic and international parcels.
The API, and the built in box-packer, require that your non-virtual products have weights and dimensions set.
Installation
Upload the plugin folder to the ‘/wp-content/plugins/’ directory.
Activate the plugin through the ‘Plugins’ menu in WordPress.
Thats it – you can now configure the plugin.
API & Debug
Go to: WooCommerce > Settings > Shipping > New Zealand Post.Select API Type from NZ Post API Type drop-down. We recommend using Shipping Option V2 API because it is the latest version of New Zealand Post API. Here is the process of integrating all of the following APIs:
RateFinder API
Recommended: We recommend using new ShippingOptions V2 API. Please contact NZ Post to obtain an account for ShippingOptions V2 API.
Debug Mode - Tick the checkbox to log API requests and responses for the cart and checkout pages. Useful for troubleshooting.
Domestic shipping surcharge - Add surcharge amount per order if any.
International shipping surcharge - Add surcharge amount per order if any.
Click Save changes to store settings
PLEASE NOTE: When you need the advice of NZ Post on any NZ Post account-related issue, Please specify to NZ Post that you are using Plugin for WooCommerce for their understanding. This would help them understand to resolve your issue quickly.
Shipping Option API
Recommended: We recommend using new ShippingOptions V2 API. Please contact NZ Post to obtain an account for ShippingOptions V2 API.
This Shipping option is for existing customers of NZ Post with active API Access:
Click Public portal and you’ll be redirected to another page.
Navigate to Shipping Options API or search for ShippingOptions API in the search bar and click on it
On the top right corner, click on Request access button.
Select Production version from API instance and Standard in SLA tier.
Read and accept Terms and Conditions.
Now go to the Application drop-down field and follow these steps.
Creating New Application
In Application field, click create a new application.
Enter any name for your application.
Select the following:
Resource Owner Grant
Client Credentials Grant
Refresh Token and Automatically register the URIs for API Notebook and API Console
And click create.
You'll come back to the previous popup and now click Request Access.
You’ll get a notification message in your email and also in the application tab here from NZ Post.
Click the name of your Application.
Now, you can see Client ID and Client Secret in this tab.
Adding credentials to Shipping Option API
Client ID - Copy and paste Client ID from the application you have created. Client Secret - Available in application also copy and paste from there. Username - Enter username or email address of your NZ Post account NZ Post Account Number and Site code - Enter your NZ Post account number or (TPID) and NZ Post Site Code provided by New Zealand Post. If you doesn’t have it, please call the NZ POST National Call Center for assistance with query on – 0800 501 501or email NZ Post Sales leads – leads@nzpost.co.nz Enable auto-generate Shipping Options Label - Enable to generate shipping labels on checkout Enable Sandbox Mode - Enable Sandbox for API testing Debug Mode - Enabling this will show you debugging information on your cart and checkout pages. Domestic shipping surcharge - Add surcharge amount per order if any. International shipping surcharge - Add surcharge amount per order if any Save Changes - Click Save changes to store settings. Always store settings after making any change.
Shipping Option V2 API
NZ Post Account Number and Site code - Enter your NZ Post account number or (TPID) and NZ Post Site Code provided by New Zealand Post. If you doesn’t have it, please call the NZ POST National Call Center for assistance with query on – 0800 501 501or email NZ Post Sales leads – leads@nzpost.co.nz Enable auto-generate Shipping Options Label - Enable to generate shipping labels on checkout Enable Sandbox Mode - Enable Sandbox for API testing Debug Mode - Enabling this will show you debugging information on your cart and checkout pages. Domestic shipping surcharge - Add surcharge amount per order if any. International shipping surcharge - Add surcharge amount per order if any Save Changes - Click Save changes to store settings. Always store settings after making any change.
Configuration
Go to: WooCommerce > Settings > Shipping.
Select your Shipping Zone that you want to add the method to, and press the Add shipping method + button on the right
Select New Zealand Post from the dropdown and press Add shipping method:
Click on the New Zealand Post method to configure the settings:
Method Title – Name the shipping method. This will be visible by customers.
Origin Postcode – This should be set to the postcode from which you will ship. It is sent to the NZ Post API. It should match with the Postcode / Zip specified in WooCommerce => Settings => Gereral => Store Address.
Note: The store address specified in general WooCommerce setting is an important part that affects several WooCommerce features, so it should be mentioned correctly. The user should also make sure that their store address is available in NZ Post API database. If not, then they must request to get their store address added into NZ Post API database
Method Availability – This setting lets you narrow down the countries which can get quotes. Leave set to All Countries to have it available for all customers.
Rates and Services – These 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 just return a single rate.
Services – Here you can rename, and re-order, NZ Post shipping rates.
Add shipping method.
Parcel Packing Method
There are 2 packing methods with NZ Post; each affects the parcels you send to the API.
Pack items individually (Default)
Each item in your cart (non virtual) will be sent to the NZ Post API. Quotes for all items will be combined for the final cost.
Pack into boxes with weights and dimensions (Recommended)
Items will be 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
The 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.
The box packer is volume based. This will in most cases provide good results, but will never be as accurate as a real person packing a box (see BIN Packing Problem) therefore it is important you understand that packing results are as accurate as they can be and any anomalies should be accepted.
Setting up box sizes
Within 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.
Box weight 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.
How the calculation works
The 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.
Customer Usage
Customers will get quotes (after inputting their address) from two places;
The cart page – by using the shipping calculator
The checkout page – by filling in the shipping and billing forms
Rates can be selected by customers as normal.
Troubleshooting
No rates returned/no rates available
Enable debug mode 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 New Zealand and that you are using NZ Dollars (from WooCommerce > Settings > General).
The store address specified in general WooCommerce setting is an important part that affects several WooCommerce features, so it should be mentioned correctly. The user should also make sure that their store address is available in NZ Post API database. If not, then they must request to get their store address added into NZ Post API database.
The plugin works correctly when both the store address and buyers shipping address details match an address within the NZ Post address database. However, when the address does not exist in the NZ Post database, or the address is entered in the wrong format, the plugin does not work. If the buyer finds that shipping options are not coming up, then he can directly search his shipping address on NZ Post address locator here: https://www.nzpost.co.nz/tools/postshop-kiwibank-locator/. Then, they can retry and specify exactly as its appearing in the address locator search result.
The plugin needs to be able to talk to NZ Post API. For this it uses wp_remote_post which makes use of fsockopen/CURL.
By purchasing the New Zealand Post Shipping for WooCommerce plugin, you will be able to gain access to a downloadable .zip file. When you purchase this plugin, you are assigned an account and license key. This gives you access to one year of premium support and updates.
Basic Setup:
Purchase the New Zealand Post Shipping for WooCommerce to get started.
Download the .zip file to your device.
On your website, Go to: WordPress Admin > Plugins > Add New to upload the file you downloaded with Choose File.
Activate the plugin in Plugins > Installed Plugins.
If you have a question about our New Zealand Post Shipping for WooCommerce plugin, please feel free to contact our support team.
Reviews
There are no reviews yet.
Be the first to review “New Zealand Post Shipping for WooCommerce” Cancel reply
Reviews
There are no reviews yet.