From fd9a3e39b1942b3e4e52445cd94d653623666efc Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 24 Jun 2019 20:42:48 +0200 Subject: [PATCH] Fix #53 (#55) Een extra / in de URL zou niet uit moeten maken, bij mijn eigen site werkt dat verder. Bij bijv. Google ook: https://www.google.nl////search?q=mollie+whmcs --- src/mollie/mollie.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mollie/mollie.php b/src/mollie/mollie.php index 886b050..76044c5 100644 --- a/src/mollie/mollie.php +++ b/src/mollie/mollie.php @@ -93,7 +93,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'], ),