Zen Cart Logo
Forums / Addon Shipping Modules / Canada Post module

Canada Post module

Views: 188,090

Results 281 to 300 of 481
14 Jul 2015, 15:02
#281
llmcdonald avatar

llmcdonald

New Zenner

Join Date:
Aug 2014
Location:
Etobicoke
Posts:
48
Plugin Contributions:
0

Canada Post module

I am using zc154, and I have the Tableau template installed. When trying to get Canada Post to return quotes nothing shows. I have contacted Hostmonster and they assured me that Port 30000 is open.

Any help would be appreciated.

Thanks.

14 Jul 2015, 20:53
#282
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Canada Post module

llmcdonald:

I am using zc154, and I have the Tableau template installed. When trying to get Canada Post to return quotes nothing shows. I have contacted Hostmonster and they assured me that Port 30000 is open.

Any help would be appreciated.

Thanks.

We need more info than this. Please reply to this message and read the 'posting tips'.

In addition to this (since you mentioned a template), does the problem go away if you revert back to the default/classic template?

Cheers
RodG

15 Jul 2015, 18:58
#283
llmcdonald avatar

llmcdonald

New Zenner

Join Date:
Aug 2014
Location:
Etobicoke
Posts:
48
Plugin Contributions:
0

Re: Canada Post module

I have tried going to the default/classic template with no luck. I even tried to do a fresh install of ZC154 with no other modules installed other than the Canada Post Module 1.5.3 version.

I have contacted Hostmonster, Canada Post, and my ISP to see if the port is blocked or the IP address is being blocked and each one says there is nothing else they can do.

I am at a dead end.

I even switched to another ecommerce program with their version of Canada Post module, but still the same result.

The only other option is trying a different webhoster to see if that was the problem.

15 Jul 2015, 22:51
#284
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Canada Post module

llmcdonald:

I even switched to another ecommerce program with their version of Canada Post module, but still the same result.

All i can do is take a guess and suggest that you don't have things correctly setup on the Canada Post side of things. Heck, based on the lack of information your problem could be that you don't even have an account set up with them at all.

Furthermore, I just scrolled down a a few messages to post#241, which reads

"Nevermind - I just found the issue. I logged into Canada Post's Sell Online area and discovered under "Shipping Services" that all the previously-available options for US shipping had mysteriously un-checked themselves. :frusty:

Have you checked for this possibility?

Do your log files provide any clues?

Rgds
RodG

21 Jul 2015, 14:23
#285
llmcdonald avatar

llmcdonald

New Zenner

Join Date:
Aug 2014
Location:
Etobicoke
Posts:
48
Plugin Contributions:
0

Re: Canada Post module

Is there going to be an update to the Canada Post module for ZC 1.5.4?

21 Jul 2015, 14:24
#286
llmcdonald avatar

llmcdonald

New Zenner

Join Date:
Aug 2014
Location:
Etobicoke
Posts:
48
Plugin Contributions:
0

Re: Canada Post module

I have logged into my sellonline account and everything is checked. I can't find anything in the error logs.

24 Aug 2015, 10:03
#287
jarmilka avatar

jarmilka

New Zenner

Join Date:
Jun 2011
Posts:
20
Plugin Contributions:
0

Re: Canada Post module

Canada Post updated their servers this weekend and the module is no longer working (at least on my page). Does anybody else experience the same problem?

24 Aug 2015, 11:51
#288
grizak avatar

grizak

New Zenner

Join Date:
Sep 2007
Posts:
5
Plugin Contributions:
0

Re: Canada Post module

Same here - after the Canada Post System update this past weekend (Aug 21-23). The Canada Post module isn't working for me either.

24 Aug 2015, 12:22
#289
top_hatt avatar

top_hatt

Zen Follower

Join Date:
Feb 2010
Posts:
237
Plugin Contributions:
0

Re: Canada Post module

Same here. Canada Post not working.

Dave

24 Aug 2015, 13:17
#290
maxwellt avatar

maxwellt

New Zenner

Join Date:
Aug 2013
Location:
Stratford, Ontario, Canada
Posts:
5
Plugin Contributions:
0

Re: Canada Post module

It's not working for me either. I'm kinda dead in the water without it. :(

24 Aug 2015, 14:10
#291
top_hatt avatar

top_hatt

Zen Follower

Join Date:
Feb 2010
Posts:
237
Plugin Contributions:
0

Re: Canada Post module

I have set up my shipping for a zone rate right now until the Canada Post module gets working.

This may help you keep going in the short term.

Dave

24 Aug 2015, 15:32
#292
maxwellt avatar

maxwellt

New Zenner

Join Date:
Aug 2013
Location:
Stratford, Ontario, Canada
Posts:
5
Plugin Contributions:
0

Re: Canada Post module

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

25 Aug 2015, 02:53
#293
northfur avatar

northfur

New Zenner

Join Date:
Jan 2015
Location:
On, Canada
Posts:
40
Plugin Contributions:
0

Re: Canada Post module

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

25 Aug 2015, 03:25
#294
northfur avatar

northfur

New Zenner

Join Date:
Jan 2015
Location:
On, Canada
Posts:
40
Plugin Contributions:
0

Re: Canada Post module

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.

25 Aug 2015, 18:17
#295
cryptocoins avatar

cryptocoins

New Zenner

Join Date:
Aug 2015
Location:
Earth
Posts:
5
Plugin Contributions:
0

Re: Canada Post module

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.

25 Aug 2015, 19:00
#296
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Canada Post module

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.

25 Aug 2015, 20:34
#297
cryptocoins avatar

cryptocoins

New Zenner

Join Date:
Aug 2015
Location:
Earth
Posts:
5
Plugin Contributions:
0

Re: Canada Post module

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.

25 Aug 2015, 20:42
#298
mikey_d avatar

mikey_d

New Zenner

Join Date:
Jan 2012
Location:
Canada
Posts:
16
Plugin Contributions:
0

Re: Canada Post module

Good work Cryptocoins! you made my day :D

25 Aug 2015, 21:05
#299
top_hatt avatar

top_hatt

Zen Follower

Join Date:
Feb 2010
Posts:
237
Plugin Contributions:
0

Re: Canada Post module

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

26 Aug 2015, 00:15
#300
jarmilka avatar

jarmilka

New Zenner

Join Date:
Jun 2011
Posts:
20
Plugin Contributions:
0

Re: Canada Post module

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