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

Canada Post module

Views: 188,092

Results 301 to 320 of 481
26 Aug 2015, 1:18 AM
#301
bikeman9999 avatar

bikeman9999

New Zenner

Join Date:
Nov 2013
Location:
Shelburne, on
Posts:
1
Plugin Contributions:
0

Canada Post module

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

26 Aug 2015, 1:24 AM
#302
rodg avatar

rodg

Deceased

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

Re: Canada Post module

jarmilka:

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.

No.
Using an IP address instead of a hostname should only ever be considered in very limited situations - such as the few hours after an IP address has been changed and the time it takes to propagate through the DNS. In other words, almost never.
It is far better to leave alone until things start to correctly resolve again.

Cheers
RodG

26 Aug 2015, 1:24 AM
#303
maxwellt avatar

maxwellt

New Zenner

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

Re: Canada Post module

Thanks Cryptocoins. I`m back in business.
The checkout pages that deal with shipping are now really slow to load, but I gather Canada Post in continuing to work on issues.

Cheers,
Max

26 Aug 2015, 2:01 AM
#304
thebeadyeye avatar

thebeadyeye

New Zenner

Join Date:
Feb 2007
Posts:
47
Plugin Contributions:
0

Re: Canada Post module

I'm sure Cryptocoins has good intentions, but I'm reluctant to use just anybody's code for security reasons.

26 Aug 2015, 3:05 AM
#305
rodg avatar

rodg

Deceased

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

Re: Canada Post module

thebeadyeye:

I'm sure Cryptocoins has good intentions, but I'm reluctant to use just anybody's code for security reasons.

I'm not sure how it differs from the original, but the code in post#284 looks quite safe.

Cheers
RodG

26 Aug 2015, 7:20 AM
#306
cryptocoins avatar

cryptocoins

New Zenner

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

Re: Canada Post module

Canada Post:
"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."

The code I wrote connects to Canada Post using the HTTP protocol. The old code with fsockopen uses TCP. It sounds like Canada Post is working on a solution if you can wait for them.

26 Aug 2015, 2:24 PM
#307
royal avatar

royal

Zen Follower

Join Date:
Jun 2008
Location:
Canada
Posts:
261
Plugin Contributions:
0

Re: Canada Post module

Hello Cryptocoins,

Thank you!

Fix works well.

Have a wonderful year!

26 Aug 2015, 3:13 PM
#308
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

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

Re: Canada Post module

I received and ignored same email from Canada Post. I tested the hack from cyptocoins and it worked. Also had orders go through with no problem since.

26 Aug 2015, 3:48 PM
#309
thebeadyeye avatar

thebeadyeye

New Zenner

Join Date:
Feb 2007
Posts:
47
Plugin Contributions:
0

Re: Canada Post module

RodG:

I'm not sure how it differs from the original, but the code in post#284 looks quite safe.

Cheers
RodG

Ok, I'm not good at all with code so I tend to be on the cautious side. Was the fix for just the latest version of zen cart? I really have to update my cart, I'm still using v1.3.9h. I guess I could just back up the file and try the fix.

26 Aug 2015, 9:19 PM
#310
top_hatt avatar

top_hatt

Zen Follower

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

Re: Canada Post module

I could not seem to get it to work. Apparently, I did not edit the code correctly. The posting says where to start but not where to start. I don't know how to code. Can you tell me how much code to replace.

Dave

26 Aug 2015, 10:06 PM
#311
cryptocoins avatar

cryptocoins

New Zenner

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

Re: Canada Post module

top hatt:

I could not seem to get it to work. Apparently, I did not edit the code correctly. The posting says where to start but not where to start. I don't know how to code. Can you tell me how much code to replace.

Dave

Replace everything from/including lines 330 to 359.

27 Aug 2015, 12:21 AM
#312
top_hatt avatar

top_hatt

Zen Follower

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

Re: Canada Post module

Ok. That's what I thought.

Just tried it again. Still no luck.

Dave

27 Aug 2015, 2:15 AM
#313
thebeadyeye avatar

thebeadyeye

New Zenner

Join Date:
Feb 2007
Posts:
47
Plugin Contributions:
0

Re: Canada Post module

I haven't used the patch, but the shipping module is now working. Maybe Canada Post did something on their end.

27 Aug 2015, 5:10 PM
#314
cryptocoins avatar

cryptocoins

New Zenner

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

Re: Canada Post module

thebeadyeye:

I haven't used the patch, but the shipping module is now working. Maybe Canada Post did something on their end.

Confirmed.

Canada Post has fixed this issue. No patch needed anymore. You can revert back to the old code.

29 Aug 2015, 2:27 AM
#315
zmh avatar

zmh

New Zenner

Join Date:
Dec 2007
Posts:
16
Plugin Contributions:
0

Re: Canada Post module

Not really, it is a temporary fix, below what I got from CanadaPost:

***Good Afternoon Z........,

Yesterday afternoon we made a temporary change to our infrastructure to allow customer websites to function with Sell Online.
The eStores from your incident should be functioning OK right now.
There is an issue coming however; we implemented a temporary change will be rolled back in time.
As I noticed from your incident many of the customer sites use ZenCart – and the developer forum for Zen Cart has a fix that works when we roll back.
Please see this URL:

https://www.zen-cart.com/showthread.php?94151-Canada-Post-module/page29&highlight=canada+post

The OpenCart product is different and I have not seen a solution for it yet.

Can you confirm that the sites you reported are currently working, and provide them with the ZenCart forum (it will be needed when we revert our change.)

Thanks***

and then After my reply I received another one:

***Canada Post should be sending out a notification prior to when we revert our temporary fix.
We will be providing them a timeline and text so I’m sure you have about a month before this comes along.

Please ensure you have an email added to you Sell Online account as that is what we use for communications and if it’s missing we don’t have any way to track them down.
If you are switching your stores to Open Cart and Presta Shop – take a look at the developer forum on Canada Post web site.
I would recommend using those web services for shipping instead of this much older Sell Online.
Here is the URL for the developer program: https://www.canadapost.ca/cpotools/apps/drc/home

Thanks***

I am posting above two messages as I believe a lot of you are frustrated want to get rid of this major issue.

A wise idea would be to enable shipping table in case of similar disaster, it will permit your customers to check out and you won't lose money (maybe some if the weight is not accurate)(I am using a weight based table from Canada to Canada and USA, was hard to me to figure out table for international shipping. Will work on it soon based on my experience.

I have 4 webstores based on Zen Cart: (https://www.Crystalstrass.com) (https://www.Crystallightingparts.com) (https://www.Chandelierspareparts.com) (https://www.Crystallampparts.com) and one based on OpenCart (https://www.roklight.com/webstore)

8 Sep 2015, 8:34 PM
#316
oxxyfx avatar

oxxyfx

New Zenner

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

Re: Canada Post module

As of 3:30PM today the Canadapost module is down again. I called Canadapost and opened a ticket with sellonline support, still waiting for a callback. Anybody experiencing any problems? The fix from Cryptocoins from 2 pages back was working fine for 2 weeks, now are it again? or they are at it again? If anybody has any updates please let us know.

8 Sep 2015, 9:19 PM
#317
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

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

Re: Canada Post module

oxxyfx:

As of 3:30PM today the Canadapost module is down again. I called Canadapost and opened a ticket with sellonline support, still waiting for a callback. Anybody experiencing any problems? The fix from Cryptocoins from 2 pages back was working fine for 2 weeks, now are it again? or they are at it again? If anybody has any updates please let us know.

Have same problem. When add item to cart the web site churns and churns and doesn't bring up post options. This is with the former hack from Cryptocoins removed. I tried replacing with the hack and it doesn't work for me this time (it did last C Post breakdown). Now adding item to cart generates blank page, breaks cart.

I haven't had any email from Can Post. (Also didn't receive the notes in #308 - my email may have changed since starting sellonline account but I have been unsuccessful finding a place where I can change that info.)

Getting very frustrated with Canada Post!

9 Sep 2015, 12:11 AM
#318
zmh avatar

zmh

New Zenner

Join Date:
Dec 2007
Posts:
16
Plugin Contributions:
0

Re: Canada Post module

Experiencing same issue now, a workaround was using zone rates module, it is not accurate but it generate sales.
I am using it for US and Canada, but don't have data for International Shipping.
Remark: To get rid of the freezing site, you have to turn off canadapost module (Do not uninstall)

9 Sep 2015, 2:36 AM
#319
northfur avatar

northfur

New Zenner

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

Re: Canada Post module

I'm getting the same issue as well, just grinds away... even with the hack from Cryptocoins.

I've put up tables for the moment, but I really hope Canada Post gets its act together. It's very unprofessional to have such a large amount of downtime. Could they not have rolled their updated server out in a test environment first? maybe privately contact clients using different shopping cart software/platforms to try a beta test of sorts...

9 Sep 2015, 3:49 PM
#320
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

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

Re: Canada Post module

Northfur:

I'm getting the same issue as well, just grinds away... even with the hack from Cryptocoins.

OK - tried again this morning ~ 11:30 a.m. EST and CanadaPost module seems to be working again. (This is without the cryptocoins hack.)

Still don't know what the heck is going on!