UPS Carrier — United Parcel Service — is a trusted and well-known service that offers international and domestic shipping services by air or land to more than 220 countries.
Correspondingly, except for other Magento 2 shipping methods, you should definitely check UPS as a delivery option for your customers. However, note that though UPS uses dimensional weight to determine shipping rates, Magento only used weight-based calculation.
Today, you're going to learn how to configure UPS carries in Magento step-by-step.
1. Create UPS Shipping Account
Navigate to UPS and sign up for an account if you haven't got one yet.
Next, you will have to find the Get Started with UPS link under the Customer Service, choose how often you want to ship, and open the payment account.
2. Enable UPS for Magento
- Go to Stores > Configuration > Sales > Delivery Methods and Enable UPS for Checkout.
- For United Parcel Service XML fill out the following:
- Enter the UPS credentials: Access License Number, User ID, and Password.
- Specify the Gateway XML URL required to send a request to an XML file.
- Select the Origin of Shipment.
- In case you have a special rate with UPS, enable the Enable Negotiated Rates option and specify the Shipper Number.
- Choose whether to Request Tax-Inclusive Rate when it's applicable.
Note: the standard United Parcel Service is to be deprecated soon, so, you'd better go with the United Parcel Service XML.
- Enable the Live Account option if you want to run UPS in production mode and offer it as a shipping option to your customers. If you just want to test it, disable the option.
- Set the Title of the UPS shipping method, as it should appear during checkout.
3. Complete the Container Description
- Select the Packages Request Type.
- Choose what packaging type to use for shipment in the Container field.
- Set the Weight Unit you use to measure product weight which depends on the country.
- Choose the Destination Type to either Residential (B2C) or Commercial (B2B).
- Enter the Maximum Package Weight and Minimum Package Weight.
- Set the Pickup Method.
4. Set Handling Fees
Note: handling fee is optional. It is the additional charge added to the UPS shipping cost.
- Choose how to Calculate Handling Fee.
- Select how to apply the handling fee by setting Handling Applied.
- Set the Handling Fee amount.
5. Configure Allowed Methods and Countries
- Choose all UPS shipping methods that will be available for your customers in Allowed Methods.
- Select the Method if you want to offer free shipping through UPS.
- Enable Free Shipping Threshold and enable the Free Shipping Amount Threshold option to specify the minimum order amount required to qualify for free shipping.
- Create or edit the Displayed Error Message that shows when UPS shipping is not available.
- Select whether you want to Ship to Applicable Countries or Specific. Choose the specific countries if applicable.
- Choose whether to Show Method if Not Applicable.
- Enable the Debug option to create a log file.
6. Set up Original Address for Shipping
Navigate to Stores > Configuration > Sales > Shipping Settings > Origin and fill out the corresponding fields:
- Country
- Region/State
- ZIP/Postal Code
- City
- Street Address
- Street Address Line 2
Once you finish configuring UPS in Magento 2, you will be able to provide your customers with a trusted and replicable carrier to deliver their goods.
If you like, you can go even further and set it as the default shipping method on checkout with the help of Better Magento 2 Checkout.