UPS Shipping weight problem

Posts: 55
Joined: 08/17/2007

"A shipment can have only one type of UnitOfMeasurement for a Weight"

I am getting this error when trying to calculate the shipping cost with the UPS module. My store settings has lbs as default. In alpha7c when I was editing the product, under Product Information I had chosen the weight to be in kgs. That is no longer an option in alpha7d (it just has a box to type in a number).

I tried changing the store settings to kg but the same error appears.

<?xml version="1.0"?>
<RatingServiceSelectionResponse>
  <Response>
    <TransactionReference>
      <CustomerContext>Complex Rate Request</CustomerContext>
      <XpciVersion>1.0001</XpciVersion>
    </TransactionReference>
    <ResponseStatusCode>0</ResponseStatusCode>
    <ResponseStatusDescription>Failure</ResponseStatusDescription>
    <Error>
      <ErrorSeverity>Hard</ErrorSeverity>
      <ErrorCode>110529</ErrorCode>
      <ErrorDescription>A shipment can have only one type of UnitOfMeasurement for a Weight</ErrorDescription>
    </Error>
  </Response>
</RatingServiceSelectionResponse>

Anyone have any ideas of what could be causing this?

Edit: more info

<Package>
  <PackagingType>
    <Code>02</Code>
  </PackagingType>
  <Dimensions>
    <UnitOfMeasurement>
      <Code>IN</Code>
    </UnitOfMeasurement>
    <Length>60</Length>
    <Width>21</Width>
    <Height>7</Height>
  </Dimensions>
  <PackageWeight>
    <UnitOfMeasurement>
      <Code>KGS</Code>
      <Description>Kilograms</Description>
    </UnitOfMeasurement>
    <Weight>40</Weight>
  </PackageWeight>

  <PackageServiceOptions>
    <InsuredValue>
      <CurrencyCode>USD</CurrencyCode>
      <MonetaryValue>129</MonetaryValue>
    </InsuredValue>
  </PackageServiceOptions>
</Package>

Posts: 2244
Joined: 08/07/2007
AdministratoreLiTe!

The missing form element is easily fixed. Change theme_uc_product_form_weight() to say 'weight_units' instead of 'units'.

When you got the error, did you have more than one product in your cart, and were some weighed in pounds and others in kilograms?

Looking through the error codes for Rating and Services Selection, I also noticed that you can't have IN with KGS or CM with LBS.

Posts: 55
Joined: 08/17/2007

When I got the error I only had one product in my shopping cart. Changing all the units to lbs and inches fixed the problem.

Posts: 2244
Joined: 08/07/2007
AdministratoreLiTe!

Aha, it turns out that the total shipment weight is also specified, and I've hard-coded that unit to be in pounds. That's why you couldn't have something different.

I'm going to make an option whether to use IN/LBS or CM/KGS in the request XML. I'm pretty sure that UPS would be confused by shipments from countries using the wrong units. Then the module can convert to the appropriate system as needed.

Posts: 51
Joined: 10/08/2007
Getting busy with the Ubercode.

