Skip to content

Commit

Permalink
Add Giropay notice
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaymo committed Jul 8, 2024
1 parent 0e50170 commit 18ba674
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/PaymentMethods/Giropay.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ protected function getConfig(): array

public function getFormFields($generalFormFields): array
{
return $generalFormFields;
$notice = ['notice' => [
'title' =>
sprintf(__('%s Paydirekt, the owner of Giropay, has decided to deprecate Giropay. On Monday, 24 June 2024, Mollie was informed that Giropay would cease onboarding new merchants and processing new payments after 30 June 2024. No action is needed from your side. Mollie will automatically remove Giropay as a payment option from your Checkout by 30 June.
Subscription renewals and refunds will continue to be processed as usual beyond June 30. More details can be found in the %s Giropay Deprecation FAQ. %s', 'mollie-payments-for-woocommerce'), '<p>','<a href="https://help.mollie.com/hc/en-us/articles/19745480480786-Giropay-Depreciation-FAQ" target="_blank">', '</a></p>'),
'type' => 'title',
'class' => 'notice notice-warning',
'css' => 'padding:20px;',

]];
return array_merge($notice, $generalFormFields);
}
}

0 comments on commit 18ba674

Please sign in to comment.