requestEnvelope = $requestEnvelope; $service = new PermissionsService('Permissions'); try { $response = $service->RequestPermissions($request); } catch(Exception $ex) { require 'Error.php'; exit; } /* Display the API response back to the browser. If the response from PayPal was a success, display the response parameters' If the response was an error, display the errors received using APIError.php. */ ?>
| Ack : | ". $response->responseEnvelope->ack ." |
| Token : | ". $response->token ." |
| * Redirect URL to Complete RequestPermissions API operation |