Results 1 to 10 of 470

Hybrid View

  1. #1
    Join Date
    Jan 2015
    Location
    On, Canada
    Posts
    40
    Plugin Contributions
    0

    Default Re: Yes! Set it up by weight

    Also dead in the water after Canada Post's update this past weekend... So any ideas?

  2. #2
    Join Date
    Jan 2015
    Location
    On, Canada
    Posts
    40
    Plugin Contributions
    0

    Default Re: Yes! Set it up by weight

    Checking the canada post developper forum, it looks like other carts are also experiencing problems with errors and no results, with no real solution in sight.

  3. #3
    Join Date
    Aug 2015
    Location
    Earth
    Posts
    5
    Plugin Contributions
    0

    Default Re: Yes! Set it up by weight

    I have a fix!


    for everyone who knows how to change the PHP code.
    Go to /includes/modules/shipping/canadapost.php line 330 and replace the _sendToHost function with this:

    function _sendToHost($host, $port, $method = 'GET', $path, $data, $useragent = 0)
    {
    $url = 'http://'.$host.':'.$port.'/' ;
    $params = array ('XMLRequest' => $data);
    $query = http_build_query ($params);
    $contextData = array (
    'method' => 'POST',
    'header' => "Connection: keep-alive\r\n".
    "Content-Type: application/x-www-form-urlencoded\r\n".
    "Content-Length: ".strlen($query)."\r\n",
    'content'=> $query );
    $context = stream_context_create (array ( 'http' => $contextData ));
    $buf = file_get_contents ($url, false, $context);
    return $buf;
    }





    Look at cryptocoins like bitcoin or ethereum. If you like to blaze weed check out the hemp coin or pot coin. They're the future of the world.

    Take your ecommerce store into the future with crypto. No fees + contracts for more complex types of ordering.
    Last edited by Cryptocoins; 25 Aug 2015 at 07:20 PM.

  4. #4
    Join Date
    Feb 2008
    Posts
    529
    Plugin Contributions
    0

    Default Re: Yes! Set it up by weight

    Thanks cryptocoins. Tried. Tested on my site. Works.

    I did notice that my sellonline settings seemed to be changed after CanadaPost software update, adding choices that I had unselected, which I easily reset through the mod edit screen.

  5. #5
    Join Date
    Aug 2015
    Location
    Earth
    Posts
    5
    Plugin Contributions
    0

    Default Re: Yes! Set it up by weight

    If you need me to fix this in your cart, send me a private message on here.

    I will charge 0.001 BTC, 0.1 ETH or 1 POT. I do not accept CAD $ payments for my skills.

  6. #6
    Join Date
    Jan 2012
    Location
    Canada
    Posts
    16
    Plugin Contributions
    0

    Default Re: Yes! Set it up by weight

    Good work Cryptocoins! you made my day

  7. #7
    Join Date
    Feb 2010
    Posts
    237
    Plugin Contributions
    0

    Default Re: Yes! Set it up by weight

    That fix didn't work for me.

    I just tried it and Admin/Shipping went blank except for the Advanced Shipper module that I use for U.S. shipping. There were no other modules showing. The Shipping Estimator on the shopping cart page didn't work and the checkout was just blank.

    Any suggestions?

    Dave

  8. #8
    Join Date
    Jun 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: Yes! Set it up by weight

    Thank you for the fix cryptocoins.

    Received this from Canada Post, not sure if it means that we should change the "Enter CanadaPost Server" in the module to: 198.33.104.28.

    Dear Customer,

    As a result of a major upgrade completed on the weekend, the IP address for Sell Online (sellonline.canadapost.ca) has been changed to 198.33.104.28. If your IT department has firewall rules restricting incoming IP addresses, you must update any firewall restrictions to allow the new returning IP address on port 30000. You may need to contact your firewall administrator for assistance.

    If your firewall is allowing communication with our new IP address, you might still be experiencing issues. We are working on a known issue for customers using TCP instead of HTTP protocol. We will let you know as soon as we have a solution for this issue.

    Stabilization issues resolved

    You may have experienced some slowdowns with the Sell Online web service Monday as our systems stabilized. We have resolved these issues. Thank you for your patience.

    If you have any questions, please contact us through our Developer Forum by signing in to the Developer Program.

    Sincerely,
    The Canada Post online team

  9. #9
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    274
    Plugin Contributions
    0

    Default Re: Yes! Set it up by weight

    Hello Cryptocoins,

    Thank you!

    Fix works well.

    Have a wonderful year!
    Pre-Owned Books and Second Hand Stuff: http://www.onlineyardsale.ca

 

 

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

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