Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download uc_canpar-7.x-1.1.tar.gztar.gz
18.61 KB
MD5: be1331ed6ece4b8ecc8f8e4d4bd816c3
SHA-1: e3a5d99fba6be2777ae08585cb753d90c2b9a1a7
SHA-256: 57af09a6c51a16b327765dcbcf5e5c2acd4fc2f3876a642ef3ac7d6ddeca1b0d
Download uc_canpar-7.x-1.1.zipzip
21.05 KB
MD5: ba512300b27dc4e56610e2411b90bd77
SHA-1: 105e6404b5e66ff025016ab2278639cf9523ec97
SHA-256: 092d578aeeab7868451d81b2589462e8a0393f53b50a6e879ea9b3eeed90e789
Release notes
Changes since 7.x-1.0:
- Add code for printing out admin debug information. Remove underscore from _uc_canpar_package_products().
- Remove cURL dependency, consolidate base and custom send requests into one function.
- Handle non-service days when calculating expected delivery.
- Fix theme_uc_canpar_option_label() to properly print estimated delivery dates when using custom rates.
- Set timezone to America/Toronto for testbot - bot was running in GMT which doesn't agree with the Canpar server.
- Switch to using format_date() instead of date(). Coder fixes.
- Add test cases for Base and Custom rate calculations. Test cases use specially-crafted rate requests recognized by the Canpar server which return known results.
- Add 'Canpar' to the service names to distinguish them in contexts where the logo is not present. Strip 'Canpar' when the logo is present.
- Add insurance option.
- Coding standards and documentation fixes.