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.


Reply With Quote

