Troubleshooting UPS SurePost #59
-
I have this added to a project via nuget and it's been working pretty well. We recently signed up to get SurePost rates from UPS, however the rates do not show up in the RateManager.GetRates() returns. Is there something that needs to be added to the request in order to get the rates? If not, is there a way to get access to the XML being created that is sent to UPS so I can open a ticket with them? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It turns out the problem is the RequestOption value. ShippingRates defaults it to "Shop" unless you specify in the UPSProvider constructor the serviceDescription. Submitting "Rate" into the serviceDescription doesn't work, it results in an error when getting the UPS Ship Code because it's not a valid entry. So I changed it to "UPS Sure Post" which is in the ToUpsShipCode() function. Unfortunately this resulted in no returned rates. This is probably because "UPS Sure Post" is not a valid entry for the RequestOption (which needs to be "Rate"). Unfortunately both values are driven by the same variable - _serviceDescription. |
Beta Was this translation helpful? Give feedback.
-
Solved in v2.1.0. |
Beta Was this translation helpful? Give feedback.
Solved in v2.1.0.