close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

UPS Settings - does this work in the UK?

Thread began 8/10/2015 7:17 pm by Nathon Jones Web Design | Last modified 9/03/2015 2:09 pm by Nathon Jones Web Design | 2930 views | 42 replies

Nathon Jones Web Design

Got this back from UPS yesterday and I attach what they sent back too. I've changed the User ID but that didn't change the rates so I am assuming that it's the TaxInformationIndicator element/tag being missing in the request file that's causing the problem. I have no idea how to include that so am hoping you can help. Here's what UPS said...

"Regrettably, the attached file was not in a format that I could properly test. For some reason, the elements/tags in the XML request file were all change to lowercase letters.

The file you provided had the element/tags as <accesslicensenumber>, and should be <AccessLicenseNumber>.

So I took the information from the provided file and built a working file. I have attached the working request and response file to this message. Please note the changes highlighted in blue.

When tested in the API request file, I noticed two issues. They are as listed below:

1- User ID does not match the user ID on record with UPS. (user ID is case sensitive when requesting Negotiated Rates).
2- No TaxInformationIndicator element/tag in the request file.

Once updated the user ID and added the TaxInformationIndicator to the request file, the rates matched UPS.com Calculate Time and Cost.

Please contact us if you need any additional assistance.
Madeline M.
UPS Technical Support"

Thanks Ray.
NJ

EDIT:

They also followed up with this:

"Negotiated Rates are only returned for qualified Shipper Account Numbers and eligibility is determined using the combination of User ID and the Shipper's Shipper Account Number in the XML request. If the User ID is qualified, both Published Rates and Negotiated Rates are returned. If the User ID or Shipper Account Number is not qualified for Negotiated Rates, only Published Rates are returned in the response.

The approved shipper number needs to be associated with the User ID used in the XML by adding it the Account Summary under Manage MyUPS at UPS.com.

To receive Negotiated Rates some XML additions are required that are slightly different from a basic request.

1. The approved User ID associated with the Negotiated Rates must be used in the AccessRequest container along with the Access Key and Password.

2. The approved shipper number must be included in the RatingServiceSelectionRequest/Shipment/Shipper/ShipperNumber container.

3. The empty node <NegotiatedRatesIndicator/> must be included in the RatingServiceSelectionRequest/Shipment/RateInformation container. The RateInformation container may need to be added as well.

4. The <StateProvinceCode> node is required in the RatingServiceSelectionRequest/Shipment/Shipper/Address container or RatingServiceSelectionRequest/Shipment/ShipFrom/Address container depending on the absence or presence of the ShipFrom container. If the <ShipFrom> container is present, the <StateProvinceCode> node is required there. In the absence of a <ShipFrom> container the <StateProvinceCode> node is required in the <Shipper> container. It is also required in the RatingServiceSelectionRequest/Shipment/ShipTo/Address container.

Please see the XML snippet below for examples of element placement. Note these are in addition to the already required tags for all Rates Tool requests:

<?xml version="1.0" encoding="UTF-8"?>
<AccessRequest>
<AccessLicenseNumber>XXXXXXXXXXXXXXXX</AccessLicenseNumber>
<UserId>XXX..XXX</UserId>
<Password>XXXX..XXXX</Password>
</AccessRequest>

<?xml version="1.0" encoding="UTF-8"?>
<RatingServiceSelectionRequest>
<Shipment>
<Shipper>
<ShipperNumber>XXXXXX</ShipperNumber>
<Address>
<StateProvinceCode>XX</StateProvinceCode> <!-- Required here if ShipFrom is not present -->
</Address>
</Shipper>
<ShipFrom>
<Address>
<StateProvinceCode>XX</StateProvinceCode> <!-- Required here if ShipFrom is present -->
</Address>
</ShipFrom>
<ShipTo>
<Address>
<StateProvinceCode>XX</StateProvinceCode> <!-- Required -->
</ShipTo>
<RateInformation>
<NegotiatedRatesIndicator/>
</RateInformation>
</Shipment>
</RatingServiceSelectionRequest>


5. Negotiated rates are returned in the NegotiatedRates node of the XML response and only at the shipment level. Published rates are still returned in the normal locations.

<NegotiatedRates>
<NetSummaryCharges>
<GrandTotal>
<MonetaryValue>16.08</MonetaryValue>
</GrandTotal>
</NetSummaryCharges>
</NegotiatedRates>
</RatedShipment>

6. Lastly, please note that the Customer Integration Environment (CIE) only returns a 1% discount regardless of your actual negotiated rates. You will need to move to production to see your actual rates.

Kind Regards,
David Koch
UPS Technical Support"

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...