Forums / Addon Shipping Modules / Canada post module works perfectly but only every now and then

Canada post module works perfectly but only every now and then

Locked

Started by afmgroup on 25 Mar 2010, 4:37 PM · Views: 1,266

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
25 Mar 2010, 4:37 PM
#1
afmgroup avatar

afmgroup

New Zenner

Join Date:
Mar 2010
Posts:
3
Plugin Contributions:
0

Canada post module works perfectly but only every now and then

Hi everyone,

I searched the forums and read about the connectivity issues and ports and so on. However, nothing I could find seems to apply to my case.

The issue I have with the Canada Post module is that it would display / return the information only about 3 to 5 times out of 10.
When it fails to work, the error is

"An unknown error occured with the Canada Post shipping calculations.
If you prefer to use Canada Post as your shipping method, please contact the Online Store via Email."

When it works everything is perfect - calculations and all.

I looked at connectivity and it is fine. Port is also fine. DNS resolve is OK, I tried replacing the FQDN with the IP to test and it makes no difference.

The store is Zen Cart 1.3.8a, Database Patch Level: 1.3.8, new install. The issue can be reproduced at shop.learntrapshooting.ca

Any hints would be much appreciated!

25 Mar 2010, 5:17 PM
#2
afmgroup avatar

afmgroup

New Zenner

Join Date:
Mar 2010
Posts:
3
Plugin Contributions:
0

Re: Canada post module works perfectly but only every now and then

To make it easier to reproduce:

Add a small item to cart - pick the small test item in gift certificate
Estimate shipping cost
Fill in say Ontario and a postal code
Update

if nothing shows up, update again

eventually you get the correct shipping info.

If you do this via checkout, you can also see the unknown error as above.

tnx again

25 Mar 2010, 5:27 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Canada post module works perfectly but only every now and then

You'll probably have to ask Canada Post why their server isn't giving back usable responses.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

25 Mar 2010, 6:45 PM
#4
afmgroup avatar

afmgroup

New Zenner

Join Date:
Mar 2010
Posts:
3
Plugin Contributions:
0

Re: Canada post module works perfectly but only every now and then

Thanks - I checked with CP, they checked the logs and it looks like each and every transaction that failes to return it due to the fact that the server only receives the country - the data for province and code is missing from the request.

Where should I look?

Thanks!