From 8b0ee80c4b6f4c6d39372a40bb21f136559e5d13 Mon Sep 17 00:00:00 2001 From: Wouter van Os Date: Fri, 4 Jul 2025 09:37:11 +0200 Subject: [PATCH] feat: implement iDeal 2.0 support Not sure what happened in the previous commit, here we go again. --- src/mollie/mollie.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/mollie/mollie.php b/src/mollie/mollie.php index c3861d2..3b2a2bb 100644 --- a/src/mollie/mollie.php +++ b/src/mollie/mollie.php @@ -103,7 +103,6 @@ function mollie_link($params, $method = Mollie_API_Object_Method::IDEAL) 'metadata' => array( 'invoice_id' => $params['invoiceid'], ), - 'issuer' => ((isset($_POST['issuer']) && !empty($_POST['issuer'])) ? $_POST['issuer'] : NULL), 'dueDate' => (($method == \Mollie\Api\Types\PaymentMethod::BANKTRANSFER) ? date('Y-m-d', strtotime('+100 days')) : NULL), )); @@ -114,18 +113,6 @@ function mollie_link($params, $method = Mollie_API_Object_Method::IDEAL) } else { $return = '
'; - if ($method == \Mollie\Api\Types\PaymentMethod::IDEAL) { - $issuers = $mollie->methods->get('ideal', ['include' => 'issuers'])->issuers; - - $return .= ' '; - - $return .= ''; - } - $return .= '
'; return $return;