1.1.2.13 (checked in on 2008/01/15 at 21:05:55 by brmassa)
Functions to communicate with CanadaPost API.
Derived from the CanadaPost document titled: Canada Post - Sell Online Developer's Site Version: 12 (Sept. 15, 2003)
Additional information: http://206.191.4.228/
Created by Chris Geoghegan (chris@imagexmedia.com)
@todo ensure that the weight is in kilograms @todo ensure that the lenghts is in centimeters
| Name | Description |
|---|---|
| canadapost_access_request | Build the XML AccessRequest used to login to the UPS shipping server. |
| canadapost_get_rates | Shipping _get_rates_form hook. |
| canadapost_product_attributes | Shipping _product_attributes hook. |
| canadapost_settings_form | shipping _settings_form hook. |
| canadapost_settings_form_submit | Shipcalc _settings_form_submit hook. |
| canadapost_shipping_methods | shipping _shipping_methods hook. |
| _canadapost_http_request | |
| _canadapost_valid_service_code | Internal helper function, not yet complete. CANADAPOST returns an array possible shipping methods. We need to only return the ones that are configured for use with the current item. |