{"id":414347,"date":"2026-11-28T10:24:22","date_gmt":"2026-11-28T10:24:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wpruby-canada-post-shipping-for-woocommerce\/"},"modified":"2026-11-28T10:38:37","modified_gmt":"2026-11-28T10:38:37","slug":"wpruby-shipping-rates-canada-post","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wpruby-shipping-rates-canada-post\/","author":14900433,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"7.1.5","requires":"6.2","requires_php":"7.4","requires_plugins":null,"header_name":"WPRuby Shipping Rates for Canada Post and WooCommerce","header_author":"WPRuby","header_description":"Live Canada Post shipping rates at WooCommerce checkout: Regular Parcel, Expedited Parcel, Xpresspost, Priority, and US and international services, from your own Canada Post account.","last_updated":"2026-11-28 10:38:37","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/wpruby-shipping-rates-canada-post\/","header_author_uri":"https:\/\/wpruby.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":33,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"wprubyplugins","date":"2026-11-28 10:24:05","revision":3831201},"1.0.1":{"tag":"1.0.1","author":"wprubyplugins","date":"2026-11-28 10:38:37","revision":3831230}},"upgrade_notice":{"1.0.1":"<p>Adds information about Canada Post Pro to the settings screens. No changes to rates.<\/p>","1.0.0":"<p>First release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3831201,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3831201,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3831230,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3831230,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3831201,"resolution":"1","location":"assets","locale":"","width":2456,"height":1754},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3831201,"resolution":"2","location":"assets","locale":"","width":2536,"height":2768},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3831201,"resolution":"3","location":"assets","locale":"","width":2360,"height":1226}},"screenshots":{"1":"The Canada Post settings: account, ship-from postal code and parcels.","2":"Choosing and renaming the services a shipping zone offers.","3":"A Canada Post rate with its delivery estimate at the block checkout."}},"plugin_section":[],"plugin_tags":[9082,15628,5140,5139,5023],"plugin_category":[],"plugin_contributors":[78023,84210],"plugin_business_model":[],"class_list":["post-414347","plugin","type-plugin","status-publish","hentry","plugin_tags-canada","plugin_tags-canada-post","plugin_tags-shipping-calculator","plugin_tags-shipping-rates","plugin_tags-woocommerce-shipping","plugin_contributors-waseem_senjer","plugin_contributors-wprubyplugins","plugin_committers-wprubyplugins"],"banners":{"banner":"https:\/\/ps.w.org\/wpruby-shipping-rates-canada-post\/assets\/banner-772x250.png?rev=3831230","banner_2x":"https:\/\/ps.w.org\/wpruby-shipping-rates-canada-post\/assets\/banner-1544x500.png?rev=3831230","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wpruby-shipping-rates-canada-post\/assets\/icon-128x128.png?rev=3831201","icon_2x":"https:\/\/ps.w.org\/wpruby-shipping-rates-canada-post\/assets\/icon-256x256.png?rev=3831201","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wpruby-shipping-rates-canada-post\/assets\/screenshot-1.png?rev=3831201","caption":"The Canada Post settings: account, ship-from postal code and parcels."},{"src":"https:\/\/ps.w.org\/wpruby-shipping-rates-canada-post\/assets\/screenshot-2.png?rev=3831201","caption":"Choosing and renaming the services a shipping zone offers."},{"src":"https:\/\/ps.w.org\/wpruby-shipping-rates-canada-post\/assets\/screenshot-3.png?rev=3831201","caption":"A Canada Post rate with its delivery estimate at the block checkout."}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li><strong>Live rates for Canada, the US and the world:<\/strong> 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).<\/li>\n<li><strong>Your prices:<\/strong> business rates for commercial contract accounts, retail rates for Solutions for Small Business, or choose per shipping zone.<\/li>\n<li><strong>Choose and rename services:<\/strong> tick the services each zone offers and change the name customers see.<\/li>\n<li><strong>Delivery estimates:<\/strong> show \"(est. 2 business days)\" next to each service.<\/li>\n<li><strong>Handling fees:<\/strong> add a fixed amount, a percentage, or both. Negative values give a discount.<\/li>\n<li><strong>Correct tax:<\/strong> Canada Post's prices include GST\/HST\/PST. When shipping is taxable, the rate is shown before tax and WooCommerce adds your tax once.<\/li>\n<li><strong>Simple packing:<\/strong> 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.<\/li>\n<li><strong>Test mode:<\/strong> connect a Canada Post Test app; its sample rates are shown only to shop managers.<\/li>\n<li><strong>Block and classic checkout:<\/strong> rates appear in both, and the plugin is compatible with WooCommerce's order storage (HPOS).<\/li>\n<\/ul>\n\n<h4>Need more? Upgrade to Canada Post Pro<\/h4>\n\n<p><a href=\"https:\/\/wpruby.com\/plugin\/woocommerce-canada-post-extension-pro\/?utm_source=canadapost-lite&amp;utm_medium=readme&amp;utm_campaign=freetopro&amp;utm_content=pro\">Canada Post Pro<\/a> adds everything after checkout:<\/p>\n\n<ul>\n<li>Print Canada Post labels from the order screen, one order at a time or in bulk.<\/li>\n<li>End-of-day manifests, pickups and return labels.<\/li>\n<li>Tracking numbers and status updates in order emails and My Account.<\/li>\n<li>Delivery to a post office chosen at checkout, and AddressComplete address search.<\/li>\n<li>Your own boxes with 3D packing, free shipping thresholds, per-service price adjustments and a fallback rate when Canada Post is down.<\/li>\n<\/ul>\n\n<p>Your shipping zones keep their settings when you upgrade.<\/p>\n\n<h4>Links<\/h4>\n\n<ul>\n<li><a href=\"https:\/\/wpruby.com\/canada-post-shipping-rates-woocommerce\/\">How to show Canada Post shipping rates at WooCommerce checkout<\/a><\/li>\n<li><a href=\"https:\/\/wpruby.com\/plugin\/woocommerce-canada-post-extension-pro\/?utm_source=canadapost-lite&amp;utm_medium=readme&amp;utm_campaign=freetopro&amp;utm_content=links\">Canada Post Pro<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/support\/plugin\/wpruby-shipping-rates-canada-post\/\">Support forum<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/wsenjer\/wpruby-shipping-rates-canada-post\">Source code on GitHub<\/a><\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to Canada Post's API to get shipping rates. It is needed to show Canada Post rates at checkout.<\/p>\n\n<ul>\n<li><strong>When:<\/strong> 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.<\/li>\n<li><strong>What is sent:<\/strong> 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.<\/li>\n<li><strong>Where:<\/strong> <code>api.canadapost-postescanada.ca<\/code>, run by Canada Post Corporation.<\/li>\n<\/ul>\n\n<p>Canada Post's <a href=\"https:\/\/www.canadapost-postescanada.ca\/cpc\/en\/support\/kb\/company-policies\/terms-conditions\/legal-terms-of-use-and-conditions.page\">terms of use<\/a> and <a href=\"https:\/\/www.canadapost-postescanada.ca\/cpc\/en\/our-company\/transparency-and-trust\/privacy-centre\/privacy-policy.page\">privacy policy<\/a>.<\/p>\n\n<h3>Source code<\/h3>\n\n<p>The plugin ships no compiled or minified code. The PHP, JavaScript and CSS in the plugin are the source.<\/p>\n\n<p>Development happens on GitHub: <a href=\"https:\/\/github.com\/wsenjer\/wpruby-shipping-rates-canada-post\">github.com\/wsenjer\/wpruby-shipping-rates-canada-post<\/a>. Bug reports and pull requests are welcome.<\/p>\n\n<h3>Disclaimer<\/h3>\n\n<p>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.<\/p>\n\n<!--section=installation-->\n<h4>From your WordPress dashboard<\/h4>\n\n<ol>\n<li>Go to Plugins \u2192 Add New.<\/li>\n<li>Search for \"WPRuby Shipping Rates for Canada Post\".<\/li>\n<li>Click Install Now, then Activate.<\/li>\n<\/ol>\n\n<h4>After activation<\/h4>\n\n<ol>\n<li>On the <a href=\"https:\/\/developer-developpeur.canadapost-postescanada.ca\/devportal-portaildesdeveloppeurs\/\">Canada Post Developer Portal<\/a>, create an app and add the <strong>Rating<\/strong> API product to it.<\/li>\n<li>In WooCommerce \u2192 Settings \u2192 Shipping \u2192 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.<\/li>\n<li>Click <strong>Test connection<\/strong>. It asks Canada Post for a Regular Parcel rate from your postal code to itself.<\/li>\n<li>Go to WooCommerce \u2192 Settings \u2192 Shipping, edit a shipping zone (for example \"Canada\"), add the <strong>Canada Post<\/strong> method and choose its services.<\/li>\n<\/ol>\n\n<p>Products need a weight for accurate rates, and a size if Canada Post bills your parcels by volume.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20do%20i%20need%20from%20canada%20post%3F\"><h3>What do I need from Canada Post?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"why%20don%27t%20i%20see%20any%20canada%20post%20rates%20at%20checkout%3F\"><h3>Why don't I see any Canada Post rates at checkout?<\/h3><\/dt>\n<dd><p>Check that:<\/p>\n\n<ul>\n<li>the API key, secret and customer number are saved, and Test connection succeeds;<\/li>\n<li>the zone that matches the customer's address has the Canada Post method, with at least one service ticked for that destination;<\/li>\n<li>the address has a postal code (Canada) or ZIP code (US);<\/li>\n<li>the app is a Production app: rates from a Test app are shown to shop managers only.<\/li>\n<\/ul>\n\n<p>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 \u2192 Status \u2192 Logs.<\/p><\/dd>\n<dt id=\"are%20the%20rates%20before%20or%20after%20tax%3F\"><h3>Are the rates before or after tax?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"my%20store%20isn%27t%20in%20canadian%20dollars.\"><h3>My store isn't in Canadian dollars.<\/h3><\/dt>\n<dd><p>Canada Post quotes in CAD. Set the CAD exchange rate in the Canada Post settings, and rates are multiplied by it.<\/p><\/dd>\n<dt id=\"can%20i%20print%20shipping%20labels%3F\"><h3>Can I print shipping labels?<\/h3><\/dt>\n<dd><p>Not with the free version. <a href=\"https:\/\/wpruby.com\/plugin\/woocommerce-canada-post-extension-pro\/?utm_source=canadapost-lite&amp;utm_medium=readme&amp;utm_campaign=freetopro&amp;utm_content=faq-labels\">Canada Post Pro<\/a> prints labels from the order screen, in bulk, with manifests, tracking and returns.<\/p><\/dd>\n<dt id=\"how%20do%20i%20upgrade%20to%20pro%3F\"><h3>How do I upgrade to Pro?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"can%20i%20keep%20the%20api%20key%20out%20of%20the%20database%3F\"><h3>Can I keep the API key out of the database?<\/h3><\/dt>\n<dd><p>Yes. Define <code>WPRUBY_CPS_API_KEY<\/code> and <code>WPRUBY_CPS_API_SECRET<\/code> in wp-config.php and the settings fields are locked.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added: An \"Upgrade to Canada Post Pro\" card on the Canada Post settings and zone settings screens, and a link in the plugin row.<\/li>\n<li>Changed: Plugin name is now \"WPRuby Shipping Rates for Canada Post and WooCommerce\".<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Added: Live Canada Post rates for Canada, the US and international destinations, from Canada Post's Rating API.<\/li>\n<li>Added: Per-zone services with custom names, business or retail rates, handling fees and delivery estimates.<\/li>\n<li>Added: Test connection button, Test app mode for shop managers, debug logging and wp-config.php constants for the API key and secret.<\/li>\n<\/ul>","raw_excerpt":"Live Canada Post rates at WooCommerce checkout: Regular Parcel, Expedited Parcel, Xpresspost, Priority, US and international, from your own account.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/414347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=414347"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wprubyplugins"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=414347"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=414347"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=414347"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=414347"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=414347"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=414347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}