Show response instead of request in ExecutePayment

This commit is contained in:
hakito
2013-10-06 20:38:58 +02:00
parent 3e9f2a400f
commit 6087461192

View File

@@ -29,10 +29,10 @@ if(isset($_GET['success']) && $_GET['success'] == 'true') {
//Execute the payment
// (See bootstrap.php for more on `ApiContext`)
$payment->execute($execution, $apiContext);
$response = $payment->execute($execution, $apiContext);
echo "<html><body><pre>";
var_dump($payment->toArray());
var_dump($response->toArray());
echo "</pre><a href='../index.html'>Back</a></body></html>";
} else {