GetExpressCheckoutDetailsRequest = $getExpressCheckoutDetailsRequest; $paypalService = new PayPalAPIInterfaceServiceService(); try { /* wrap API method calls on the service object with a try catch */ $getECResponse = $paypalService->GetExpressCheckoutDetails($getExpressCheckoutReq); } catch (Exception $ex) { include_once("../Error.php"); exit; } if(isset($getECResponse)) { echo "
| Ack : | ".$getECResponse->Ack." |
| Token : | ".$getECResponse->GetExpressCheckoutDetailsResponseDetails->Token." |
| PayerID : | ".$getECResponse->GetExpressCheckoutDetailsResponseDetails->PayerInfo->PayerID." |
| PayerStatus : | ".$getECResponse->GetExpressCheckoutDetailsResponseDetails->PayerInfo->PayerStatus." |
'; print_r($getECResponse); echo ''; } require_once '../Response.php';