Fedex Shipping Label API helper php script

Hi there,

I’m looking for a php script that will gather info for shipping a product, (account info, from address, to address, package type, dimensions, and shipping options) and create a pdf file containing the shipping label with option to send to an email.

I can help with requirements.

Best regards,
Loris

hey,

I think you might be able to get the account info, from address, to address, package type, dimensions, and shipping options but the shipping label might be tricky because they have there tracking codes on it with bar codes.

I guess your trying to do this via a tracking code… i would get the HTML of the url that they have eg… http://fedex.com/Tracking?action=track&tracknumber_list=%num%&cntry_code=us

and then see if they have any id fields for the address or anything like that… or you might have to do it the hard way with preg_match

Hi,

Thanks for your answer!

I’m not really looking into tracking the shipments, but creating the actual shipment and label with barcodes from their API.

i.e. i pull data from an ecommerce order into php variables then the script will create a shipment+label .

They provide webservices to do so : http://fedex.com/us/web-services/index.html

Maybe someone will jump into it an create a script helping the use of their webservices.

like this ? http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/