-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UPS rating engine does not seem to return non-negotiated rates #57
Comments
Can you provide a specific example? When I try it works as expected. Kyle |
Before the first of the year I validated that this code worked and did return the proper results.
var rateManager = new RateManager();
UPSProvider ups = new UPSProvider(_upsLicenseNumber, _upsUserId, _upsPassword) {UseNegotiatedRates = false};
// Add desired DotNetShippingProviders
rateManager.AddProvider(ups);
rateManager.AddProvider(new FedExProvider(_fedexKey, _fedexPassword, _fedexAccountNumber, _fedexMeterNumber));
rateManager.AddProvider(new USPSProvider(_uspsUserId));
// (Optional) Add RateAdjusters
//rateManager.AddRateAdjuster(new PercentageRateAdjuster(.9M));
// Call GetRates()
Shipment shipment = rateManager.GetRates(origin, destination, packages);
When I check the rates returned from Fedex and the USPS, I can match the rates up discounted or not. For some reason, since the first of the year, the UPS rates are not returning as I would expect. Most, if not all of the rates are lower than expected. Please let me know if I am just not configuring the UPS rate provider to return our non-discounted rates.
Thanks,
Phil
From: Kyle West [mailto:[email protected]]
Sent: Thursday, January 12, 2017 3:04 PM
To: kylewest/DotNetShipping <[email protected]>
Cc: Phil Shaff <[email protected]>; Author <[email protected]>
Subject: Re: [kylewest/DotNetShipping] UPS rating engine does not seem to return non-negotiated rates (#57)
Can you provide a specific example? When I try it works as expected.
Kyle
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#57 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ATktOBx26repToLnn9-WfsfmpYXEUgS_ks5rRpUmgaJpZM4Lhxiq>.
|
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. Are you setting your 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... |
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. |
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.
The text was updated successfully, but these errors were encountered: