Important

You are browsing the documentation for version 3.1 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Read version 5.1 (the latest LTS version) of the Oro documentation to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

Available in OroCommerce

Configure FedEx Shipping Integration in the Back-Office

Hint

This section is a part of the Shipping Configuration topic that provides a general understanding of the shipping concept in OroCommerce.

FedEx is the largest multinational delivery service company that provides a variety of shipping methods solutions, both ground and airfreight, day and overnight, to meet the customers’ requirements.

This section describes the steps that are necessary to expose FedEx as a shipping method in OroCommerce orders and quotes.

Note

See a short demo on how to set up a shipping integration in OroCommerce or keep reading the step-by-step guidance below.

Prepare for Integration

Before adding FedEx as a shipping method in OroCommerce, you need to create a FedEx business account and obtain a dedicated shipping account number and a meter number via the official FedEx website.

Create a FedEx Business Account

To register a business account and enable a checkout shipping integration with OroCommerce, follow the next steps:

  1. Navigate to the FedEx login page.

  2. Click Sign In and then Create Account.

    ../../../../../../_images/fedex_login_page.png
  3. Click Business account benefits to check out the rewarded benefits for your business and proceed to a business account creation.

    ../../../../../../_images/fedex_business_account.png
  4. Click Open a business account to complete the registration in several steps.

  5. Fill in the registration form with your personal contact information and a credit card number. Agree to the terms and conditions and check the benefits you can get at the final step.

    ../../../../../../_images/fedex_account_registration.png

Obtain a Set of Testing Credentials

Once the registration is complete, you can now obtain the necessary test keys to set up the integration between FedEx and OroCommerce and make sure the integration is working properly.

  1. Navigate to the FedEx Web Services page.

  2. Complete the four steps required by FedEx to test the integration:

    • Read the documentation.

    • Request the testing credentials and test the integration.

    • Certify the OroCommerce application with FedEx.

    • Receive new production credentials to replace your current test ones and move to production.

    ../../../../../../_images/fedex_4_steps.png
  3. Click Move to development and then Get your test key.

  4. Confirm your contact information and accept the FedEx license to complete the registration process.

  5. Receive an email with the corresponding test credentials:

    • Key

    • Password

    • Account ID

    • Meter Number

Configure a FedEx Integration in OroCommerce

To enable the integration with FedEx in order to request the shipping cost estimation and/or request the shipping services:

  1. Navigate System > Integrations > Manage Integrations in the main menu.

  2. Click Create Integration.

  3. On the Create Integration page, select FedEx for Type.

    ../../../../../../_images/fedex_create_integration.png
  4. Type in the Common Integration Details:

    • Name – the shipping method name that is shown as an option for shipping configuration in the OroCommerce back-office.

    • Label – the shipping method name/label that is shown as a shipping option for the buyer in the OroCommerce storefront during the checkout.

Click the Translations icon to provide spelling for different languages. Click the Default Language icon to return to the single-language view.

  1. Set the Test Mode check box into the necessary state. Enable it if you are using the test FedEx access key and disable for the production access.

    Note

    For security reasons, it is critically important to use the mode that matches your environment and the FedEx access key type.

    Warning

    Never use the FedEx access key that is dedicated for the production environment in your sandbox/test OroCommerce environment.

    Never enable Test Mode for the FedEx integration on your production instance of OroCommerce.

  2. Provide the connection credentials which you have received from FedEx:

    • User Credential Key - is the authentication key provided by FedEx and used for accessing your FedEx account.

    • User Credential Password - is the production password provided by FedEx.

    • Shipping Account Number - is the account ID provided by FedEx.

    • Meter Number - is the meter number provided by FedEx.

  3. Select the available pickup type that applies to the deliveries for the shipping methods via this integration:

    • Regular Pickup - enables you to schedule a regular delivery pickup if you deal with a large volume of shipments.

    • Request Courier - with this type selected, you can request a FedEx courier to come and pick up the shipments.

    • Drop Box - requires you to deliver the shipments to your closest FedEx drop box.

    • Business Service Center - requires you to deliver the shipments to your local FedEx business service center.

    • Station - requires you to deliver the shipments to your local FedEx station.

  4. Select a unit of weight to use for the shipping price calculation: a pound or kilogram.

    Note

    The unit of weight should match the options supported by your FedEx account.

  5. Select the FedEx shipping services that are supported in the OroCommerce shipping options. Hold the CTRL key to select/deselect multiple options.

  6. Click Check FedEx Connection to ensure FedEx API is accessible.

  7. Set the status to Active to enable the integration.

  8. The Default Owner field is prepopulated with the user creating the integration. You can change this value to a different user, if necessary.

  9. Click Save and Close.

Next, set up a shipping rule via the Shipping Rules Configuration page to enable this shipping method for all or some customer orders.

Once the shipping method is added to the shipping rule, provide the information that configures the shipping fee components and the method to calculate it following the Configure a Shipping Method in a Shipping Rule topic.

Obtain a Set of Production Credentials

Once you have successfully configured the OroCommerce FedEx integration, and the connection to the test environment is working properly, you can move to a production stage and request a new set of credentials.

  1. Navigate to the FedEx Web Services page.

  2. Click the Move to production link and then Get Production Key to load another registration form page.

  3. Complete the form and accept the agreement to continue.

    ../../../../../../_images/fedex_production_key.png
  4. Receive an email with the corresponding production keys from FedEx.

  5. Follow the steps described in the aforementioned Configure a FedEx Integration in OroCommerce section to set up the production integration between FedEx and OroCommerce.

    Important

    Make sure that the Test Mode check box is NOT selected as you are configuring the production integration.

Related Topics