
WPRuby Shipping Rates for Canada Post and WooCommerce
v1.0.1WPRuby · 2026年11月28日 上架
Live Canada Post rates at WooCommerce checkout: Regular Parcel, Expedited Parcel, Xpresspost, Priority, US and international, from your own account.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 0
- 最近更新
- 2026年11月28日
贡献者
截图
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 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
- Canada Post Pro
- Support forum
- Source code on GitHub
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 and privacy policy.
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. 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.


