How to Configure UPS Carrier in Magento 2

Drive 20-40% of your revenue with
email, SMS marketing
avada email marketing

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

Thus, what credentials you need to connect your Magento 2 store to the UPS server. Let check it out in this post. Also, we will guide you in details about other methods in the next topics, including USPS, FedEx, and DHL.

Configure UPS Carrier in Magento 2

Step 1: Create a UPS Shipping account

Must create a UPS Shipping account firsly before cofiguring 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 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 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 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 a 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.

Related topics

Increase sales,
not your workload

Simple, powerful tools to grow your business. Easy to use, quick to master and all at an affordable price.

Get Started
avada marketing automation

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