You can reach the plugin settings by choosing the WooCommerce → Settings → Shipping → Canada Post Live Rates from the sidebar.
In order to offer your customers the available Canada Post services based on the order details and display them in the cart and checkout, you need to own a Canada Post account and enter your credentials (Username, Password and Customer Number) in the plugin settings.
If you do not have a Canada Post account yet, check how to create it step by step →.
The Canada Post plugin uses the shop’s origin entered in the WooCommerce settings at WooCommerce → Settings → General → Store Address by default. However, if you want the live rates to be calculated for the different shipper’s address than your shop’s because e.g. you ship your products not from the shop but directly from the warehouse located somewhere else, you can define the Custom Origin using the fields below:
Custom Origin is fully optional for WooCommerce 3.2 and later releases. If, for some reason, your shop still uses the WooCommerce pre-3.2 version, defining the Custom Origin in the plugin settings above is mandatory.
Please be advised that each shipping method that uses Canada Post plugin can have its own Custom Origin. To learn more about Multiple Custom Origins feature – read this article →
Enabling the Debug Mode will let you identify and analyze the problems with Canada Post services price calculation. The additional tech information, incl. the data sent to Canada Post API, all the requests, responses and the error messages coming back from the Canada Post API will be displayed in the cart and on the checkout page:
All the notices and data coming from enabled Debug Mode will be visible only for the Site Administrators and Shop Managers. Your customers, no matter if they are guests or logged in, won’t see any unnecessary info on the shop’s front.
API Connection Status
– once your login credentials were entered and Save changes button hit, the API Connection Status should change to OK and turn green.
If for some reason the plugin is not able to establish the connection with the Canada Post API, you will see the error message coming from the API with the detailed information on the cause of the problem, e.g.:
Learn more about the errors displayed by the Canada Post API in the Common problems and troubleshooting → section of our documentation.