Fedex Shipping in Magento 1.6

Posted by: Karen Thursday, August 25th, 2011

What’s Going On Then?

Magento have implemented Fedex Web Services in the 1.6 release. Up until this release they were using the  Fedex ‘DC’ API which is due to be retired in early 2012.  So what’s the impact on you?

  1. You can’t just put in your Fedex number and get rates
  2. You may need to install Soap on your web server to use Fedex
  3. You may be forced to run tests on the Fedex ‘test’ environment before you can get access to the ‘live’ Fedex rates
  4. It’s no longer possible to display Home and Ground rates simultaneously. This is not supported by the Web Services API
  5. Not on 1.6? You could find you need to patch your site early 2012
  6. In the Magento Fedex configuration you are now asked for an Account Id, Meter Number, Key, and Password.  All of these are required to retrieve rates

Installing SOAP

SOAP is a protocol used by web services to communicate. It runs over http and in this instance is used as the communication mechanism between Magento and Fedex.

SOAP is often installed on a web server by default, if in doubt ask your hosting provider.  I wrote a blog around installation for those doing themselves.

How do I get a Fedex Web Service Login?

  1. Sign up at the Fedex Developer Resource Center – this will give you a account id and meter number
  2. Obtain a Developer Account Number,Test Key, Meter Number
  3.  You will be emailed a Test Password to use

Okay, let’s Get Rates!

  1. Open Magento Admin Fedex Shipping Methods
  2. Enter Account ID, Meter Number, Key and Password
  3. Set Sandbox Mode to Yes
  4. Decide whether to show Residential or Commercial Rates
  5. Configure rest of settings as desired
  6. Go get rates and test
  7. Once you have completed testing then you can go get your Production Login, test and go live

What Else?

Being constrained to only show residential or commercial rates can cause problems. Residential rates tend to be more expensive, so you may lose sales if you set to this. Plus showing Home Delivery is not great when dealing with commercial customers, they may get confused.

How Can WebShopApps Help?

We offer a couple of extensions in this space which can assist you with your Fedex rate management.

The Residential Selector extension will show a residential/commercial dropdown on the cart shipping quote and during account/address setup, thus allowing your customers to select their address type.

Our USA Dimensional Shipping extension which has been around since 2010 is a mature intelligent implementation of Fedex WebServices. Amongst other things it supports:

  • Dimensional Weight
  • Packaging awkward sized items separately
  • Displaying Home Delivery as Ground

Both extensions also have our fantastic logging capability which allows you to see whats going on under the hood. So if you get no rates back from Fedex you can see why, and not just see the evil red error message!

6 Responses to “Fedex Shipping in Magento 1.6”

  1. Ben says:

    As always the WebShopApps team are leading the curve and informing the masses. Bookmarking for client use :-)

    Ben / Blue Acorn

  2. Phil says:

    It appears the 1.6 integration will only support 8.5×11 1/2 page laser labels (no thermal for serious shippers). We have yet to get it working, the error always returns “Recipient Postal-State Mismatch” no matter what valid address is submitted. FedEX support is telling us that the, now hard-coded, gateway URL’s may not be correct causing this problem. We are going to abandon trying to get it working and continue with a 3rd party shipping addon as in 1.5.

  3. Doug says:

    Sorry to ask a random question here, but really need help – I am using Magento 1.5 Community, and have UPS and Fedex accounts, when setup in Magento I am seeing negotiated rates instead of published rates. I have looked everywhere and cannot find the solution. Please help if you can.

  4. Nice article. Looks like we’re going to be doing a TON of upgrading for clients very soon :)

  5. Jarod Clark says:

    Hey Karen,
    Thank you for the advanced warning, and the two solutions presented. We have had the opportunity to work with both modules.

    Jarod Clark
    Unleaded Group

  6. Rory says:

    Thanks for the tip – you saved me a lot of time figuring out why my FedEx rates weren’t showing up.

Leave a Reply