Version

1.1.2.13 (checked in on 2008/01/15 at 21:05:55 by brmassa)

Description

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

Functions

Namesort iconDescription
canadapost_access_requestBuild the XML AccessRequest used to login to the UPS shipping server.
canadapost_get_ratesShipping _get_rates_form hook.
canadapost_product_attributesShipping _product_attributes hook.
canadapost_settings_formshipping _settings_form hook.
canadapost_settings_form_submitShipcalc _settings_form_submit hook.
canadapost_shipping_methodsshipping _shipping_methods hook.
_canadapost_http_request
_canadapost_valid_service_codeInternal 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.