CanadaPost Shipping Service

Table of Contents Show

CanadaPost's Shipping Module is one of the most sophisticated online shipping services available today.  AbleCommerce uses your product's weight and dimensions to calculate the most accurate rates possible using CanadaPost's unique features.

A CanadaPost account records information such as the warehouse postal code, handling charges, pick-up times, fulfillment times, delivery options, and box sizes.  Using the account, you will be able to enter the types of boxes used for packaging.  AbleCommerce and CanadaPost use this information to determine the appropriate box size for a customer’s order, as well as calculate the specific delivery costs.  Using Canada Post’s shipping module, as integrated with AbleCommerce, you can present accurate shipping costs for any delivery point in Canada, USA, and worldwide.

In order for Canada Post to calculate order specific rates you will need to record the dimension and weight of your inventory. Remember that once this data is captured, you will not be required to measure and weigh each parcel for shipment.

CanadaPost Features and Requirements

  • An account that is ready for production use and your Customer number, an API Username and Password.

  • CanadaPost requires that your products ship from an origin within Canada. It will not be able to calculate rates for shipments that originate outside of Canada.

  • CanadaPost expects all product measurements to be in Centimeters (cm). Rates will still be calculated if you use a different unit of measurement, but there is additional overhead in converting the measurements. You will have the best performance if you use Centimeters to begin with.

  • CanadaPost supports the following services, Surface International, Air International, Purolator International, and Puropak International for international destinations.

Installing the Canada Post Plug-in for AbleCommerce

  1. Login to your AbleCommerce installation.

  2. Using the menu, go to the Plugins page.

  3. Use the Filter Plugins option and select the type "Shipping".

    Note: Canada Post plugin will be available in the list as shown in the screenshot below.

  4. Click the green Install button in the far right column.

  5. When the confirmation popup appears, click the green Yes, install it button.

  6. Upon completion, click the orange Configure button.


    NOTE: Version shown may be different depending on the release of AbleCommerce you are using.

Register with CanadaPost

In order to use CanadaPost you must have an active account with them.

  1. After installing, go to the Configure > Shipping > Carriers page from the admin menu.

  2. Any installed shipping carriers will be available from this page. Click the blue plus (+) button or linked name to continue to the registration page.


    Carefully read the on-screen instructions before continuing.

  3. On the CanadaPost Registration page, enter your Customer Number.  This information is provided by CanadaPost.

  4. Click the NEXT button to continue, or CANCEL to quit and return to the previous menu.

  5. After completing the short registration process, you will be on the Configure CanadaPost page as shown in the next section.

Configure CanadaPost

You must use a warehouse with a Canadian address.    

  1. From Configure > Shipping > Carriers page, click the EDIT icon for CanadaPost.  This will bring you to the Configuration page.

  2. Confirm your Customer Number is correct.

  3. A Contract ID must be entered for large businesses that have a commercial account, otherwise, leave this field blank.

  4. Choose the Quote Type which determines the rate prices for either business Commercial or retail Counter.

  5. In the fields shown, enter your API User Name and API Password provided from within your Canada Post account online. This information must be entered in order to produce shipping rates.

  6. The Maximum Weight is this carriers limit for a package.  The default value is 30 kgs.

  7. The Minimum Weight is the amount used when the order weight does not meet the minimum.

  8. Enable Package Breakup.  If a shipment exceeds the maximum weight a carrier specifies, do you want the calculations to break the shipment into smaller packages.  This will not create new shipments.  It will calculate a single rate based on the total shipment weight, divided, to create two or more shipments within the rate allowance.

    e.g. A customer orders 60 kgs of assorted items.  The maximum weight for a single package has been exceeded.  AbleCommerce divides 60 kgs by 2 for a result of 30 kgs in two packages that are both within the allowed shipping weight.  The rates for each package are calculated and added together so the customer will see just one rate for the shipment.

  1. The URL settings come pre-configured when you create the shipping account through AbleCommerce.  These URL's can change so the fields are available for modification.  It is not advisable to modify the URL's here unless specifically instructed to do so.

    Rating URL
    : The URL to which requests are posted in Live mode.

    Tracking URL:  The URL to which requests are sent for package tracking. {0} is substituted with the tracking number at the time of request.

    Test Server URL
    : The URL to which requests are posted in Test Mode.

  2. The Mode settings are used to enable/disable rates from the test server.  Debugging can also be enabled which can help with any communication problems.

    Test Mode
    : When Test Mode is enabled, rate requests are sent to test server using the Test Mode URL.

    Debug Mode
    : When debug mode is enabled, all messages sent to and received from CanadaPost are logged. This should only be enabled at the direction of qualified support personnel.

    Default Log File Location: ..\App_Data\Logs\[gatewayname].log

  3. After making any changes, click the SAVE button. To complete the shipping carrier setup, see Adding or Removing Shipping Methods in the next section.
    Or, you can click the SAVE AND CLOSE button to return to the Shipping Carriers page.

