{"id":291,"date":"2019-01-10T11:50:28","date_gmt":"2019-01-10T11:50:28","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2019\/01\/10\/ups-shipping-method-unavailable-in-magento-1-magento-2\/"},"modified":"2025-05-22T17:08:48","modified_gmt":"2025-05-22T11:38:48","slug":"ups-shipping-method-unavailable-in-magento-1-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/ups-shipping-method-unavailable-in-magento-1-magento-2\/","title":{"rendered":"UPS Shipping Method Unavailable in Magento 1 or Magento 2 [Solved]"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.ups.com\/us\/en\/home\" target=\"_blank\" rel=\"noreferrer noopener\">United Parcel Service<\/a> (UPS) offers domestic and international shipping services by land and air to more than 220 countries.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Owing to CGI Rating API, the Magento 1.x and Magento 2.x merchants have witnessed changes and an error like &#8220;<em>United Parcel Service \u2013 This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.<\/em>&#8220;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The default Magento tends to connect using an HTTP connection. And that&#8217;s why the error due to no official support from UPS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The solution is to switch to UPS XML API. However, there is a quick fix that does not require&nbsp;switching to XML. Let&#8217;s see how:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Solution: UPS Shipping Method Unavailable in Magento 1&nbsp;or Magento 2<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">How to fix it in Magento 1.x:<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Login to <strong>Admin Panel<\/strong> and navigate to <strong>System &gt; Configuration<\/strong>.<\/li>\n\n\n\n<li>Under <strong>Sales<\/strong>, click <strong>Shipping Methods.<\/strong><\/li>\n\n\n\n<li>Expand the <strong>UPS<\/strong> tab.<\/li>\n\n\n\n<li>In the <strong>Gateway URL<\/strong> option, <strong>change the URL<\/strong> from http:\/\/www.ups.com\/using\/services\/rave\/qcostcgi.cgi to&nbsp;<strong>https:\/\/www.ups.com\/using\/services\/rave\/qcostcgi.cgi<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2019\/01\/UPS-Magento-1-Issue-Solution-1024x418.png\" alt=\"UPS Magento 1 Issue Solution\" class=\"wp-image-4067\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Follow the video solution to fix&nbsp;UPS Shipping Method Unavailable issue in Magento1:<\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Solved: UPS Shipping Not Working in Magento 1\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/1rjp6ttiAR8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">How to fix it in Magento 2.x:<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Login to&nbsp;<strong>Admin Panel<\/strong>&nbsp;and navigate to&nbsp;<strong>Stores &gt; Configuration<\/strong>.<\/li>\n\n\n\n<li>Under&nbsp;<strong>Sales<\/strong>, click&nbsp;<strong>Shipping Methods.<\/strong><\/li>\n\n\n\n<li>Expand the&nbsp;<strong>UPS<\/strong>&nbsp;tab.<\/li>\n\n\n\n<li>In the&nbsp;<strong>Gateway URL<\/strong>&nbsp;option,&nbsp;<strong>change the URL<\/strong>&nbsp;from http:\/\/www.ups.com\/using\/services\/rave\/qcostcgi.cgi to&nbsp;<strong>https:\/\/www.ups.com\/using\/services\/rave\/qcostcgi.cgi<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2019\/01\/UPS-Magento-2-Issue-Solution-1024x487.png\" alt=\"UPS Magento 2 Issue Solution\" class=\"wp-image-4068\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Follow the video solution to fix&nbsp;UPS Shipping Method Unavailable issue in Magento 2:<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Solved: UPS Shipping Not Working in Magento 2\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/f8p_ccVHrZ8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In default Magento 1.x or Magento 2.x,&nbsp;&nbsp;the UPS gateway URL uses the \u201c<strong>http<\/strong>\u201d protocol, but now one must use the \u201c<strong>https<\/strong>\u201d protocol to avoid any error.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, the store owners using the UPS XML Rating API are not impacted by this change.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank You.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-291","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=291"}],"version-history":[{"count":3,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/291\/revisions"}],"predecessor-version":[{"id":15529,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/291\/revisions\/15529"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}