Small Sample Fix

- Updated Get Authorization to User Proper Authorization
This commit is contained in:
Jay Patel
2015-02-27 14:58:35 -06:00
parent 38d9758113
commit a471ea1338
3 changed files with 281 additions and 107 deletions

View File

@@ -6,7 +6,7 @@
/** @var Authorization $authorization */
$authorization = require 'AuthorizePayment.php';
$authorizationId = '4U805254HC285294Y'; // $authorization->getId();
$authorizationId = $authorization->getId();
use PayPal\Api\Authorization;
use PayPal\Api\Payment;