Forum Moderators: coopster

Message Too Old, No Replies

Fedex Shipping Integration

         

artie2004

6:10 pm on Feb 2, 2005 (gmt 0)

10+ Year Member



Does anybody have any experience in integrating their existing PHP application with FedEx shipping? Can i integrate my PHP application with Fedex using their "Ship Manager API" solution or their "Ship Manager Direct" solution? Thanks.

Timotheos

7:43 pm on Feb 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well I've never done it but this looks promising.
[freshmeat.net...]

[edited by: coopster at 8:39 pm (utc) on Feb. 5, 2005]
[edit reason] updated url to open source project page link [/edit]

artie2004

5:21 am on Feb 5, 2005 (gmt 0)

10+ Year Member



Thanks Timotheos.

I'm using that PHP class to send transactions to FedEx's Ship Manager Direct API
Has any one worked with this class? I am unable to get the Subscribe Method to work.

Thanks.

[edited by: coopster at 8:41 pm (utc) on Feb. 5, 2005]
[edit reason] removed code dump [/edit]

artie2004

5:25 am on Feb 5, 2005 (gmt 0)

10+ Year Member



Sorry. I put down the wrong code. Here is the right code.

<?php

$servertype='test';
include('fedexdc.php');

// #new object with account#
$fed = new FedExDC('999999999');

$aRet = $fed->subscribe(
array(
1 => 'unique12345',
4003 => 'My Name',
4008 => '123 Main Street',
4011 => 'City',
4012 => 'MI',
4013 => '55555',
4014 => 'US',
4015 => '1234567890',
));

print_r($aRet);

// # pass field name
echo $fed->lookup('meter_number');

?>

[edited by: coopster at 8:43 pm (utc) on Feb. 5, 2005]
[edit reason] removed specifics [/edit]

Timotheos

6:28 am on Feb 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi artie,

Do you have cURL installed?

Also what error messages are you getting?

Tim

artie2004

2:03 pm on Feb 5, 2005 (gmt 0)

10+ Year Member



Hi Timotheos. Yes i have Curl installed. I'm not getting any errors as far as i can tell. All i am getting is a blank white screen on my browser.

artie2004

1:46 am on Feb 6, 2005 (gmt 0)

10+ Year Member



Thanks Coopster!