Dr Cart Shipping Rates & Rules

How to Set Up Fedex Rates in Shopify Advanced Shipping Calculator?

GENERAL

How to Set Up Fedex Rates in Shopify Advanced Shipping Calculator?

If you set the estimated delivery dates and added description, make sure you have Show Shipping Rate ETA (days) and Show Shipping Rate Description enabled under Cart Summary.Dr Cart Shipping Rates & Rules not only allows you to create fully customizable shipping rules from tiered-based rates to location-based rates tailored to your unique business needs, it also seamlessly integrates leading carriers such as Fedex, USPS, UPS, DHL Express and more. This means you can offer your customers real-time and competitive shipping options at cart or checkout, improving their experience while ensuring you stay profitable. In this section you will learn how to integrate Fedex to Dr Cart Shipping Rates & Rules to display Fedex rates to your customers. To check out instructions on how to integrate other carriers with our app, click the carrier listed below:

Requirements to Integrate Fedex

Before we begin, you need to have the following:

  • a Fedex account (number)
  • API Key
  • Secret Key
How to Get a Fedex Account

If you don’t have a Fedex account yet, go to www.fedex.com and click the “Sign Up or Log In” link. You will then have to fill out the form and complete the steps to create an account.

Set Up Fedex Rates
How to Get the API Key and Secret Key

Once you have your account created, the next step is to get the API Key and Secret Key. To do this you need to go to https://developer.fedex.com. If you are not logged in yet, click the “Log In” button and log in using the same credentials you used to create your Fedex account.

Set Up Fedex Rates

Once logged in, you will need to Create your organization. Select “Ships with Fedex and needs to integrate Fedex APIs into their system” under I work for a company that, then fill out the rest of the form with your applicable business details and click the Create button.

Set Up Fedex Rates

Once you have your organization created, go to “Manage Organization” on the left side of the page, click the “Shipping Accounts” tab and click the “Add Account” button.

Set Up Fedex Rates

Fill out the form to add your shipping account, then click the “Next” button.

Set Up Fedex Rates

On the next page, put a checkmark on “I have read…” and click the “Add Account” button.

Set Up Fedex Rates

Now that you have your shipping account, the next step is to create the API.

Set Up Fedex Rates

To do that, go to the “My Projects” page and click on “Create Project”.

Set Up Fedex Rates

Under “I work for a company that”, select “Ships with Fedex and is using a third-party software solution that has requested API keys” and click the Next button.

Set Up Fedex Rates

Then on the next page, enter the information below and click “Continue”

THIRD-PARTY COMPANY: Shop Doctors

THIRD-PARTY PRODUCT: Dr Cart Shipping Rates & Rules

THIRD-PARTY PRODUCT WEBSITE: https://apps.shopify.com/cart-shipping-calculator-pro

Set Up Fedex Rates

Then click the “Select” button under “Ship, Rate & other APIs”.

Set Up Fedex Rates

After that, you will be presented with several APIs, look for the “Rates & Transit Times API” and select it then click the “Next” button.

Set Up Fedex Rates

On the next page, select the country that you’re shipping from and hit the “Next” button.

Set Up Fedex Rates

On the next page, put a checkmark on both selections and click the “Create” button.

Set Up Fedex Rates

Once that’s done, you will be redirected to the page below.

Set Up Fedex Rates

We need to create the Product Key, so click the “Production Key” tab on the page. Enter “API Key for Dr Cart Shipping Rates & Rules” under Key name, select your account and click the “Next” button.

Set Up Fedex Rates

You will be presented with your API Key and Secret Key which you will use to integrate to our app.

Set Up Fedex Rates

How to Integrate Fedex account to our App?

Under Advanced Shipping Calculator homepage, click the “Advanced Shipping Settings” button.

Set Up Fedex Rates

Scroll down to the Carrier Service Setup section and click the + icon to expand the section for Fedex.

Set Up Fedex Rates

