From 61ff5956305b8d78f1152adb8f20d27bc87b8c34 Mon Sep 17 00:00:00 2001 From: carmenmaymo Date: Mon, 28 Oct 2024 14:29:18 +0100 Subject: [PATCH] Add ideal notice --- src/PaymentMethods/Ideal.php | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/src/PaymentMethods/Ideal.php b/src/PaymentMethods/Ideal.php index c7638b05..bc2e6713 100644 --- a/src/PaymentMethods/Ideal.php +++ b/src/PaymentMethods/Ideal.php @@ -29,6 +29,32 @@ public function getConfig(): array public function getFormFields($generalFormFields): array { - return $generalFormFields; + $notice = [ + 'notice' => [ + 'title' => + sprintf( + /* translators: Placeholder 1: paragraph opening tag Placeholder 2: link url Placeholder 3: link closing tag 4: link url Placeholder 5: closing tags */ + __( + '%1$s Note: In June 2024, Mollie upgraded its iDEAL implementation to iDEAL 2.0. + As a result, the bank selector dropdown is no longer displayed on the checkout page when using the Mollie plugin. + Buyers will now select their bank directly on the iDEAL website. + The only action required from you is to update your iDEAL gateway description to remove any prompts for buyers to select a bank during checkout. + No further manual action is needed. For more details about the iDEAL 2.0 migration, please visit the + %2$s Mollie Help Center %3$s or read this + %4$s this blog post. %5$s', + 'mollie-payments-for-woocommerce' + ), + '

', + '', + '', + '', + '

' + ), + 'type' => 'title', + 'class' => 'notice notice-warning', + 'css' => 'padding:20px;', + ], + ]; + return array_merge($notice, $generalFormFields); } }