diff --git a/src/mollie/mollie.php b/src/mollie/mollie.php index d8a812e..540ae11 100644 --- a/src/mollie/mollie.php +++ b/src/mollie/mollie.php @@ -66,7 +66,7 @@ function mollie_link($params, $method = Mollie_API_Object_Method::IDEAL) { header('location: ' . $params['returnurl'] . '&paymentfailed=true'); exit(); } else { - return '

' . $_GATEWAYLANG['checkPayment'] . ' '; + 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)) { @@ -88,7 +88,7 @@ function mollie_link($params, $method = Mollie_API_Object_Method::IDEAL) { 'method' => $method, 'description' => $params['description'], 'redirectUrl' => $params['returnurl'] . '&check_payment=' . $transactionId, - 'webhookUrl' => $params['systemurl'] . '/modules/gateways/mollie/callback.php', + 'webhookUrl' => $params['systemurl'] . 'modules/gateways/mollie/callback.php', 'metadata' => array( 'invoice_id' => $params['invoiceid'], ), @@ -121,4 +121,4 @@ function mollie_link($params, $method = Mollie_API_Object_Method::IDEAL) { return $return; } } -} \ No newline at end of file +}