tadman Posted June 16, 2008 Share Posted June 16, 2008 Can anyone see what I am doing wrong in the code below. I am trying to print out the Fedex rate (using the sample code provided by Fedex) - the printRequestResponse works fine but the "echo" statement below outputs nothing. Is this the right way to access the structure? $response = $client ->getRate($request); if ($response -> HighestSeverity != 'FAILURE' && $response -> HighestSeverity != 'ERROR') { printRequestResponse($client); echo 'Amount ' . $response -> RatedShipmentDetails -> ShipmentRateDetail -> totalNetCharge -> Amount; Cheers Tadman Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.