Forums / Addon Shipping Modules / 111286: Ontario is not a valid state for the specified shipment.

111286: Ontario is not a valid state for the specified shipment.

Views: 3,256

Results 1 to 5 of 5
16 Mar 2011, 6:11 PM
#1
green5 avatar

green5

New Zenner

Join Date:
Mar 2011
Posts:
2
Plugin Contributions:
0

111286: Ontario is not a valid state for the specified shipment.

We have installed UPS module for shipping and when we go to Step 1 of the checkout process we are getting this message.

"United Parcel Service (XML)
111286: Ontario is not a valid state for the specified shipment.
If you prefer to use ups as your shipping method, please contact"

When we do a shipping quote, everything works okay. I checked the UPS Module and it is active, green light is on. We are currently using Zencart v1.3.9b

Any help would be great!

Thanks.

16 Mar 2011, 6:17 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: 111286: Ontario is not a valid state for the specified shipment.

Not sure if it would apply for you, but around line 261 I customized the code for an obscure issue with:

                if (isset($this->servicesTimeintransit[$type]) && isset($this->servicesTimeintransit[$type]["date"])) {
                    $eta_array = explode("-", $this->servicesTimeintransit[$type]["date"]);
                    $months = array (" ", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
                    $eta_arrival_date = $months[(int)$eta_array[1]]." ".$eta_array[2].", ".$eta_array[0];
                    $_type .= ", ETA: ".$eta_arrival_date;
                }

I do not have the original code off hand but you should see where the IF is added ...

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!

16 Mar 2011, 6:46 PM
#3
green5 avatar

green5

New Zenner

Join Date:
Mar 2011
Posts:
2
Plugin Contributions:
0

Re: 111286: Ontario is not a valid state for the specified shipment.

Which file would I find that code in?

16 Mar 2011, 6:57 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: 111286: Ontario is not a valid state for the specified shipment.

I would look in the shipping module where you are having the problem in:
/includes/modules/shipping/upsxml.php

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!

20 Mar 2011, 4:08 AM
#5
mgorenko avatar

mgorenko

New Zenner

Join Date:
Feb 2011
Posts:
2
Plugin Contributions:
0

Re: 111286: Ontario is not a valid state for the specified shipment.

I am having the same problem.

"111286: ONT is not a valid state for the specified shipment."

The above proposal did not help my situation.