Link to home
Start Free TrialLog in
Avatar of citadelind
citadelindFlag for India

asked on

fedex code

I am trying to integrate fedex shipping calculator in to my site but not able to make it work. Please guide us on code which to use and how to do it.

I have tried fedex web service  sample code and everything but nothing worked out.

Avatar of Dhanasekaran Sengodan
Dhanasekaran Sengodan
Flag of India image

Avatar of ltlbearand3
You say you tried the sample code, but it did not work.  What kind of errors are you receiving?  Did you follow the registration steps listed in the link from dhansmani?  Have you tried contacting FedEx Tech support to see if they can tell you what is wrong (877-339-2774)?  Did you download their sample code or run their new Web Wizard?

-Bear
Avatar of citadelind

ASKER

I am getting below error

1000-->Authentication Failed
This means something in your Developer credentials is off.  Make sure you have the right credentials for the right site.  There are two sites - one with the word beta and you should use your development credentials on that one.  On the site without beta in the URL, use your production credentials.  Make sure your credentials are correct from when you registered.  I suggest copy and paste method as they can be easy to type incorrectly.  Make sure you have the right values in each field of Key, Password, Account Number and Meter Number.  

If you are using the sample code and have not changed the URL, make sure to use the development credentials.

-Bear
My site is not using Developer Credentials. We are customizing solution with our own code.

Does any one has xml code sample code to integrate in Fedex
If you want to use the FedEx Web Services to retrieve a rate quote you MUST register with them and get developer credentials.  otherwise you will not be able to retrieve rates.  Please see the link posted by dhansmani or goto www.fedex.com/us/developer and create a log in.  Then follow the link to get started using Shipping Web Services and get your development credentials from FedEx.  The code will not work until you have those.

-Bear
citadelind,

Even if you write your own code to generate an xml file, the xml file must contain the Developer credentials (Key, Password, Account Number and Meter Number).  Otherwise you will continue to receive a Authentication Failed reply from the Web Server.

-Bear
Thanks for your response ltlbearand3 it helped.

Test key worked fine but when i try to work on production key it gives again same error.

Do i have to submit to Fedex people for approval of code.

ASKER CERTIFIED SOLUTION
Avatar of ltlbearand3
ltlbearand3
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Good