Removing debug statements

This commit is contained in:
aydiv
2013-08-26 10:58:40 +05:30
parent f4d687b52b
commit b1f1887cec

View File

@@ -71,22 +71,14 @@ $transaction = new Transaction();
$transaction->setAmount($amount)
->setDescription("This is the payment description.");
$transaction2 = new Transaction();
$transaction->setAmount($amount)
->setDescription("This is fee payment.");
var_dump($transaction2->toJson());
// ### Payment
// A Payment Resource; create one using
// the above types and intent as 'sale'
$payment = new Payment();
$payment->setIntent("sale")
// ->setPayer($payer)
->addTransaction($transaction)->addTransaction($transaction2);
->setPayer($payer)
->setTransactions(array($transaction));
echo "*************<br/>";
var_dump($payment->toJson());
exit;
// ### Create Payment
// Create a payment by posting to the APIService
// using a valid ApiContext (See bootstrap.php for more on `ApiContext`)