kylewest / DotNetShipping

UPS, FedEx, USPS shipping rate calculators for .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UPS rating engine does not seem to return non-negotiated rates

pshaff opened this issue · comments

I have tried to set the UseNegotiatedRates to false or true and the rates returned from UPS are not what I can get going directly to UPS. The prices seem to be consistently lower than expected.

Can you provide a specific example? When I try it works as expected.

Kyle

Kyle,

When I rate a single package with the weight between 1 and 40 pounds shipping to any domestic address. The UPS rating engine is only returning the rates that have been negotiated while the Fedex engine is returning both negotiated and standard rates. I need to be able to show the standard rates for our account for UPS.

Let me know what you are looking for if you need specific examples.

Thanks,

Phil

Hey Phil,

Hard for me to test this because I don't have an account with negotiated rates. You're welcome to send me your credentials and I will do the testing but I'm guessing you don't want to do that and I wouldn't blame you.

If you're willing to clone this repo and make a couple changes I think we can figure it out though. I did some research and I think the issue is either with PickupType or CustomerClassification.

screenshot-2017-01-26-at-11-37-02

Are you setting your ShipperNumber somewhere? If so the request is using 00 "Rates Associated with Shipper Number". If not, try setting that to 04 (retail) or some of the other values and see if that works.

One last thing: this may be something with your account and you may want to talk to your UPS rep before beating your head against the wall just in case it is. From the docs...
screenshot-2017-01-26-at-11-47-06

We started using your package and that documentation is what we used to determine the pricing differences. The price you get from UPS.com is the retail rate. Just FYI.