Sadly I'm having similar problems. For weight, I'm writing "0.2" lbs (because it doesn't recognize oz). I've followed all the instructions properly - at least I think so - and I'm starting to get disheartened by ubercart.

Do you have any suggestions how to fix this?

the message starts like this (but includes all my passwords for teh accounts I set up with UPS, USPS, etc!), so only posting the beginning:

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

At the bottom of about 4 pages worth of my private info, I see the following error:

There were problems getting a shipping quote. Please verify the delivery and product information and try again.
If this does not resolve the issue, please call in to complete your order.

Can someone help with these problems?
1. make sure my private info isn't aired (or is it only I who can see this?)
2. to allow chipping calculations to return actual results.

?

Posts: 55
Joined: 08/17/2007

Try putting 1 lb as the weight and see if that changes anything. When my company uses the UPS Worldship program it doesn't let us insert decimals, only whole numbers.

Also, right above the last error message, there should be a line that begins with

<?xml version="1.0"?>

That is the response message from UPS. It doesn't contain any private information and should help you find out exactly what is going wrong.

Posts: 2244
Joined: 08/07/2007
AdministratoreLiTe!

Only roles with the "configure quotes" permission can see that debug data, and the only really important data that you want to keep hidden are the parts in the <AccessRequest> tag. The rest of it describes the shipment you want to quote: the kinds of packages, where they're coming from, where they're going, etc.

What I want to see is the response from UPS. It's the line right before the error message. You should be able to look through it and see what the ErrorMessage tag contains.

Posts: 51
Joined: 10/08/2007
Getting busy with the Ubercode.

Oh, I didn't realize - I'm new at this!

here's the last line:

<?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Complex Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>0</ResponseStatusCode><ResponseStatusDescription>Failure</ResponseStatusDescription><Error><ErrorSeverity>Hard</ErrorSeverity><ErrorCode>250003</ErrorCode><ErrorDescription>Invalid Access License number</ErrorDescription></Error></Response></RatingServiceSelectionResponse>

I see "invalid access license number" - you know, I just got a puzzling email from UPS. It seems that they haven't actually given us access to something yet (though they gave me a number, which I used). Do you think this is the problem?

Posts: 2244
Joined: 08/07/2007
AdministratoreLiTe!

There are a few different numbers that UPS gives you. You probably got a Developer's Key, which gets you access to the documentation and lets you sign up for an Access License number. I notice a lot of people get confused by that.

Posts: 51
Joined: 10/08/2007
Getting busy with the Ubercode.

Yes, I'm online trying to get an Access License number (using my Developer's Key!). Thanks.

BUT, there is also a "UPS Shipper #" - What is this? Thanks for your help! Puzzled

Posts: 51
Joined: 10/08/2007
Getting busy with the Ubercode.

Also, on the UPS site, do I get an "XML Access Key", or an "HTML Access Key"? It seems to make you choose which one...?

Posts: 51
Joined: 10/08/2007
Getting busy with the Ubercode.

Well, I chose "XML Access Key", and got it Smiling
BUT now that I put it in place in the Ubercart settings, I still get an error. A different one:

<?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Complex Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>0</ResponseStatusCode><ResponseStatusDescription>Failure</ResponseStatusDescription><Error><ErrorSeverity>Hard</ErrorSeverity><ErrorCode>110950</ErrorCode><ErrorDescription>Customer Classification Code is required with the requested Pickup Type</ErrorDescription></Error></Response></RatingServiceSelectionResponse>

There were problems getting a shipping quote. Please verify the delivery and product information and try again.
If this does not resolve the issue, please call in to complete your order.

What does it mean by "Customer Classification Code is required with the requested Pickup Type"? Is this the problem?

Am I doing something wrong, or is it supposed to be this hard? Eye-wink

Seriously, thanks. If I can get this cart to work flawlessly, it will be a great thing...

Posts: 2244
Joined: 08/07/2007
AdministratoreLiTe!

GRR! Their documentation lied! It sounded like the Customer Classification was completely optional because there was a default code for every type of pickup. I guess I'll have to actually make that a setting for the module. Out of curiosity, what pickup type did you choose?

The Shipper # is the 6-character alphanumeric string that UPS uses to bill you. A particular user name on ups.com can have several different account numbers, and the web service needs to know who to send the bill to.

Posts: 51
Joined: 10/08/2007
Getting busy with the Ubercode.

I chose the "Suggested Retail Rates" pickup type (because I didn't really understand this option - we only ship, and don't do pickups at all).

Looks like I already had the Shipper # input correctly (lucky guess!).

Just for my own clarification - If you say you'll have to make a setting for the module, does that mean I can't use it as-is? Should I select a different Pickup Type in the meantime? Or is there a piece of code I modify per your instructions?

The thing is, I am trying to quickly solve a problem for my wife's home-made business, to accommodate different shipping options for Canada and the UK. I would really like to get this operational even if not perfect. So if there is some workaround that would be great!

