How to Set Up the FedEx Shipping Carrier in Magento® 2 Based Stores?

August 3, 2016 Written By Yogesh Trivedi

Talk to Experts Need expert help? Don’t hesitate to talk.

You can do direct email


We would love to hear about your Magento project, challenge, or opportunity. We'll respond within 24 hours!

How to Set Up the FedEx Shipping Carrier in Magento® 2 Based Stores?

We have discussed about the DHL carrier shipping in our last blog post. In that post you have learnt about the configuration steps of DHL carrier in your store developed in Magento® 2.

In the current blog, we will see how the FedEx carrier is configured in Magento® 2 based eCommerce stores.

The configuration of FedEx carrier is divided into five segments:

  1. Make a Merchant account in FedEx
  2. Enable FedEx from admin panel
  3. Configure the Packaging description
  4. Specify the handling fees
  5. Allocate the allowed shipping methods and applicable countries

Let us understand each segment of this configuration step by step:

Segment 1: Make a Merchant Account in FedEx

Before you enable the FedEx carrier as a shipping method in your Magento® 2 admin panel, you first need to create a Merchant account with the FedEx carrier services. You also need to register for FedEx Web Services Production Access.

For receiving the key which needs to be entered while enabling FedEx carrier, you have to complete the registration by clicking on “obtain production key” link given at the bottom of page for production account information.

Segment 2: Enable FedEx from Admin Panel  Enable FedEx form Admin Panel

  • Enabled for checkout: Select Yes to activate the FedEx carrier on the storefront.
  • Title: Give a name to the FedEx shipping method to be appear on checkout page.
  • Account details: Fill the details for Account ID, Meter number, Key and Password.
  • Sandbox Mode: Select No to run the FedEx in live environment
  • Web-Services URL: Keep the URL for FedEx web services

Segment 3: Configure the Packaging Description  Configure Packaging Description

  • Packages Request Type: Here you get to select one option from Divide to equal weight or Use Origin Weight.
    • Divide to Equal Weight: If the packages can be divided in equal weights, the request can be sent as one for the shipment of multiple packages.
    • Use Origin Weight: When the multiple packages shipment request is submitted as one.
  • Packaging: Here, you need to select the packaging type for the product shipment. You can select from FedEx Envelope, FedEx Pak, FedEx Box, FedEx Tube, FedEx 10kg box, FedEx 25kg box or your packaging.
  • Drop off: Select a method (Regular pickup, Request courier, Drop box, Business service center and Station) from the drop down for drop off shipments.
  • Weight Unit: Select a unit for weight from the option of Kgs or
  • Package Weight: You can fix the maximum allowed package weight from this field. The default maximum weight mentioned is 150lbs.

Segment 4: Specify the Handling Fees Specify Handing Fees

  • Calculate Handling Fee: Select a handling fee method from Fixed or Percent Method.
  • Handling Applied: Select how to apply the selected handling fee on shipping cost either on per order or per package.
  • Handling Fee: Put the amount of the fee after you have selected the handling fee method.
  • Residential Delivery: Choose Yes or No for residential deliveries to B2C or B2B respectively.

Segment 5: Allocate Allowed Shipping Methods and Applicable Countries  Allocate Allowed Shipping Methods

  • Allowed Methods: Choose the methods which you wish to offer to your customers, from the list.
  • Hub ID: You need to mention the Hub ID if you have selected the Smart Post method in the above field.
  • Free Method: The method selected in this field will be applicable for free shipping.
  • Free Shipping Amount Threshold: You can apply the free shipping method for the minimum amount mentioned in this field.
  • Displayed Error Message: Write the message which you wish should appear when any customer selected method is not applicable on that shipment or package.

Assigning the Applicable countries: Assigning Allowed Countries

  • Ship to Applicable Countries: Select any one option from All Allowed Countries or Specific Countries.
  • Ship to Specific Countries: When you select Specific Countries as applicable countries, you have to select the countries manually in this field.
  • Debug: Select yes for this field, you want to make a log file for FedEx carrier.
  • Show Method if Not Applicable: You can select yes to show this shipping method even if it is not applicable for the shipment.
  • Sort Order: Specify the order of the FedEx carrier shipping method on the Checkout page.

This was all about the configuration process for FedEx carrier in Magento® 2. In our next blog post, we will share the configuration steps for another major shipping carrier. So, keep reading!

Have you liked the configuration process for FedEx carrier? Do let us know. If you are facing any issue in any step while configuring in your store, please talk to our Magento Custom Shipping Expert. We will be happy to help you out!

Need Magento expert help?

We provide result-driven solutions to expand the competency level and productivity.

Instant Help CenterAvailable!

Monday to FridayResponse promised within 24 hours!

Call Us

+1 319 804-8627


  1. I always wanted to add this shipping option in website as it is most famous carrier shipping over the world. After reading the configuration steps through your blog, I feel confident about utilizing its benefits. Great piece of content!

    1. Thanks for your comment Alef. You are taking right decision. I think it will really beneficial for you.

Load Comments

Your email address will not be published. Required fields are marked *

5 4 3 2 1

  • Worried for deadlines? Our Magento Experts are effortlessly Working from Home.
  • Check out our Magento Developer Hiring Packages for Agency as well as individuals.
View Packages

Talk to Experts Need expert help? Don’t hesitate to talk.

You can do direct email


We would love to hear about your Magento project, challenge, or opportunity. We'll respond within 24 hours!

Please fill this form, Mr.Yogesh will reply by email asap.

Please fill this form, Mr.Darshit will reply by email asap.

Please fill this form, Mr.Jayesh will reply by email asap.

Please fill this form, Mr.Jiten will reply by email asap.