United Parcel Service (UPS) offers domestic and international shipping services by land and air to more than 220 countries.
Owing to CGI Rating API, the Magento 1.x and Magento 2.x merchants have witnessed changes and an error like “United Parcel Service – This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.“
This is due to the change that took place on January 06, 2019 that UPS will now onwards only support the secure connections and not the HTTP connections.
The default Magento tends to connect using an HTTP connection. And that’s why the error due to no official support from UPS.
The solution is to switch to UPS XML API. However, there is a quick fix that does not require switching to XML. Let’s see how:
Solution: UPS Shipping Method Unavailable in Magento 1 or Magento 2
How to fix it in Magento 1.x:
- Login to Admin Panel and navigate to System > Configuration.
- Under Sales, click Shipping Methods.
- Expand the UPS tab.
- In the Gateway URL option, change the URL from http://www.ups.com/using/services/rave/qcostcgi.cgi to https://www.ups.com/using/services/rave/qcostcgi.cgi

Follow the video solution to fix UPS Shipping Method Unavailable issue in Magento1:
How to fix it in Magento 2.x:
- Login to Admin Panel and navigate to Stores > Configuration.
- Under Sales, click Shipping Methods.
- Expand the UPS tab.
- In the Gateway URL option, change the URL from http://www.ups.com/using/services/rave/qcostcgi.cgi to https://www.ups.com/using/services/rave/qcostcgi.cgi

Follow the video solution to fix UPS Shipping Method Unavailable issue in Magento 2:
That’s it.
In default Magento 1.x or Magento 2.x, the UPS gateway URL uses the “http” protocol, but now one must use the “https” protocol to avoid any error.
However, the store owners using the UPS XML Rating API are not impacted by this change.
Thank You.