Magento 2 UPS Shipping Not Working? Here’s the Fix After UPS Legacy API Changes

In June 2024, UPS introduced a new OAuth 2.0-secured REST API and permanently shut down their old SOAP/XML APIs. For numerous Magento 2 stores that depended on outdated UPS integrations, this disrupted shipping rate retrieval.

UPS has transitioned to a modern security standard, and the older SOAP-based APIs previously used in Magento’s native integration are now obsolete. As a result, shipping rate retrieval fails entirely unless your store is updated to support the new protocol.

Magento’s Official Announcement and Patch for Older Versions

The problem caused by UPS discontinuing its old SOAP-based APIs in favor of a RESTful, OAuth 2.0-secured interface has been formally acknowledged by Adobe Commerce.

Adobe has published a quality patch to switch the native UPS delivery mechanism from SOAP to REST for merchants using Magento versions 2.4.4 through 2.4.6. With this patch, rate computations on the storefront can once again function, and compatibility with the new UPS authentication criteria is guaranteed.

🔗 Official Adobe Patch and Announcement:

How to Fix the UPS Shipping Method in Magento 2

To resolve this issue, you need to update your Magento UPS integration to work with the REST API. Here are the exact steps:

Step 1: Install the UPS Patch for Magento 2 to migrate from SOAP to RESTful API

Download the patch using the link below, which allows you to choose REST API as UPS Type. Please read more using the link below for the Magento 2 UPS Patch.

https://experienceleague.adobe.com/en/docs/commerce-knowledge-base/kb/troubleshooting/known-issues-patches-attached/ups-shipping-method-integration-migration-from-soap-to-restful-api

Step 2: Set UPS Type to REST

Go to Magetno 2 Admin > STORES > Configuration > Sales > Shipping Methods > UPS
In the UPS Type dropdown, choose “United Parcel Service REST”.

Step 3: Use Correct API Credentials

Make an application on the UPS developer platform to acquire the credentials needed for OAuth 2.0 to activate the REST integration and receive the updated credentials. In the Commerce UPS Shipping setup, enter the updated login information as the username (Client ID) and password (Client Secret).

Also, ensure that the required “Subscription APIs” are enabled on your UPS account as shown below.

UPS Subscription APIs

Step 4: Insert the Correct REST Gateway URLs

Below is Gateway’s REST URL:
Production: https://onlinetools.ups.com/api/rating/
Sandbox: https://wwwcie.ups.com/api/rating/

Production Tracking REST URL:- https://onlinetools.ups.com/api/track/
Sandbox Tracking REST URL:- https://wwwcie.ups.com/api/track/

The screenshot below shows how to enter every value in the Magento 2 UPS Shipping Method.

Magento 2 UPS Configuration

The recent changes to UPS’s API infrastructure have made it essential for Magento 2 merchants to upgrade their shipping configuration to use the new RESTful API with OAuth 2.0 authentication. By applying the official Adobe patch (if you’re using an older version), updating your credentials, and reconfiguring your settings, you can restore UPS shipping rates and ensure smooth checkout experiences for your customers.

For a complete step-by-step guide on how to set up and configure the UPS shipping method in Magento 2, including enabling checkout, selecting the correct mode, and entering gateway and tracking URLs, refer to the official Magento documentation:
🔗 Magento 2 UPS Shipping Configuration Guide (Adobe Docs)

👉 You might also be interested in our separate post: Magento 2.4.6-p3 Checkout Issue: Registered Accounts Not Detected, covering a different Magento checkout issue.

Privacy Policy © 2024-2026 Dhairvi Solutions LLP. All Rights Reserved.