Forums / Built-in Shipping and Payment Modules / Error usps shipping to Canada

Error usps shipping to Canada

Locked

Started by luckykat on 11 Jul 2006, 7:28 PM · Views: 3,271

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
11 Jul 2006, 7:28 PM
#1
luckykat avatar

luckykat

New Zenner

Join Date:
Mar 2006
Posts:
18
Plugin Contributions:
0

Error usps shipping to Canada

My customers are getting an error if they are trying to have their order shipped to a Canadian address. It will say during step 1 of checkout:
An error occurred with the USPS shipping calculations.
If you prefer to use USPS as your shipping method, please contact the store owner.

I think this may be the only country that is giving the error. How would I go about correcting this?

I am using v1.2.7

Thanks!

11 Jul 2006, 7:56 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Error usps shipping to Canada

You probably have deselected the types of shipping methods available to get to Canada, from within your USPS shipping module. Try enabling the global-express etc options

.
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.

11 Jul 2006, 7:59 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Error usps shipping to Canada

Also, check your USPS Shipping Module code:
/includes/modules/shipping/usps.php

There have been changes over the last year on the settings around lines 99-108 These must match exactly:

    $this->intl_types = array('GXG Document' => 'Global Express Guaranteed Document Service',
    'GXG Non-Document' => 'Global Express Guaranteed Non-Document Service',
    'Express' => 'Global Express Mail (EMS)',
    'Priority Lg' => 'Global Priority Mail - Flat-rate Envelope (Large)',
    'Priority Sm' => 'Global Priority Mail - Flat-rate Envelope (Small)',
    'Priority Var' => 'Global Priority Mail - Variable Weight (Single)',
    'Airmail Letter' => 'Airmail Letter Post',
    'Airmail Parcel' => 'Airmail Parcel Post',
    'Surface Letter' => 'Economy (Surface) Letter Post',
    'Surface Post' => 'Economy (Surface) Parcel Post');

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!