The Most Popular Extension Builder for Magento 2

With a big catalog of 224+ extensions for your online store

How to Configure UPS Carrier in Magento 2

Configuring United Parcel Service (UPS) Carrier will help you associate any addresses in the domestic event or international. The number of countries that UPS shipping method supports by land and air is greater than 220 countries, so it is flexible to deliver goods.

Choosing a shipping carrier like UPS for your business is one of the first steps to reach more customers from all over the world and optimize your delivery service. And because UPS is a well-known company with a tested operating system, it also makes customers trust your store more.

Check out this post to see what credentials you need to connect your Magento 2 store to the UPS server to correlate any address you want. Also, we will guide you in details about other methods in the next topics, including USPS, FedEx, and DHL.

Learn how to add a new carrier in Magento 2

5 Steps to Configure UPS Carrier in Magento 2

Step 1: Create a UPS Shipping account

Must create a UPS Shipping account firstly before configuring this shipping method.

Step 2: Apply UPS

  • On the Admin Panel, Stores > Settings > Configurations.
  • On the left panel, under Sales, select Shipping Method.
  • Open the UPS section
    • Accept to enable UPS method by choosing Yes in the Enabled for Checkout field.
    • If you set the UPS Type to “United Parcel Service”, you need to continue:
      • In the Live Account field, choose one of the options:
        • “Yes” - if you want to run UPS in production mode and suggest the UPS as a shipping method for your customers.
        • “No” - if you want UPS to run in only tet mode.
      • Enter Gateway URL to calculate the UPS shipping rate. The default is ready to use, and doesn’t need to change.
    • If you set the UPS Type to “United Parcel Service XML”

    • To configure shipping labels, UPS Type must be set to “United Parcel XML”.

      • Complete UPS XML account information: Access License Number, Password, and User ID.
      • Allow sending data to the UPS shipping system by setting Live for the Mode.
      • Verify the Gateway XML URL if you want to send requests by XML file.
      • Choose the Origin of the Shipment that is the region the shipment initiates.
      • Choose Yes for Enable Negotiated Rates if you create special rates with UPS. Then it is required to enter 6-character in the Shipper Number field.
  • Enter the Title for the name of the shipping method that is shown during the checkout process. If it’s omitted, the default title - “United Parcel Service” is enabled.

How to Configure UPS Carrier Enable UPS

Step 3: Setup the Container Description

  • Choose the Packages Request Type: “Use origin weight (few requests)” or “Divide to equal weight (one request)”
  • Set the Container to the typical packaging type for the shipment.
  • Set the Weight Unit to “LBS” or “KGS”.
  • Select the Destination Type:
    • “Residential” - Most of your shipments are business to consumer (B2C)
    • “Commercial” - Most of your shipments are business to business (B2B)
  • Insert the number of the Maximum Package Weight in the carrier.
  • Set the Pick Method to the available options: “Regular Daily Pickup”, “On Call Air”, “One Time Pickup”, “Letter Center”, and “Customer Counter”.
  • Insert the number of the Minimum Package Weight in the carrier.

How to Configure UPS Carrier Container Description

Step 4: Setup Handling Fees

  • Set Calculate Handling Fee to “Fixed” or “Percent”.
  • In the Handling Applied field, allow specifying how to calculate the handling fee.
  • Insert the amount of Handling Fee.

How to Configure UPS Carrier Setup Handling Fee

Step 5: Assign Allowed Methods and Applicable Countries

  • Choose the UPS method offered to your customers from the Allowed Method list.
  • In the Free Method field, select the UPS service you want to apply free shipping for.
  • Enter an error message in the Displayed Error Message box that will appear if UPS Shipping is not available.

How to Configure UPS Carrier Allowed Methods

  • Set Ship to Applicable Countries to one of two options:
    • All Allowed Countries : UPS Shipping is supported for every country.
    • Specific Countries: UPS Shipping is only supported for selected countries.
  • Set Show Method if Not Applicable to Yes if you want to show UPS Shipping all time.

How to Configure UPS Carrier Applicable Countries

  • To create a log file with the details of UPS shipments, set Debug to “Yes”.
  • Set the Sort Order on the Shipping Method on the checkout page.

How to Configure UPS Carrier Debug and Sort Order

  • Save Config to finish.

Final words

UPS Carrier in Magento 2, together with USPS, FedEx, and DHL, are common choices of stores when it comes to shipping carriers, due to their popularity and wide delivery networks. If you want to attract new customers and expand your business with a professional image, consider these carriers. If you have any queries, don’t hesitate reaching out to us in the comment section.

Explore Mageplaza Shipping Suite

Related topics

Image Description
Hello, I'm the Chief Technology Officer of Mageplaza, and I am thrilled to share my story with you. My deep love and passion for technology have fueled my journey as a professional coder and an ultra-marathon runner. Over the past decade, I have accumulated extensive experience and honed my expertise in PHP development.

Looking for
Customization & Development Services?

8+ years of experiences in e-commerce & Magento has prepared us for any challenges, so that we can lead you to your success.

Get free consultant
development service

    Explore Our Products:

    People also searched for


    Stay in the know

    Get special offers on the latest news from Mageplaza.

    Earn $10 in reward now!

    Earn $10 in reward now!

    go up