By the way, it may be worth mentioning that USPS just sent me an email saying "congratulations, you have been upgraded from TESTING to PRODUCTION - please ask your 3rd party API to help with any questions, blah blah blah." Which makes me wonder if this could also have been the cause of some problems? AND, looks like it's part of it, because I just tested the Estimated shipping cost button in teh View Cart section, and I got the following:

Priority Mail, 2 days in transit: $4.60
First-Class Mail Parcel: $4.98
Parcel Post: $8.39
Priority Mail Flat-Rate Box: $8.95
There were problems getting a shipping quote. Please verify the delivery and product information and try again.
If this does not resolve the issue, please call in to complete your order.

Which seems to me that USPS is working, but still problem with UPS.

Then I changed the Pickup Type to "one time pickup", and SOMETHING seems to be working differently. It's the first time a UPS quote arrived. But it still says "There were problems...". Well, here's exactly what it says (anonymous user):

UPS Ground Rate: $11.54
Priority Mail, 2 days in transit: $4.60
First-Class Mail Parcel: $4.98
Parcel Post: $8.39
Priority Mail Flat-Rate Box: $8.95
There were problems getting a shipping quote. Please verify the delivery and product information and try again.
If this does not resolve the issue, please call in to complete your order.

SO, because you asked for it last time, I'm also including below the longer strings that begin with "<?xml version="1.0"?>" (there are a lot, because I enabled all the UPS shipping options). But i'll leave out everything else to keep it short:

<?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Complex Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><RatedShipment><Service><Code>02</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>1.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>16.64</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>16.64</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>2</GuaranteedDaysToDelivery><ScheduledDeliveryTime></ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>16.64</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>16.64</MonetaryValue></TotalCharges><Weight>0.6</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>1.0</Weight></BillingWeight></RatedPackage></RatedShipment></RatingServiceSelectionResponse>

<?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Complex Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><RatedShipment><Service><Code>59</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>1.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>18.35</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>18.35</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>2</GuaranteedDaysToDelivery><ScheduledDeliveryTime>10:30 A.M.</ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>18.35</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>18.35</MonetaryValue></TotalCharges><Weight>0.6</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>1.0</Weight></BillingWeight></RatedPackage></RatedShipment></RatingServiceSelectionResponse>

<?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Complex Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><RatedShipment><Service><Code>12</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>1.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>12.08</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>12.08</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>3</GuaranteedDaysToDelivery><ScheduledDeliveryTime></ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>12.08</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>12.08</MonetaryValue></TotalCharges><Weight>0.6</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>1.0</Weight></BillingWeight></RatedPackage></RatedShipment></RatingServiceSelectionResponse>

<?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Complex Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><RatedShipment><Service><Code>14</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>1.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>58.03</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>58.03</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery><ScheduledDeliveryTime>8:00 A.M.</ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>58.03</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>58.03</MonetaryValue></TotalCharges><Weight>0.6</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>1.0</Weight></BillingWeight></RatedPackage></RatedShipment></RatingServiceSelectionResponse>

<?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Complex Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><RatedShipment><Service><Code>13</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>1.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>23.37</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>23.37</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery><ScheduledDeliveryTime>3:00 P.M.</ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>23.37</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>23.37</MonetaryValue></TotalCharges><Weight>0.6</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>1.0</Weight></BillingWeight></RatedPackage></RatedShipment></RatingServiceSelectionResponse>

<?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Complex Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>0</ResponseStatusCode><ResponseStatusDescription>Failure</ResponseStatusDescription><Error><ErrorSeverity>Hard</ErrorSeverity><ErrorCode>111100</ErrorCode><ErrorDescription>The requested service is invalid from the selected origin.</ErrorDescription></Error></Response></RatingServiceSelectionResponse>

<?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Complex Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><RatedShipment><Service><Code>01</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>1.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>25.54</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>25.54</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery><ScheduledDeliveryTime>10:30 A.M.</ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>25.54</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>25.54</MonetaryValue></TotalCharges><Weight>0.6</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>1.0</Weight></BillingWeight></RatedPackage></RatedShipment></RatingServiceSelectionResponse>