Adding or Removing Shipping Methods

Configuring Shipping Services for CanadaPost

You must select the services you want to be available to your customers.  Each service (shipping method) is configured separately once it's added.

  1. In the bottom section of the page, you will see the Shipping Method menu.  This is a list of all services offered by the provider.  You should review the entire list of shipping services offered and decide which ones you want to make available as shipping options in your store.

  2. You can use the buttons from the Action column to individually Add or Edit the shipping method.

  3. Check the box next to one or more shipping methods, or check the box at the top of the first column to quickly select all methods.

  4. This will activate the Update button, which will drop-down to provide 2 options: either Add or Remove the selected methods.

    The update will take place immediately after selection.

  5. In this example, we will add and configure the "CanadaPost Priority" service. Check the box next to all others you want to offer as a shipping service.

  6. Using the Update button, select the option Add selected methods.

  7. The selected shipping services now appear at the top of the list and each will be linked for configuration.

  8. To remove an individual shipping method, use the Remove button in the Action column, or you can select multiple methods by checking the box in the first column and activating the Update button which will give you the option to select Remove selected methods. The update will take place immediately after selection.

Configure a Shipping Method

  1. Each shipping method will use its own configuration settings.  To configure a shipping service, click the EDIT button to view the Configure page.

  2. The above example shows the default configuration values for all shipping services that are added.

  3. Change the Shipping Method Name if needed.  This is the name that will be displayed to the customer and the merchant on all invoices and receipts.

    Note: Most third-party carriers do not want the names of their shipping methods changed.

  4. If these shipping charges are taxable, then select a Shipping Tax Code.  Make sure you understand the tax laws according to your local tax authority.
    Taxes on shipping charges are combined with any other taxes calculated for the shipment.

  5. Use the Handling Fee field to include a charge for handling or processing.  The handling fee can be a fixed amount, percent of the shipping charge, or a percentage of the shipment total. After entering the amount, select one of these three options available.

  6. There is a display option to either show the Handing Fee included in the shipping cost, which will hide the amount in the shipping cost.  Or to show the handling fee separately, where it will be displayed as a separate line item on the invoice.  If you show the handling fee separately, you may then select a Handling Tax Code if you are required to collect tax on this type of charge.

  7. The Minimum Purchase field is the designated minimum value of a shipment before this shipping method will be available.  Until this limit is met, the shipping method will not display.
    A minimum purchase value applies to the total of each shipment, not the total of the order.

  8. The Maximum Purchase field is the designated maximum value of a shipment before this shipping method will be available.  If this limit is exceeded, the shipping method will not display.
    A maximum purchase value applies to the total of each shipment, not the total of the order.

  9. When finished making changes, be sure to Save.

Additional Settings

There are three optional configurations which can be used to filter shipping methods that are shown to the customer.

These additional settings allow you to display available shipping methods according to the shipping groups (used for custom shipping conditions and locations where products are shipped from), the zones (regions the products are shipped to), and/or any groups that a customer is assigned to. By default, every new method added will use all available destinations, special shipping conditions, and user groups. To make shipping methods explicit to any of these criteria, follow the steps given below.

Shipping with Ship Groups

