UPS Shipping Method Unavailable in Magento 1 or Magento 2 [Solved]
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 Magento 1:
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.
If you still face any issues after following the above solution, feel free to ask your doubts in the Comments section below and I’d be happy to help 🙂
Thank You.
Sanjay Jethva
Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe.
His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.
3 Comments
It is also not working for Kenya
Worked for US shipments but Canada still shows error message.
We haven’t tried for Canada. Contact us to let us help: https://meetanshi.com/contacts