diff --git a/src/mollie/mollie.php b/src/mollie/mollie.php index 76044c5..8544417 100644 --- a/src/mollie/mollie.php +++ b/src/mollie/mollie.php @@ -71,7 +71,7 @@ function mollie_link($params, $method = Mollie_API_Object_Method::IDEAL) return '

' . $_GATEWAYLANG['checkPayment'] . ' '; } } else { - if (isset($_POST['start']) || (isset($_GET['a']) && $_GET['a'] == 'complete') || (isset($_GET['action']) && ($_GET['action'] == 'addfunds' || $_GET['action'] == 'masspay') && isset($_POST['paymentmethod']) && $_POST['paymentmethod'] == 'mollie' . $method)) { + if (isset($_POST['start']) || isset($_POST['issuer']) || (isset($_GET['a']) && $_GET['a'] == 'complete') || (isset($_GET['action']) && ($_GET['action'] == 'addfunds' || $_GET['action'] == 'masspay') && isset($_POST['paymentmethod']) && $_POST['paymentmethod'] == 'mollie' . $method)) { $transactionCurrency = select_query('tblcurrencies', '', array('code' => $params['currency']), null, null, 1); $transactionCurrency = mysql_fetch_assoc($transactionCurrency); @@ -105,7 +105,7 @@ function mollie_link($params, $method = Mollie_API_Object_Method::IDEAL) header('Location: ' . $payment->getCheckoutUrl()); exit(); } else { - $return = '
'; + $return = ''; if ($method == \Mollie\Api\Types\PaymentMethod::IDEAL) { $issuers = $mollie->methods->get('ideal', ['include' => 'issuers'])->issuers;