Ship Groups are typically used for products that have special shipping requirements, such as perishables, oversized, or overweight. You can also define the shipping origin.

To setup Ship Groups, go to Configure > Shipping > Ship Groups using the menu.

  1. If this shipping service needs to be applied to a specific warehouse(s), then you will need to setup Ship Groups first. The warehouse determines the origin of shipping, and ship groups allows you to choose specific warehouses and define which shipping methods and products will be available to them.
    A warehouse determines the shipping origin.  
    All Canada Post services must use a warehouse with an address in Australia.  

  2. If this shipping method will be allowed from all locations and types, then keep the default All Ship Groups option selected.

Shipping with Zones

Zones allow you to configure specific places for use with many features, including shipping methods.

To setup Zones, go to Configure > Regions > Zones using the menu.

  1. If the shipping service applies to a specific Zone(s), select it from the Selected Zones list.   
    A zone determines the shipping destination.


  2. If the shipping service applies to all ship to locations, then keep the default All Zones option selected.

Shipping with User Groups

When you apply a shipping service to a user group, then it will only appear for the users who are logged in as members of that group.

To setup User Groups, go to People > Users > User Groups for regular customers. To setup User Groups for administrators only, go to People > Admins > Admin Groups.

  1.  If the shipping service applies to a specific User Group or Admin Group, select it from the Selected Groups list.

  2. If the shipping service applies to everyone, admin and customers alike, then keep the default All Groups option selected.

  3. When finished configuring this shipping method, press the Save button to continue.

Configuring Additional Services for Canada Post

  1. At the bottom of the Configure Shipping Carrier page, there will be a list of service names for the selected carrier.

  2. When finished configuring a shipping method service, you may want to Save and then select another service type to configure.

  3. After you have completed all configurations, press the Save and Close button to return to the list of all methods. This will include all shipping methods for all carriers any custom methods you have created.

  4. This will bring you back to the Shipping Methods page which displays all configured shipping service types available for the store.

  5. The Type column displays the shipping service and any custom methods in place.

  6. Additional columns are shown for Ship Groups, Zones, and User Groups. Each of these features are documented separately.

  7. From this page, you can add, sort, remove and configure all shipping methods.

  8. To add a new shipping carrier, go to the Plugins page using the menu. You may have as many services and combinations of shipping carriers as needed.

Troubleshooting Techniques

Use this quick guide if the shipping methods are not appearing during the checkout process.

  1. Confirm your product(s) are shippable and have a weight. Some carriers require dimensions as well. This information is found within the Shipping and Tax section of the Edit Product page.

  2. Confirm you warehouse (the shipping origin) has a valid address for the carrier. Go to Configure > Shipping > Warehouses to check address information. On the same page, you will be able to find all the products assigned to this warehouse.

  3. Confirm you are shipping to a valid address for the method. For example, some shipping methods will only appear if they are within a particular country or state. Another example, ground transportation is not available to Hawaii from the mainland United States.

  4. If the carrier requires an account number or key, confirm the information is correct from the applicable service carrier's configuration page. This information is found under the Configure > Shipping > Carriers page.

  5. Check the available shipping services you have configured and make certain they have the correct ship groups or zones defined for the package and address delivery. This step applies if you have configured special shipping situations using Ship Groups and/or Zones.

  6. From the configuration page of the carrier, there is a checkbox to enable Debug Mode. Only use this feature if all steps above have been confirmed. Once debug is enabled, test a shipment calculation through the checkout process. This will log an entry.

  7. Then you will need to access the debug log file which is located on the server in the following location ...\website\App_Data\logs\*carrier name*.log

  8. Open the file and carefully review the data that was SENT and RECEIVED. In the received response, there should be a message or error indicating the reason the shipping method did not calculate on the shipment received. If needed, provide this information to technical support.

  9. When finished troubleshooting, make sure to turn OFF debug mode.

Successful Shipping Rates

When the shipping carrier is setup correctly, the user should see the selected shipping methods and rates on the /Checkout/ShipMethod page:

 

CanadaPost and CanadaPost brandmark are trademarks of CanadaPost Inc.  All Rights Reserved.