9 replies [Last post]
psp
psp's picture
Offline
Joined: 03/31/2008
Juice: 36
Was this information Helpful?

I can't figure out my shipping issue. When I go to calculate shipping it goes to the shipping error message. I enabled debug mode and I get the following error:

"undefined: Hard 111100: The requested service is invalid from the selected origin."

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Shipping estimates not working.

In your UPS settings, the service you selected isn't available in the store country or state that you set in Shipping quote settings. At least one of those needs to change.

ibean2009's picture
Offline
Joined: 07/24/2009
Juice: 33
but another shows

thanks, it seems that just ticking "UPS Next Day Air" works, but then I get the error

undefined:
Hard 111210: The requested service is unavailable between the selected locations.

any ideas on this one?

thanks

Sborsody's picture
Offline
Joined: 07/06/2009
Juice: 123
Re: but another shows

I've just been using Google to find these...

http://forum.virtuemart.net/index.php?topic=14388.0 "freaking hell past 2hours on this just because I didn't put a STORE ADDRESS"

http://drupal.org/node/67697 "Similar experience here. I didn't have the address module enabled, which is why UPS was complaining about location."

http://www.ubercart.org/forum/support/7587/ups_large_discrepancy_shipping "1) The XML being generated by Ubercart and attached to the above post is requesting individual quotes for each and every UPS service option you have enabled. NOT ALL of these services can be used for a package shipped from Texas to Ontario. For instance, "UPS 2nd Day Air A.M." is not an allowed service, hence the error message "The requested service is unavailable between the selected locations" (which only shows up in the debug view, after the error response return from UPS as shown in your attachment)."

ibean2009's picture
Offline
Joined: 07/24/2009
Juice: 33
and now

thanks, im now getting

undefined:
Hard 0: Unknown error.

had a look on google and couldnt see any reference to this error.

is there any experts I can pay to help resolve these issues?

jdixon567's picture
Offline
Joined: 10/25/2009
Juice: 75
Re: Re: Shipping estimates not working.

Is this always the problem when receiving "undefined: Hard 111100: The requested service is invalid from the selected origin."? I'm getting the same issue for all shipping services besides UPS Next Day*. I'm testing the shipping quote from Illinois to Ohio.

You'd think that UPS Ground would work for two states that are so close together. The cheapest "next day" service costs around $20, which is more than the value of the product ($15). I'd really like to get some of these other shipping services working.

Here's the debug output from "UPS Ground", which I'd prefer to use. Does anyone notice anything I'm missing?

<?xml version="1.0" encoding="UTF-8"?>
<AccessRequest xml:lang="en-US">
  <AccessLicenseNumber>XXXXXXX</AccessLicenseNumber>
  <UserId>XXXXXXX</UserId>
  <Password>XXXXXX</Password>
</AccessRequest>

<?xml version="1.0" encoding="UTF-8"?>
<RatingServiceSelectionRequest xml:lang="en-US">
  <Request>
    <TransactionReference>
      <CustomerContext>Complex Rate Request</CustomerContext>
      <XpciVersion>1.0001</XpciVersion>
    </TransactionReference>
    <RequestAction>Rate</RequestAction>
    <RequestOption>rate</RequestOption>
  </Request>
  <PickupType>
    <Code>11</Code>
  </PickupType>
  <CustomerClassification>
    <Code>03</Code>
  </CustomerClassification>
  <Shipment>
    <Shipper>
      <ShipperNumber>WRXXXX</ShipperNumber>
      <Address>
        <City>Long Grove</City>
        <StateProvinceCode>IL</StateProvinceCode>
        <PostalCode>60047</PostalCode>
        <CountryCode>US</CountryCode>
      </Address>
    </Shipper>
    <ShipTo>
      <Address>
        <StateProvinceCode>OH</StateProvinceCode>
        <PostalCode>45420</PostalCode>
        <CountryCode>US</CountryCode>
      <ResidentialAddressIndicator/>
      </Address>
    </ShipTo>
    <ShipFrom>
      <Address>
        <StateProvinceCode>IL</StateProvinceCode>
        <PostalCode>60047</PostalCode>
        <CountryCode>US</CountryCode>
      </Address>
    </ShipFrom>
    <ShipmentWeight>
      <UnitOfMeasurement>
        <Code>LBS</Code>
        <Description>Pounds</Description>
      </UnitOfMeasurement>
      <Weight>1.0</Weight>
    </ShipmentWeight>
    <Service>
      <Code>03</Code>
      <Description>UPS Ground</Description>
    </Service>
    <Package><PackagingType><Code>04</Code></PackagingType><PackageWeight><UnitOfMeasurement><Code>LBS</Code><Description>Pounds</Description></UnitOfMeasurement><Weight>1.0</Weight></PackageWeight></Package></Shipment>
</RatingServiceSelectionRequest>

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: Re: Re: Shipping estimates not working.

I suggest you refrain from posting the same problem in more than one place. I answered in the other thread.

<tr>.
jdixon567's picture
Offline
Joined: 10/25/2009
Juice: 75
Re: Re: Re: Re: Shipping estimates not working.

Sorry about the cross post, I wasn't really thinking. Thanks for the help!

mandclu's picture
Offline
Bug Finder
Joined: 11/19/2007
Juice: 78
Re: Shipping estimates not working.

One other gotcha I just ran into: the store was running US currency but UPS was returning its quotes in CAD. Not sure why, but changing the store currency to CAD allowed the shipping quotes to function normally.

Hope this saves someone else the significant time it took to track this down.

PattyMac's picture
Offline
Joined: 10/06/2010
Juice: 13
Shipping Error

HELP! I am having problems with the shipping as well--I've been trying to figure this out for several days and am getting quite frustrated. Wondering if I need to use a different cart... I hope not!

These are the errors I get:

After I try and check out:
Parse error: syntax error, unexpected T_STRING, expecting ')' in /hermes/web08/b1234/pow.franhira3/htdocs/drupal/sites/all/modules/ubercart/ca/ca.ca.inc(516) : eval()'d code on line 1

These are the errors coming up on the Drupal Adminsiter page:
1. warning: Cannot modify header information - headers already sent by (output started at /hermes/web08/b1234/pow.franhira3/htdocs/drupal/sites/all/modules/ubercart/ca/ca.ca.inc(516) : eval()'d code:1) in /hermes/web08/b1234/pow.franhira3/htdocs/drupal/includes/common.inc on line 148.
2. You must select a shipping option before continuing. (sometimes this comes up and sometimes it doesn't. weird.)

In Drupal -
1. Ubercart - core (optional): I have Shipping and Shipping Quotes turned on.
2. Ubercart - fullfillment: I have only Flatrate turned on (and I have my 5 flatrates configured/enabled)
3. Ubercart - payment: I have credit cards and Test Gateway turned on. (I've tried it with autorize.net turned on too)

I'm using Drupal 6 and Ubercart 2.

Any suggestions?
Thanks!