Part of the Commerce ecosystem · 493 projects
This module provides Canada Post shipping quotes for Drupal Commerce.
The 7.x-1.x branch supports the SellOnline API. Canada Post plans on retiring this API but their technical support says it will continue work "well into 2014" with "a long buffer time for our customers convenience".
The 7.x-2.x branch supports the new Canada Post web services API.
Requirements
7.x-1.x Branch
- A Canada Post Sell Online Merchant ID is required, visit the Canada Post Sell Online website or contact the SellOnline help desk ([email protected] or call 1-866-511-0546) for instructions on how to get one.
- Ensure that the firewall on your web server allows outgoing connections to http://sellonline.canadapost.ca on port 30000.
7.x-2.x Branch
- A Canada Post Developer Program API key is required. See this page for instructions (follow steps 1 to 3).
Installation and Configuration
Once installed, browse to the settings form (admin/commerce/config/shipping/methods/canadapost/edit) and enter your credentials (CPC ID for 7.x-1.x branch, Customer Number & Production API Key for the 7.x-2.x branch). Shipping services (Expedited, Xpresspost, etc) can be enabled/disabled from this form in addition to changing basic settings like turnaround time, origin postal code, and markup/handling rates (for the 7.x-1.x branch, these will override the settings in your Canada Post Sell Online account).
You will also need to add a physical weight field (from the Physical Fields module) to your product variation types (admin/commerce/config/product-variation-types) and supply weight values for your products. If no weight can be determined for an order, the module will not return any shipping rates. The name of the weight field does not matter.
Notes when upgrading from 7.x-1.x to 7.x-2.x
Upgrading to 2.x will require re-selecting available shipping services.
Ask your assistant about Commerce Canada Post
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Commerce ecosystem
Most installed first
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.0.x-dev | Dev | 8–9 | Nov 3, 2026 |