From 5aee12920e21ad473e39b3cd29b8f1f942e03925 Mon Sep 17 00:00:00 2001 From: Wouter van Os Date: Sat, 17 Oct 2015 17:33:17 +0200 Subject: [PATCH] Fixed $_GATEWAY not defined error --- src/mollie/callback.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mollie/callback.php b/src/mollie/callback.php index 49198fe..f3d166f 100644 --- a/src/mollie/callback.php +++ b/src/mollie/callback.php @@ -21,7 +21,7 @@ if(isset($_POST['id'])) { $transactionQuery = select_query('gateway_mollie', '', array('paymentid' => $_POST['id']), null, null, 1); if (mysql_num_rows($transactionQuery) != 1) { - logTransaction($_GATEWAY['paymentmethod'], $_POST, 'Callback - Failure 2 (Transaction not found)'); + logTransaction('mollieunknown', $_POST, 'Callback - Failure 2 (Transaction not found)'); header('HTTP/1.1 500 Transaction not found'); exit(); @@ -88,4 +88,4 @@ if(isset($_POST['id'])) { header('HTTP/1.1 500 Arg mismatch'); exit(); -} \ No newline at end of file +}