Page 46 of 46 FirstFirst ... 36444546
Results 451 to 459 of 459
  1. #451
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,700
    Plugin Contributions
    24

    Default Re: Canada Post Module for 1.56c

    Quote Originally Posted by delia View Post
    Where is the 1.5.5f version? I was waiting for the new version based on what is on the zen cart site, thinking it would be for 1.5.5 and up. If there is a version somewhere else, please tell me.
    The 1.55f version didn't get released publicly due to a lack of time and funding. Also the only reason the current 1.56c version isn't backwards compatible is because it ships installed into stock 1.56c files - the overall changes are minimal with this type of shipping module...


    Option 1:
    Copy all new live site and admin files directly into the same folder locations in 1.55f. The new files will work with 1.55f directly.

    File compare core overwrite files:
    classes/shopping_cart.php

    includes/languages/YOUR_TEMPLATE/english.php

    admin/includes/modules/all files within


    Move only the Canada Post tracer changes. If you can't see them, it's easy to file compare a stock 1.56c file with those in this package to find what I've changed - then paste those changes into the same locations in the 1.55f files.


    Option 2:
    Email me directly for the unreleased 1.55f package... which is identical to option 1 only it's all done for you :)
    (Donations appreciated)

    Option 3:
    Hire a fellow like me to install it or I can upgrade the site to 1.56c before the next php updates get rolled out:

    https://www.php.net/supported-versions.php

    Twitch.
    http://www.twitchtoo.com - Do you work for free? Please donate.
    Twitch Wholesale PRO, ZC 1.38 - 1.57c - Expert Site Migration & Upgrades!

  2. #452
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,198
    Plugin Contributions
    22

    Default Re: Canada Post Module for 1.56c

    Quote Originally Posted by twitchtoo View Post
    The 1.55f version didn't get released publicly due to a lack of time and funding. Also the only reason the current 1.56c version isn't backwards compatible is because it ships installed into stock 1.56c files - the overall changes are minimal with this type of shipping module...


    Option 1:
    Copy all new live site and admin files directly into the same folder locations in 1.55f. The new files will work with 1.55f directly.

    File compare core overwrite files:
    classes/shopping_cart.php

    includes/languages/YOUR_TEMPLATE/english.php

    admin/includes/modules/all files within


    Move only the Canada Post tracer changes. If you can't see them, it's easy to file compare a stock 1.56c file with those in this package to find what I've changed - then paste those changes into the same locations in the 1.55f files.


    Option 2:
    Email me directly for the unreleased 1.55f package... which is identical to option 1 only it's all done for you :)
    (Donations appreciated)

    Option 3:
    Hire a fellow like me to install it or I can upgrade the site to 1.56c before the next php updates get rolled out:

    https://www.php.net/supported-versions.php

    Thanks, if my client decides to install a new version, I'll check back with you. What he has works now as far as I know.
    The full-time Zen Cart Guru. WizTech4ZC.com

  3. #453
    Join Date
    Oct 2013
    Location
    MTL
    Posts
    66
    Plugin Contributions
    2

    Default Re: Canada Post Module for 1.56c

    Hi, I am using ZC 1.5.5 and was running Canada post 1.6. out of nowhere it is no longer able to get quotes. error "internal" which when I dug deeper says unable to reach sever and I only see that when I change from $errno>0 to $errno>=0

    PHP Code:
      function _sendToHost($data)
      {
        $url  = 'https://' . (MODULE_SHIPPING_CANADAPOST_CPCID == 'CPC_DEMO_XML' ? 'qa-' : '') . 'sellonline.canadapost.ca/sellonline/Rating';
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $url);
        curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
        curl_setopt($ch, CURLOPT_TIMEOUT, 3);
        curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 3);
    //        curl_setopt($ch, CURLOPT_FRESH_CONNECT, true);
        curl_setopt($ch, CURLOPT_USERAGENT, 'Zen Cart merchant at ' . urlencode(HTTPS_SERVER));
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        $response = curl_exec($ch);
        $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
        $error    = curl_error($ch);
        $errno    = curl_errno($ch);
        curl_close($ch);

        if ($errno > 0) {
          $response = '<?xml version="1.0" ?><eparcel><error><statusMessage>' . MODULE_SHIPPING_CANADAPOST_COMM_ERROR . ($errno != 0 ? '<br /><strong>' . $errno . ' ' . $error . '</strong>' : '') . '</statusMessage></error></eparcel>';
        }
        return $response;
      }
    I tried the updated version too 1.6.1 and still getting the same error.
    I did try curl from terminal of that server "curl https://sellonline.canadapost.ca/sellonline/Rating" and I get method not allowed which is normal since I used et method.

    Is anyone else experiencing this? not sure how to fix it.

  4. #454
    Join Date
    Oct 2013
    Location
    MTL
    Posts
    66
    Plugin Contributions
    2

    Default Re: Canada Post Module for 1.56c

    OK, I have done more digging and I seem to be getting error
    Code:
    0 ]> -50000 An internal problem occurred. Please contact the Sell Online Customer service Desk at mailto:/[email protected]
    Will be checking with Canada Post

  5. #455
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,700
    Plugin Contributions
    24

    Default Re: Canada Post Module for 1.56c

    Riomaha, Due to popular demand I have a public release available:

    Twitch Canada Post Shipping Module - Sell Online Public Release
    20a for 1.55f
    August 9.2020

    In Zen terms that's version 1.64 for Zen Cart 1.55f.

    Email me and I can send you the module .zip and install instructions.
    Twitch.
    http://www.twitchtoo.com - Do you work for free? Please donate.
    Twitch Wholesale PRO, ZC 1.38 - 1.57c - Expert Site Migration & Upgrades!

  6. #456
    Join Date
    Oct 2013
    Location
    MTL
    Posts
    66
    Plugin Contributions
    2

    Default Re: Canada Post Module for 1.56c

    Quote Originally Posted by riomaha View Post
    OK, I have done more digging and I seem to be getting error
    Code:
    0 ]> -50000 An internal problem occurred. Please contact the Sell Online Customer service Desk at mailto:/[email protected]
    Will be checking with Canada Post
    I hope this helps others. If you wish to troubleshoot your Canada Post module. Trying using this test page to test your CPC_ code. Only change the CPC code on the page and submit it. If you are able to get rates, then your code is working. In my case, my CPC code isn't working.

    Also if you want to ensure your module is working fine, Change the CPC code on your site to CPC_DEMO_XML and check your site. If you are getting rates, then your module is working.

    Rio

  7. #457
    Join Date
    Feb 2007
    Posts
    47
    Plugin Contributions
    0

    Default Re: Canada Post Module for 1.56c

    I'm presently upgrading my site to v1.5.7c. Is there any kind of news on any Canada Post shipping estimate plugin that is being worked on?

  8. #458
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,700
    Plugin Contributions
    24

    Default Re: Canada Post module

    Final testing of an upgraded version compatible with 1.57c is wrapping up this week.

    Your donations are appreciated.
    Twitch.
    http://www.twitchtoo.com - Do you work for free? Please donate.
    Twitch Wholesale PRO, ZC 1.38 - 1.57c - Expert Site Migration & Upgrades!

  9. #459
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,229
    Plugin Contributions
    111

    Default Re: Canada Post module

    Would you please release this? It seems like the old version has stopped working.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 
Page 46 of 46 FirstFirst ... 36444546

Similar Threads

  1. Canada Post Module (w/Beanstream payment module)
    By sgt_slaughter in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 15 Sep 2009, 07:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR