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 {