Skip to content

Commit

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

public function getFormFields($generalFormFields): array
{
$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;',

]];
$notice = [
'notice' => [
'title' =>
sprintf(
__(
'%1$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 %2$s Giropay Deprecation FAQ. %3$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 9f79a2d

Please sign in to comment.