cancel
Showing results for 
Search instead for 
Did you mean: 

UPS not showing rates

SOLVED

UPS not showing rates

Good morning,

 

Out of the blue, our checkout page stopped displaying UPS shipping methods (M2 v2.3.5 p2). Even after entering the full shipping address, the shipping method section keep saying "Please enter your shipping address first to see our shipping options."

 

Screenshot 2023-05-25 070732.jpg

 

After debugging, I found this error from UPS API - 302 Errorscreen_shot_2023-05-25_at_10.12.13.png

 

I have not changed anything under the admin, and the UPS Gateway URL is the same

screen_shot_2023-05-25_at_16.23.46.png

 

Please anyone would have an idea as of why this is happening? Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: UPS not showing rates

Hello.

 

This began happening to us as well yesterday morning. It looks like UPS has decommissioned the legacy CGI rating API located at https://www.ups.com/using/services/rave/qcostcgi.cgi

 

As best as I can tell, no specific advance notification was provided to users. The closest thing would be the UPS API Security Model update notification sent out on Tuesday morning that referenced legacy APIs being discontinued at some point. In the case of the CGI API, it seems it was just 24 hours later.

 

You should be able to reconfigure the native Magento UPS extension to use the deprecated XML API rather than the CGI API.

 

Stores -> Configuration -> Sales -> Shipping Methods -> UPS

 

Change the "UPS Type" setting to "United Parcel Service XML"

 

ups-settings.png

 

Important: The XML API will require valid ups.com developer credentials. Specifically you'll need a username, password, and access key. You'll plug these into the extension's settings.

 

Important: UPS is discontinuing their support of access keys as an API authentication method and pushing users towards OAuth. They will stop issuing new access keys 06/05/2023 and will stop supporting access keys 06/03/2024. After 06/03/2024, you'll need to move away from the XML APIs and begin using their RESTful APIs.

 

GitHub Issue discussing the decommissioning of the legacy CGI API 

 

GitHub Issue discussing the need to update the UPS extension to support the new auth/API changes 

 

 

View solution in original post

2 REPLIES 2

Re: UPS not showing rates

Hello.

 

This began happening to us as well yesterday morning. It looks like UPS has decommissioned the legacy CGI rating API located at https://www.ups.com/using/services/rave/qcostcgi.cgi

 

As best as I can tell, no specific advance notification was provided to users. The closest thing would be the UPS API Security Model update notification sent out on Tuesday morning that referenced legacy APIs being discontinued at some point. In the case of the CGI API, it seems it was just 24 hours later.

 

You should be able to reconfigure the native Magento UPS extension to use the deprecated XML API rather than the CGI API.

 

Stores -> Configuration -> Sales -> Shipping Methods -> UPS

 

Change the "UPS Type" setting to "United Parcel Service XML"

 

ups-settings.png

 

Important: The XML API will require valid ups.com developer credentials. Specifically you'll need a username, password, and access key. You'll plug these into the extension's settings.

 

Important: UPS is discontinuing their support of access keys as an API authentication method and pushing users towards OAuth. They will stop issuing new access keys 06/05/2023 and will stop supporting access keys 06/03/2024. After 06/03/2024, you'll need to move away from the XML APIs and begin using their RESTful APIs.

 

GitHub Issue discussing the decommissioning of the legacy CGI API 

 

GitHub Issue discussing the need to update the UPS extension to support the new auth/API changes 

 

 

Re: UPS not showing rates

Thank you very much @simssmithc3266, I switched to the UPS XML API and it worked.

If UPS is also going to shut down the XML API, I sure hope that M2 will implement RESTful APIs so we can continue using UPS ratings.