From 6087461192fe1b396d520e9c5bc0eda9b711de05 Mon Sep 17 00:00:00 2001 From: hakito Date: Sun, 6 Oct 2013 20:38:58 +0200 Subject: [PATCH] Show response instead of request in ExecutePayment --- sample/payments/ExecutePayment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sample/payments/ExecutePayment.php b/sample/payments/ExecutePayment.php index ca87360..600d418 100644 --- a/sample/payments/ExecutePayment.php +++ b/sample/payments/ExecutePayment.php @@ -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 "
";
-	var_dump($payment->toArray());
+	var_dump($response->toArray());
 	echo "
Back"; } else {