Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FEDEX API

Status
Not open for further replies.

lehuong

Programmer
Sep 2, 2003
98
US
Hi All,
I tried to integrate my shopping cart with the FEDEX API for the shipping rate and service. Anyone has any idea how to get this done? I have gone through the FEDEX site and got all the document, but still do not know how to build it yet. Please help!!!
Thanks
 
Hi Dimandja,
-First of all, when I install the API software from Fedex into my pc, I don't have the proxy host and ports number (What are those number?).
-Second I got a note in the WIS step by step guide:

Prior to testing your custom application within the FedEx test environment, you will need to obtain a test meter number. You can accomplish this by submitting a subscribe transaction to FedEx via your application.

-what is the test meter number, and where should I put it in the sample code?
-I have tested sample code in my machine. All I got is invalid tracking number. I am still testing the sample code.

Thanks.
 
Hi there,
Again, I have tested the sample code for vbscript that Fedex provided. All I have got is “Tracking Number Is Invalid”. Of course the tracking number is invalid. How do I know this is actual connect to the Fedex server? And is the Fedex API working in my pc. I have install this application in my pc (I do not have the proxy host and port number).
howard
 
I have done something similar to what you are doing, but using UPS.

In order for you to test/implement their APIs, you will need to be registered with them (test meter?).

This is because they would need to setup an account for you. When you test, your transactions will be dealt with as test transactions. Without your test meter, they may either try to process your data as real, or they may not know how to handle it.

Register. They'll give you all the info you need (proxy, ports, etc). The "Tracking Number" is the number assigned to each transaction you generate. This number is usually obtained from Fedex, when you submit your transaction for processing. If they cannot figure out who is sending the transaction, there won't be a valid Tracking Number issued.

Incidentally, the Tracking Number is the same one you would need to track a package or mail.

Dimandja
 
Yes,
I think you are right. Look at what I got in this sample.

Processing transaction Request:

0,"021"4,"Total Widget Rebuilders"5,"445 East Street"7,"Dallas"8,"TX"9,"75247"10,"123456789"498,"1234567"117,"US"183,"2145558765"50,"US"11,"ABC Widget"12,"Bernard F. Smith"13,"322 Latta Woods"14,"Suite 26"15,"Roanoke"16,"VA"17,"24012"18,"7035551212"23,"1"1401,"4.0"1273,"03"1274,"03"25,"SPECIAL CALL-IN"24,"20020405"1115,"130555"1368,"1"1369,"1"1370,"5"1116,"I"75,"LBS"3025,"FDXE"1333,"1"99,""

Received transaction reply

0 121
2 F051
3 Meter logon failed.

- I think I still need the proxy and the meter number.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top