Title: WPRuby Shipping Rates for Canada Post and WooCommerce
Author: WPRuby
Published: <strong>November 28, 2026</strong>
Last modified: November 28, 2026

---

Search plugins

![](https://ps.w.org/wpruby-shipping-rates-canada-post/assets/banner-772x250.png?
rev=3831230)

![](https://ps.w.org/wpruby-shipping-rates-canada-post/assets/icon-256x256.png?rev
=3831201)

# WPRuby Shipping Rates for Canada Post and WooCommerce

 By [WPRuby](https://profiles.wordpress.org/wprubyplugins/)

[Download](https://downloads.wordpress.org/plugin/wpruby-shipping-rates-canada-post.1.0.1.zip)

 * [Details](https://wordpress.org/plugins/wpruby-shipping-rates-canada-post/#description)
 * [Reviews](https://wordpress.org/plugins/wpruby-shipping-rates-canada-post/#reviews)
 *  [Installation](https://wordpress.org/plugins/wpruby-shipping-rates-canada-post/#installation)
 * [Development](https://wordpress.org/plugins/wpruby-shipping-rates-canada-post/#developers)

 [Support](https://wordpress.org/support/plugin/wpruby-shipping-rates-canada-post/)

## Description

Show your customers live Canada Post shipping rates at checkout, quoted from your
own Canada Post account. Rates come from Canada Post’s Rating API for every order,
so they follow the weight and size of the cart and the customer’s address.

#### Features

 * **Live rates for Canada, the US and the world:** Regular Parcel, Expedited Parcel,
   Xpresspost and Priority in Canada; Expedited Parcel USA, Xpresspost USA, Tracked
   Packet USA and Small Packet USA Air; Xpresspost International, Tracked Packet
   International, International Parcel and Small Packet International (air and surface).
 * **Your prices:** business rates for commercial contract accounts, retail rates
   for Solutions for Small Business, or choose per shipping zone.
 * **Choose and rename services:** tick the services each zone offers and change
   the name customers see.
 * **Delivery estimates:** show “(est. 2 business days)” next to each service.
 * **Handling fees:** add a fixed amount, a percentage, or both. Negative values
   give a discount.
 * **Correct tax:** Canada Post’s prices include GST/HST/PST. When shipping is taxable,
   the rate is shown before tax and WooCommerce adds your tax once.
 * **Simple packing:** items go together in as few parcels as the 30 kg limit allows,
   or one parcel per item, with default weights and sizes for products that have
   none.
 * **Test mode:** connect a Canada Post Test app; its sample rates are shown only
   to shop managers.
 * **Block and classic checkout:** rates appear in both, and the plugin is compatible
   with WooCommerce’s order storage (HPOS).

#### Need more? Upgrade to Canada Post Pro

[Canada Post Pro](https://wpruby.com/plugin/woocommerce-canada-post-extension-pro/?utm_source=canadapost-lite&utm_medium=readme&utm_campaign=freetopro&utm_content=pro)
adds everything after checkout:

 * Print Canada Post labels from the order screen, one order at a time or in bulk.
 * End-of-day manifests, pickups and return labels.
 * Tracking numbers and status updates in order emails and My Account.
 * Delivery to a post office chosen at checkout, and AddressComplete address search.
 * Your own boxes with 3D packing, free shipping thresholds, per-service price adjustments
   and a fallback rate when Canada Post is down.

Your shipping zones keep their settings when you upgrade.

#### Links

 * [How to show Canada Post shipping rates at WooCommerce checkout](https://wpruby.com/canada-post-shipping-rates-woocommerce/)
 * [Canada Post Pro](https://wpruby.com/plugin/woocommerce-canada-post-extension-pro/?utm_source=canadapost-lite&utm_medium=readme&utm_campaign=freetopro&utm_content=links)
 * [Support forum](https://wordpress.org/support/plugin/wpruby-shipping-rates-canada-post/)
 * [Source code on GitHub](https://github.com/wsenjer/wpruby-shipping-rates-canada-post)

### External services

This plugin connects to Canada Post’s API to get shipping rates. It is needed to
show Canada Post rates at checkout.

 * **When:** when WooCommerce calculates shipping for a cart or checkout whose zone
   uses the Canada Post method, and when a shop manager clicks Test connection. 
   Rates are cached for 10 minutes and access tokens until they expire, so repeated
   identical requests aren’t sent again.
 * **What is sent:** your API key and secret (to get an access token), your customer
   number and contract number, your ship-from postal code, the customer’s destination
   country and postal or ZIP code, the weight and size of each parcel, and the services
   to quote. No customer names, emails, street addresses or order contents are sent.
 * **Where:** `api.canadapost-postescanada.ca`, run by Canada Post Corporation.

Canada Post’s [terms of use](https://www.canadapost-postescanada.ca/cpc/en/support/kb/company-policies/terms-conditions/legal-terms-of-use-and-conditions.page)
and [privacy policy](https://www.canadapost-postescanada.ca/cpc/en/our-company/transparency-and-trust/privacy-centre/privacy-policy.page).

### Source code

The plugin ships no compiled or minified code. The PHP, JavaScript and CSS in the
plugin are the source.

Development happens on GitHub: [github.com/wsenjer/wpruby-shipping-rates-canada-post](https://github.com/wsenjer/wpruby-shipping-rates-canada-post).
Bug reports and pull requests are welcome.

### Disclaimer

Canada Post and the Canada Post services named here are trademarks of Canada Post
Corporation. WooCommerce is a trademark of Automattic Inc. This plugin is made by
WPRuby and is not affiliated with or endorsed by Canada Post or Automattic.

## Screenshots

[⌊The Canada Post settings: account, ship-from postal code and parcels.⌉⌊The Canada
Post settings: account, ship-from postal code and parcels.⌉[

The Canada Post settings: account, ship-from postal code and parcels.

[⌊Choosing and renaming the services a shipping zone offers.⌉⌊Choosing and renaming
the services a shipping zone offers.⌉[

Choosing and renaming the services a shipping zone offers.

[⌊A Canada Post rate with its delivery estimate at the block checkout.⌉⌊A Canada
Post rate with its delivery estimate at the block checkout.⌉[

A Canada Post rate with its delivery estimate at the block checkout.

## Installation

#### From your WordPress dashboard

 1. Go to Plugins  Add New.
 2. Search for “WPRuby Shipping Rates for Canada Post”.
 3. Click Install Now, then Activate.

#### After activation

 1. On the [Canada Post Developer Portal](https://developer-developpeur.canadapost-postescanada.ca/devportal-portaildesdeveloppeurs/),
    create an app and add the **Rating** API product to it.
 2. In WooCommerce  Settings  Shipping  Canada Post, enter the app’s API key and secret,
    your customer number and your ship-from postal code. Choose whether it’s a Production
    or a Test app, then save.
 3. Click **Test connection**. It asks Canada Post for a Regular Parcel rate from your
    postal code to itself.
 4. Go to WooCommerce  Settings  Shipping, edit a shipping zone (for example “Canada”),
    add the **Canada Post** method and choose its services.

Products need a weight for accurate rates, and a size if Canada Post bills your 
parcels by volume.

## FAQ

### What do I need from Canada Post?

A Canada Post business account (Solutions for Small Business or a commercial contract)
with a customer number, and an app on the Canada Post Developer Portal with the 
Rating API product. The app gives you an API key and secret.

### Why don’t I see any Canada Post rates at checkout?

Check that:

 * the API key, secret and customer number are saved, and Test connection succeeds;
 * the zone that matches the customer’s address has the Canada Post method, with
   at least one service ticked for that destination;
 * the address has a postal code (Canada) or ZIP code (US);
 * the app is a Production app: rates from a Test app are shown to shop managers
   only.

Turn on Debug mode in the Canada Post settings to see Canada Post’s error on the
cart and checkout (shop managers only) and in WooCommerce  Status  Logs.

### Are the rates before or after tax?

Canada Post’s price includes GST/HST/PST. When the zone’s tax status is “Taxable”,
the plugin removes Canada Post’s tax and WooCommerce charges your own tax on shipping.
When it’s “None”, customers pay Canada Post’s price including tax.

### My store isn’t in Canadian dollars.

Canada Post quotes in CAD. Set the CAD exchange rate in the Canada Post settings,
and rates are multiplied by it.

### Can I print shipping labels?

Not with the free version. [Canada Post Pro](https://wpruby.com/plugin/woocommerce-canada-post-extension-pro/?utm_source=canadapost-lite&utm_medium=readme&utm_campaign=freetopro&utm_content=faq-labels)
prints labels from the order screen, in bulk, with manifests, tracking and returns.

### How do I upgrade to Pro?

Install and activate Canada Post Pro. While Pro is active, this free plugin stops
running, and Pro uses your existing Canada Post shipping zones. Enter your API key
and secret in Pro, then deactivate and delete the free plugin.

### Can I keep the API key out of the database?

Yes. Define `WPRUBY_CPS_API_KEY` and `WPRUBY_CPS_API_SECRET` in wp-config.php and
the settings fields are locked.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WPRuby Shipping Rates for Canada Post and WooCommerce” is open source software.
The following people have contributed to this plugin.

Contributors

 *   [ WPRuby ](https://profiles.wordpress.org/wprubyplugins/)
 *   [ Waseem Senjer ](https://profiles.wordpress.org/waseem_senjer/)

[Translate “WPRuby Shipping Rates for Canada Post and WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/wpruby-shipping-rates-canada-post)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wpruby-shipping-rates-canada-post/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wpruby-shipping-rates-canada-post/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wpruby-shipping-rates-canada-post/)
by [RSS](https://plugins.trac.wordpress.org/log/wpruby-shipping-rates-canada-post/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * Added: An “Upgrade to Canada Post Pro” card on the Canada Post settings and zone
   settings screens, and a link in the plugin row.
 * Changed: Plugin name is now “WPRuby Shipping Rates for Canada Post and WooCommerce”.

#### 1.0.0

 * Added: Live Canada Post rates for Canada, the US and international destinations,
   from Canada Post’s Rating API.
 * Added: Per-zone services with custom names, business or retail rates, handling
   fees and delivery estimates.
 * Added: Test connection button, Test app mode for shop managers, debug logging
   and wp-config.php constants for the API key and secret.

## Meta

 *  Version **1.0.1**
 *  Last updated **2 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [Canada](https://wordpress.org/plugins/tags/canada/)[canada post](https://wordpress.org/plugins/tags/canada-post/)
   [shipping calculator](https://wordpress.org/plugins/tags/shipping-calculator/)
   [shipping rates](https://wordpress.org/plugins/tags/shipping-rates/)[woocommerce shipping](https://wordpress.org/plugins/tags/woocommerce-shipping/)
 *  [Advanced View](https://wordpress.org/plugins/wpruby-shipping-rates-canada-post/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/wpruby-shipping-rates-canada-post/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wpruby-shipping-rates-canada-post/reviews/)

## Contributors

 *   [ WPRuby ](https://profiles.wordpress.org/wprubyplugins/)
 *   [ Waseem Senjer ](https://profiles.wordpress.org/waseem_senjer/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wpruby-shipping-rates-canada-post/)