Page 1 of 1

Fedex Shipping Integration

Posted: Thu May 19, 2005 7:24 am
by zipsuchi
hello,

Did any body integrated Fedex shipping calculator using PHP ? i have gone through the Fedex site they have the code for ASP.Net , java c & c++, but i did'nt found for PHP.

I have integrated UPS & USPS shipping modules, but no idea about Fedex integration.

What are the parameters required ?. How it should be send ?. Where to be send ?

I have the account number for fedex.

The parameter normally required are :

From - zip
From - Country
To - Zip
To - Country
Weight etc..

So any body have any idea for Fedex shipping integration , then please help me out..

Regrads,
Suchith

Posted: Sat May 28, 2005 3:55 pm
by JAM
I'm not used to handle Fedex myself, being european (don't think we have that here). But I've dealt with TNT and DHL, that is two other companies doing the same thing.

Can you provide a direct link to the form itself (or the ASP code snippet) or is it membership only? Just by looking at the form might reveal a great deal.

Posted: Sat May 28, 2005 6:25 pm
by timvw
if i'm not mistaken there is some "xml" api... i presume it comes down to posting/recieving some xml... and you're ready to go :)


Generating the XML is the same as constructiong a string in php.. nothing hard :) (or you could use some specialized xml functions which make stuff easier, sometimes...)

Here is a little sample of how you could post the XML to the service...
http://timvw.madoka.be/programming/php/client.txt (But you probably want to look at the CURL extension too...)

And then it's only a matter of parsing the returned data. Therefor you might want to look at the xml extension :)

Thanks

Posted: Sat Jun 04, 2005 6:58 am
by zipsuchi
Hi,

Thanks, i have done the XML parsing for the UPS,But in case FEDEX it is different, we have to flow few procedure that i am not sure about...

If you find anything then please let me know ..

Thanks again