Changing test case and samples to use newer camelcase setters

This commit is contained in:
aydiv
2013-08-21 21:37:42 +05:30
parent 6dc604666b
commit 14b9a13f8a
27 changed files with 183 additions and 183 deletions

View File

@@ -25,7 +25,7 @@ if(isset($_GET['success']) && $_GET['success'] == 'true') {
// The payer_id is added to the request query parameters
// when the user is redirected from paypal back to your site
$execution = new PaymentExecution();
$execution->setPayer_id($_GET['PayerID']);
$execution->setPayerId($_GET['PayerID']);
//Execute the payment
// (See bootstrap.php for more on `ApiContext`)
@@ -37,4 +37,4 @@ if(isset($_GET['success']) && $_GET['success'] == 'true') {
} else {
echo "User cancelled payment.";
}
}