Copy the API Key from Fedex and paste it in the API Key field. Then copy and paste the Secret Key in the Secret Key field. Enter your Fedex account under the Account Number field. Lastly, click the “Verify API” button after. If the integration is successful, you will get a message confirming that the validation is successful. You will also see “Active” under “Integration Status”.

Set Up Fedex Rates

If the validation fails, you will see an “Authorization failed” message. Make sure you have followed the steps to get your API Key/Key and you have entered them correctly.

Set Up Fedex Rates

Create Fedex Shipping Rule

The first step is to create a shipping rule in the shipping zone or destination in which you want to set up a carrier rate. In this example, we want to set up Fedex carrier rates for US customers. So I head to my US shipping zone and click on the “Add Shipping Rule” button.

Shipping Rule General Section

Next, assign a shipping rate name for this rate. Note that for third-party carrier rates such as Fedex, USPS, UPS and others, we will display the carrier’s service rate name to the customers instead of the assigned shipping rate name in the shipping rule. For this example, I will name the shipping rule Fedex. Then fill out the rest of the General section such as the status, internal notes and unit/currency selection. For example, if you will be using cart total weight as your condition and you want to use kg, then you can change the unit under Unit Weight Selected. Or if you are configuring a shipping rule for Europe and you want to enter the amounts in Euro currency, then you can change it in the Currency field. To know more, you can check out our Anatomy of Shipping Rules and Rates article.

Under the General section, you will see the section to set estimated delivery business days and description. You can skip these fields since there is a separate field for setting estimated delivery business days for carrier integration.

Set Up Fedex Rates
Shipping Rule Location Section

The next section is the Location. Here, you can include or exclude specific countries, states, regions, or postal/zip codes. For now, we’ll include All in this shipping rule.

Set Up Fedex Rates
Shipping Rule Conditions Section

Next, you need to set your Conditions. Conditions will determine whether the shipping rule will be displayed to the customer on the cart or checkout page. You can choose to have 1 condition only, or you can add multiple conditions.

To keep it simple, we’ll set the Fedex carrier rates to appear when a customer’s cart total before shipping is greater than or equal to $50.

Set Up Fedex Rates
Shipping Rule Shipping Rate Section

Then, in the shipping rate calculation section, under Select Rate Type, choose Fedex .

Set Up Fedex Rates

Under “Services by Carrier, select one of the options below. Depending on the number of services you include in your configuration (Fedex Ground, Fedex Next 2Day, Fedex SameDay etc.), you can either opt to show all those services to customers, or show only the highest or the lowest rate.

Set Up Fedex Rates

Next, select the list of services you want included under Domestic & International Services. In this example, I will only select Fedex Ground, Fedex Next 2Day, Fedex SameDay.

Set Up Fedex Rates

Optionally, you can also set the estimated delivery days and description for each service by clicking the “Set Estimated Delivery Days & Description” button.

Set Up Fedex Rates

Next you can choose to include add-ons such as insurance or signature-required delivery.
If you select “Enable Insurance Based on Product Price”, this means that we will request the rates that the carriers will return to include insurance cost already. Note that some carriers offer insurance up to a certain order value amount and will only bill additional insurance if that amount is exceeded.

If you select “Enable Signature Requirement For Delivery”, this means that we will request the rates that the carriers will return to include signature on delivery cost.

You also have the option to append additional text to let your customers know if the shipping rate includes insurance/signature-required delivery or not. For example, if you add “ with insurance & required signature delivery” under Insurance & Signature Text field, if the carrier returned the rate for Fedex Ground that includes insurance and signature-delivery required, we will display it to your customers as “Fedex Ground with insurance & required signature delivery” instead of just “Fedex Ground”.

Set Up Fedex Rates

Next, if you want to charge a handling fee, you can do so as a Fixed Amount or Percentage. If you choose Percentage as the Value Format, that means that we will add an x% of the returned rate by the carrier. For example, if you set 5% as the handling fee, if the carrier returned a rate of $20, we will add 5% of the $20 as the handling fee ($1), so the shipping rate that will be displayed to the customer is $21 ($20 carrier rate + $1 handling fee).

