Skip to content

Commit

Permalink
Merge pull request #957 from mollie/fix/PIWOO-557-add-ideal-issuers-n…
Browse files Browse the repository at this point in the history
…otice

Add ideal notice
  • Loading branch information
mmaymo authored Nov 4, 2024
2 parents c392752 + 61ff595 commit 697d8f7
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion src/PaymentMethods/Ideal.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'
),
'<p>',
'<a href="https://help.mollie.com/hc/en-us/articles/19100313768338-iDEAL-2-0" target="_blank">',
'</a>',
'<a href="https://www.mollie.com/growth/ideal-2-0" target="_blank">',
'</a></p>'
),
'type' => 'title',
'class' => 'notice notice-warning',
'css' => 'padding:20px;',
],
];
return array_merge($notice, $generalFormFields);
}
}

0 comments on commit 697d8f7

Please sign in to comment.