Thanks. I've done something similar with Table Rates and put a disclaimer on the shipping page. Inelegant, but I'm back in business (sort of)
Any idea when this might be resolved?
Max
Printable View
Thanks. I've done something similar with Table Rates and put a disclaimer on the shipping page. Inelegant, but I'm back in business (sort of)
Any idea when this might be resolved?
Max
Also dead in the water after Canada Post's update this past weekend... So any ideas?
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.
I have a fix! :D :cool:
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.
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.
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.
Good work Cryptocoins! you made my day :D
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
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
thanks for the info cryptocoins. It worked like a charm. you just need to modify your php code. the email that canada post sent out is not going to help you. I left all setting the same on the zencart shipping module but changed the php code on line 330 of /includes/modules/shipping/canadapost.php