Set Up Fedex Rates
Packing Method

The next step is to select your Packing Method. There are 2 methods to choose from:

1. Pack all items in one box/package

2. Pack by cart attributes.

Pack all items in one box/package

As the name suggests, Pack all items in one box/package will pack all items in the order/cart into one box. If you select this option, you will have to provide your box dimensions, and you have the option to set an empty box weight.

Set Up Fedex Rates
Pack by cart attributes

If you select Pack by cart attributes, you can choose how the app will decide to pack the items in the cart either by Cart Quantity, Cart Total, Cart Weight or Cart Volume.

Set Up Fedex Rates

Cart Quantity will find the most optimal box to package the order into based on the customer’s cart quantity.

Let’s take an example where you have a box with max quantity limit of 2, another with max limit of 5 and another with max quantity of 10

If a customer’s cart has 2-quantity, then we will provide the box size (8x4x4) with the max of 2-items limit to Fedex.

If a customer’s cart has 4-quantities, then we will provide the 8x6x4 box size to Fedex since it has a max limit of 5.

If a customer’s cart has 11-quantities, this will result in 2 packages/box sizes (8x8x4 and 8x4x4) that will be sent to Fedex.

Set Up Fedex Rates

Cart Total functions the same way as Cart Quantity except that we will base it on the cart’s dollar amount and not quantity. Note that Cart Total is before shipping/taxes and any discounts applied.

For example, you have a box with max total limit of $75, another with max limit of $150 and another with max total limit of $300.

If a customer’s cart total is $50, then we will provide the box size (8x4x4) to Fedex.

If a customer’s cart total is $200, then we will provide the 8x8x4 box size to Fedex.

If a customer’s cart total is $400, this will result in 2 packages/box sizes (8x6x4 and 8x8x4) that will be sent to Fedex.

Set Up Fedex Rates

Cart Weight functions the same way as Cart Quantity except that we will base it on the cart’s dollar amount and not quantity. Note that Cart Total is before shipping/taxes and any discounts applied.

Cart Volume on the other hand, uses an algorithm to pack items based on volume. At a high level, the algorithm works by:

  • Packing largest (by volume) items first
  • Packing vertically up the side of the box
  • Packing side-by-side where item under consideration fits alongside the previous item
  • If more than 1 box is needed to accommodate all of the items, then aim for boxes of roughly equal weight (e.g. 3 medium size/weight boxes are better than 1 small light box and 2 that are large and heavy)

For Cart Volume, you have the option to reduce the size of the box for padding. In this sample screenshot, we will reduce 0.2 inches on each side (length, width, height) of the box for padding when packing the items.

 

Set Up Fedex Rates

After configuring your Packing Method, you can optionally configure a Carrier Backup Rate. In cases where the carrier did not return any rate due to some errors like an outage on the carrier’s end, we will display this backup rate to the customer instead.

Set Up Fedex Rates
Shipping Rule Merge Tag

Merging rates are not available in carrier-configured shipping rules. This is because a carrier-configured shipping rule can return two or more rates unlike a tier-based or incremental rate shipping rules which always return just one rate.

Shipping Rule Additional Features

The last section is the Additional Features where you can select to apply this rule to ALL or specific Ship From Locations only. You can also schedule the start and/or end time of your shipping rule.

Set Up Fedex Rates

Once you’re done configuring your shipping rule, click the “Save” button located on the right upper part of the page.

Set Up Fedex Rates

Important Things to Remember

  • When creating carrier rates shipping rules, make sure you have added weights and dimensions on each of your products. For instructions on how to add product dimensions, you can refer to our How to add product dimensions (manual and using import tool) article.

  • If you set the estimated delivery dates and added description, make sure you have Show Shipping Rate ETA (days) and Show Shipping Rate Description enabled under Cart Summary.
Set Up Fedex Rates