How to set FedEx shipping in Magento

This is guide about setting FedEx shipping method in Magento.
Step 1. Go to: Fedex Developer Resource Center and create developer’s account.
Step 2. When you create developer’s account go to Developer Resource Center and click on top navigation FedeEx Web Services -> FedeEx Web Services for Shipping.
Now, you will see the link Develop & Test Your Application (about testing, obtain developer test key) click on it. Then you only have to send request for test environment, you can see the link “Obtain Developer Test Key” click on it and fill the form. After sending form with data, you will receive email message from FedEx with all required data for testing FedEx shipping method.
In this email message you will get: Test Account Number:xxxxxxxxx (for FedEx Web Services for Shipping only) and you have to insert this number in field Account ID in FedEx config section, take a look at below image.
Step 3. When you’re almost ready to launch:
After you’ve successfully tested your application and are ready to go into production, go to the FedEx Developer Resource Center to obtain your Production key.
92 comments
Hello,
My FedEx Rate API working and showing rate to the customer. In the part creating a shipping label, I am getting an error like “Authentication Failed”. How can i create FedEx Shipping API?
Note: My FedEx Rate API Working Good.
FedEx requires you to submit test labels for evaluation prior to shifting your label traffic from the test server to the production server. You get that error because the permissions of your authentication key have not been set by FedEx for production labels. You have to call the FedEx Tech Support Hotline and tell them you want to submit test labels so you can move to production. They will email you a coversheet and the instructions for submitting the test labels. 877 339 2774 at the voice prompt say “Web Services”
In FedEx tracking portal i have
“shipping label has been created. the status will be updated when shipment begins to travel” status. Even though shipment date expires status not changed and Shipment not created… Why??
Correction to last post
Magento ver. 1.9.2.1
I’m using Magento 1.9.4.2.
The site is linked to our FedEx account.
Up to about 5 or 6 boxes… FedEx results are correct to the Penny.
As soon as we cross into 7 boxes + the site does NOT display the FedEx Multiweight results (as it should), but instead calculates the dimensional weight of every box and adds it up (from 1 box to 9999 boxes)
FedEx Tech Support claim they can see the multiweight results being calculated in the back-end, but Magento is displaying something completely different (mostly too high) on the front-end.
Anyone can recommend a solution?
Best wishes to all
Ben
I am using magento version 1.9.2.4 when i see error log i am getting this error,if magento provide fedex module by default then i think solutions is also present but still not found solutions,i properly enter the details of fedex like account id,meter number,key and password
[result] => stdClass Object
(
[HighestSeverity] => ERROR
[Notifications] => stdClass Object
(
[Severity] => ERROR
[Source] => prof
[Code] => 1000
[Message] => Authentication Failed
)
[Version] => stdClass Object
(
[ServiceId] => crs
[Major] => 10
[Intermediate] => 0
[Minor] => 0
)
)
[__pid] => 1308
)
Hello Guys, Please any body can help me into this… Thank you
Hi,
you could solve it?
[Severity] => ERROR
[Source] => prof
[Code] => 1000
[Message] => Authentication Failed)
please indicate me how
Thank you
Hello,
How can i get Shipping Price based on weight for multiple services at the page of checkout of my website when customer go to purchase the products. I am using Magento, and my requirements are https://snag.gy/CnJ8BA.jpg
How can i solve the configuration Process.
Thank You.
My magento Fedex control panel completely different, lokk like : https://snag.gy/Ur28DB.jpg how can i solve the error.
so how can i create shipping label from magento admin panel?
hi i have integrate fedex shipping in magento ver 1.9.1.0 , But when i ship the order from admin panel “create shipping label” check box not showing me.
When I enter the fedex test account details in magento backend,it shows an error message in checkout page when selecting national shipment(India)and its workinf fine for international shipment USA etc
.When I check the error log for fedex it shows the error
[Message] => The PurposeOfShipmentType is null, empty or invalid.
[LocalizedMessage] => The PurposeOfShipmentType is null, empty or invalid.”.
kindly help to fix this issue.
Where i had to give
“PurposeOfShipmentType” in which file?
I am using magento version 1.9.2.4 when i see error log i am getting this error,if magento provide fedex module by default then i think solutions is also present but still not found solutions,i properly enter the details of fedex like account id,meter number,key and password
[result] => stdClass Object
(
[HighestSeverity] => ERROR
[Notifications] => stdClass Object
(
[Severity] => ERROR
[Source] => prof
[Code] => 1000
[Message] => Authentication Failed
)
[Version] => stdClass Object
(
[ServiceId] => crs
[Major] => 10
[Intermediate] => 0
[Minor] => 0
)
)
[__pid] => 1308
)
Hi Bro, Is it solve your problem ?
Hello @Sumeet, @Jeeva Rathinam ,
did you solved this issue ?
I am also getting same issue.
Please reply thank you
hi, i have been able to use fedex in india, however there is a need to apend the Carrier.php file in mangento 2.0
1. magento Root directory/vendor/magento/module-fedex/Model
2. apend Carrier.php file at line no 410.
and do the following
a. search for ‘CustomsClearanceDetail’ => [
b. add the following in below the lines
‘CommercialInvoice’ => array (
‘Purpose’ => “SOLD”
),
this worked out for me at staging.readers.in
thanks
Hi can you please send me this to me . I suffering same problem with india . please help me
Hi,
But if I add this code, then while adding products in shipment it shows ‘Customs Clearance Detail is required’ error, what should be done to this? Please reply asap.
Thank you
Hii, I have doubts in setup of shipping rate ..How do we set shipping rate??
You are expecting shipping rates to come from Fedex right?
In which form FedEx and other shipping methods return Shipping label? In html form, Image, some string or pdf?
I got the response for shipping label request in HTML from my custom shipping carrier. What should I do to proceed.
Thanks
I want to integrate FedEx shipping method in magento website for Domestic India. So please let me know what steps i will have to follow.
Hi Darsan ,
Have you received any information about plug in , we are also facing same issue for our India website let me know you if you have any solution .
Thanks
Raja Sharma
Hi did you get any extension from magento . Please also help me . I am facing same issue with india . Please assist me if you can .
Our extension supports all countries and all versions of Magento.
Print shipping labels
Print an official label, with bar-code, generated by FedEx.com webservice.. 3 simple steps. See attached screenshots
Package tracking
Track shipments on demand reference number or by event based tracking.
Schedule Pickups
** New – When printing shipping labels you can specify your shipping origin and schedule for FedEx pickups.
Thermal Printers
** New – choose Stock Type / Label size when generating label
Address Verification
Perform detailed address validation by utilizing FedEx webservice
Return Labels
Commercial Invoices for Customs
Upgraded to use latest FedEx webservices API, and offer custom add-ons to meet your exact business requirements.
Please send me fedex india plugin rates and features
I can able to retrieve FedEx Shipping Method only when user logged in, For new User i can not able to get Shipping Method.
FED EX rates are using the Discount rates provided by Fed instead of the Published rates show on the FED EX web site. Once we have integrated withour Magento Web site I do not see and selection that asks if we want to use Discount rates or published rates?
Is by design, if so then i would have to request a standard type of account from FED EX so that it would use the published rates? Unless you have some other type of solution?
i am integrating fedex .i have set all the setting but it will showing me error like this “This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.”
Please help me where i am going wrong
Hi
Please would like to know how could i set up Fedex in magento 1.9.2
I have al ready an account with Fedex , have all about my account but i do not know how to.
Even my collegue who is a web develo^pper said to me , he do not know where to put the code in magento.
So thanks in advance of your help
Regards
YK
Hi, I am new to Magento. I followed the above steps, created account on Fedex developer section and added appropriate details in my Magento admin panel. After that what i need to do? Is it required further any third party extension to work. How to generate the quotes? And where i can the status of the shipping? Please tell the whole integration process.
I have integrated Fedex Shipping using the information given above but still i am getting the error like
“Federal Express:
This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us. “. Please, if any one can help me out in this issue.
Thanks in Advance 🙂 😛
Hi Ravi, Are you able to integrate Fedex in your Magento site? Please reply me the steps and whole process. Thank you in advance.
have u fixed error. kindly tell me i have same issue in my portal
Here a great extension if you want the latest features of FedEx webservices:
http://www.cobbconsulting.net/magento-fedex-extension.html
It supports all versions of Magento. Here is a user guide for setting up generic Magento for FedEx:
http://www.cobbconsulting.net/magento-fedex-setup.html
A couple of questions… Does that extension offer Hold at Location? Does it offer Returns? Does it use the latest V4 Address Validation WSDL?
I am using FEDEX for my country INDIA but when I add all credentials and test the order it is showing Sorry, no quotes are available for this order at this time.
What is the issue behind this?
Thanks,
Hi Dwaipayan ,
Let me know you issue is resolved or not ,we are facing same issue ,please share the detail if you successfully done it .
Thanks
Raja Sharma
This method works in other countries besides the USA?
it works in all countries. just a comment, for soap url check https://gateway.fedex.com:443/web-services/ , for xml https://gateway.fedex.com/xml. in testing environment -> https://gatewaybeta.fedex.com/
more info at http://www.fedex.com/us/developer/
brgds!
When your fedex is not visible on magento frontend. Please check your account details on admin side.