Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: UPS/UPS2 Errors

  1. #1
    doktorhallam is offline Member
    Join Date
    Jan 2009
    Posts
    66

    Question UPS/UPS2 Errors

    Hi,

    I am configuring a 9.0.1.3 install for RTShipping with UPS2 negotiated rates and I am receiving errors when trying to pull the rates.

    I have set all necessary app config values for the access code, username, password, acct number, etc. I have set the shipping rates table to use real time rates.

    If I select UPS2 as the ActiveCarrier and set GetNegotiatedRates to true I get the error "You have selected an invalid address. No shipping methods found". The XML dump on the cart shows a completely empty request going to the server!

    I tried to get the standard UPS rates going just to get something working. I change the ActiveCarrier to UPS and GetNegotiatedRates to false. The error I get is "You have selected an invalid address. No shipping methods found."

    Below are the XML requests and responses for both methods:

    UPS RTShipRequest:

    <roottag_justaddedfordisplayonthispage>
    <UPSRequest>
    <AccessRequest xml:lang="en-us">
    <AccessLicenseNumber>###########</AccessLicenseNumber>
    <UserId>######</UserId>
    <Password>######</Password>
    </AccessRequest>
    <RatingServiceSelectionRequest xml:lang="en-US">
    <Request>
    <RequestAction>Rate</RequestAction>
    <RequestOption>Shop</RequestOption>
    <TransactionReference>
    <CustomerContext>Rating and Service</CustomerContext>
    <XpciVersion>1.0001</XpciVersion>
    </TransactionReference>
    </Request>
    <PickupType>
    <Code>01</Code>
    </PickupType>
    <Shipment>
    <Shipper>
    <Address>
    <City>RICHFIELD</City>
    <StateProvinceCode>OH</StateProvinceCode>
    <PostalCode>44286</PostalCode>
    <CountryCode>US</CountryCode>
    </Address>
    </Shipper>
    <ShipTo>
    <Address>
    <City>CLINTON</City>
    <StateProvinceCode>OH</StateProvinceCode>
    <PostalCode>44216</PostalCode>
    <CountryCode>US</CountryCode>
    <ResidentialAddressIndicator />
    </Address>
    </ShipTo>
    <ShipmentWeight>
    <UnitOfMeasurement>
    <Code>LBS</Code>
    </UnitOfMeasurement>
    <Weight>6.0000</Weight>
    </ShipmentWeight>
    <Package>
    <PackagingType>
    <Code>02</Code>
    </PackagingType>
    <Dimensions>
    <UnitOfMeasurement>
    <Code>IN</Code>
    </UnitOfMeasurement>
    <Length>18.5000</Length>
    <Width>8.2500</Width>
    <Height>6.2500</Height>
    </Dimensions>
    <Description>1</Description>
    <PackageWeight>
    <UnitOfMeasure>
    <Code>LBS</Code>
    </UnitOfMeasure>
    <Weight>6.0000</Weight>
    </PackageWeight>
    <OversizePackage />
    <PackageServiceOptions>
    <InsuredValue>
    <CurrencyCode>USD</CurrencyCode>
    <MonetaryValue>97.0000</MonetaryValue>
    </InsuredValue>
    </PackageServiceOptions>
    </Package>
    <ShipmentServiceOptions />
    </Shipment>
    </RatingServiceSelectionRequest>
    </UPSRequest>
    </roottag_justaddedfordisplayonthispage>




    UPS RTShipResponse:

    <roottag_justaddedfordisplayonthispage>
    <UPSResponse>
    <RatingServiceSelectionResponse>
    <Response>
    <TransactionReference>
    <CustomerContext>Rating and Service</CustomerContext>
    <XpciVersion>1.0001</XpciVersion>
    </TransactionReference>
    <ResponseStatusCode>0</ResponseStatusCode>
    <ResponseStatusDescription>Failure</ResponseStatusDescription>
    <Error>
    <ErrorSeverity>Hard</ErrorSeverity>
    <ErrorCode>110602</ErrorCode>
    <ErrorDescription>Missing/Illegal Combination of Package/Dimensions</ErrorDescription>
    </Error>
    </Response>
    </RatingServiceSelectionResponse>
    </UPSResponse>
    </roottag_justaddedfordisplayonthispage>


    UPS2 RTShipRequest:

    <roottag_justaddedfordisplayonthispage>
    <UPS2Request>
    </UPS2Request>
    </roottag_justaddedfordisplayonthispage>


    UPS2 RTShipResponse:

    <roottag_justaddedfordisplayonthispage>
    <UPS2Response>UPS Error: Missing/Illegal Combination of Package/Dimensions</UPS2Response>
    </roottag_justaddedfordisplayonthispage>


    Any guidance will be greatly appreciated.

    Thanks,
    Last edited by doktorhallam; 08-25-2010 at 07:27 AM.

  2. #2
    Ken is offline Junior Member
    Join Date
    Feb 2009
    Location
    CA
    Posts
    4

    Default

    I'm stuck. I got the same error. Did you get any solution for it?

  3. #3
    cksite is offline Senior Member
    Join Date
    Apr 2006
    Location
    Easthampton Massachusetts
    Posts
    125

    Default UPS2 Rates no go in V9 for us either

    AspDotNetStorefront ML 9.0.1.3/9.0.1.3 SP1

    After thorough experimentation and carefully following the manual instructions, we have found that UPS2 Negotiated Realtime rates do not work in ML 9.0.1.3/9.0.1.3 SP1

    Pre-emptive details:
    1. Yes we have a negotiated account and the 6 character account number is configured in RTShipping.UPS.AccountNumber.
    2. Realtime rates work, just not negotiated ones, so our other passwords and account creds are valid.
    3. The test shipping address in our scenario is a domestic address.

    Here's some details we found to be significant.

    The App COnfig for Realtime rates "RTShipping.DomesticCarriers" is not included in the instructions but it seems like it would be necessary. So we tried it,

    If I set "RTShipping.DomesticCarriers" as UPS2 as well, it throws an error and check out can't occur.
    Front end Error:" As a system administrator, you can view the contents of this error in your admin site by going to Configuration --> Maintenance --> System Log" The log: "Exception of type 'System.Web.HttpUnhandledException' was thrown."

    So we take RTShipping.DomesticCarriers out of play switching it back to "UPS", and when all settings in the manual are correct for Real time rates UPS2 negotiated. We get retails not negoatiated rates.

    We see "RTShipping.DomesticCarriers" as the smoking gun of where the breakdown is occurring. It's not mentioned in the manual and it effectively causes all realtime rates to fail when you set it for the UPS negotiated rates carrier

    Also not mentioned in the manual is the difference between values in prevent configs: RTShipping.ShippingMethodsToPrevent, works if I put in the UPS values, but not the UPS2 values which have a leading numeric code.

    UPS values from admin:
    UPS 3-Day Select,UPS 2nd Day Air,UPS Next Day Air Saver,UPS Next Day Air Early AM,UPS Next Day Air

    UPS2 VAlues from Admin:
    12;UPS Three-Day Select,02;UPS Second Day Air,13;UPS Next Day Air Saver,01;UPS Next Day Air,14;UPS Next Day Air Early AM,07;UPS Worldwide Express,08;UPS Worldwide Expedited,11;UPS Standard,54;UPS Worldwide Express Plus,59;UPS Second Day Air AM,65;UPS Saver