<?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Complex Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><RatedShipment><Service><Code>03</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>1.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>10.31</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>10.31</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery></GuaranteedDaysToDelivery><ScheduledDeliveryTime></ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>10.31</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>10.31</MonetaryValue></TotalCharges><Weight>0.6</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>1.0</Weight></BillingWeight></RatedPackage></RatedShipment></RatingServiceSelectionResponse>

<?xml version="1.0"?>
<PriorityMailResponse><OriginZip>189</OriginZip><DestinationZip>191</DestinationZip><Days>1</Days></PriorityMailResponse>


<?xml version="1.0"?>
<PriorityMailResponse><OriginZip>189</OriginZip><DestinationZip>191</DestinationZip><Days>1</Days></PriorityMailResponse>


<?xml version="1.0"?>
<StandardBResponse><OriginZip>189</OriginZip><DestinationZip>191</DestinationZip><Days>2</Days></StandardBResponse>


<?xml version="1.0"?>
<StandardBResponse><OriginZip>189</OriginZip><DestinationZip>191</DestinationZip><Days>2</Days></StandardBResponse>

This seems like an awful lot to write -- but I hope this helps you help me! (and maybe others... or am I the only one?)

I just think seeing "There were problems... please try again" will make people feel hesitant to give their credit card info because it seems like something might not be working. Is there is a way to keep this error from happening, that would be great!

PS, there are other errors I wonder if maybe aren't connected? But I tried to post them in the appropriate location (with another user's similar problems), but I haven't got any word yet. Maybe worth having a look in the context of this problem?: http://www.ubercart.org/forum/bug_reports/719/sql_error_uc_quote_all_nod...

Smiling
Scott

Posts: 51
Joined: 10/08/2007
Getting busy with the Ubercode.

ok, so I decided to remove all the other UPS options besides "UPS Ground" (which was the only UPS option that showed, so I figured it was probably ok), and guess what? No errors!

BUT, that is only a short-term solution, because it would be nice to offer other available shipping options. I posted this in the hopes that perhaps it would narrow down the problem?

ALSO, what about allowing other weight types, like Ounces? Because this will really affect the price of shipping. Having to ship a whole pound if it's really only 6 ounces or something.

Puzzled Eye-wink
Scott

Posts: 51
Joined: 10/08/2007
Getting busy with the Ubercode.

ok, Now when I go through the checkout process, (with the new UPS workaround) I get no errors upon calculating shipping. But then I finish and click "Review Order" I get TONS of the same error (similar to other issue, but I submit here because it is part of the same workflow of issues). Here's the error (but multiply this by a few hundred:

warning: xml_parse() [function.xml-parse]: Unable to call handler _startElement() in /home/breed/public_html/backroom/modules/ubercart/uc_store/includes/simplexml.php on line 244.
warning: xml_parse() [function.xml-parse]: Unable to call handler _startElement() in /home/breed/public_html/backroom/modules/ubercart/uc_store/includes/simplexml.php on line 244.

BUT then when I scroll all the way down, I see my order to review, and all looks good! I click "Submit Order" button and complete the process. Seems to work great!
except for the errors... can't possibly expect users to trust the software if they see errors. Any ideas about this?

thanks!

Posts: 2244
Joined: 08/07/2007
AdministratoreLiTe!

I'm going to redo the error handling for the shipping quotes. I'm going to make it display that error only if no quotes at all come back, which is what I should have done in the first place.

The problem seems to be that one of the UPS services you selected doesn't work to or from your location, or the delivery location.

Posts: 116
Joined: 08/08/2007
Brain Stormer

i've seen this confusion about ups signup and ids before in the past. i think it's the same scenario for usps.

if after you work this thread out, is there any way someone can just document how to use this thing in a single place in the user guide for future reference?

thanks

Posts: 2244
Joined: 08/07/2007
AdministratoreLiTe!

For whatever reason, I don't think I clarified about the pickup type. That refers to the kinds of pickups that UPS has to do for your shipments out, not pickups you need to do.