Skip to content

Commit

Permalink
Merge branch 'develop' into fix/PIWOO-272-banktransfer-mail
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaymo committed Oct 20, 2023
2 parents b686086 + ab3e073 commit d52ff1e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 64 deletions.
55 changes: 0 additions & 55 deletions .github/workflows/housekeeping.yml

This file was deleted.

2 changes: 1 addition & 1 deletion src/Buttons/ApplePayButton/ApplePayDataObjectHttp.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ protected function addressHasRequiredFieldsValues(
sprintf('ApplePay Data Error: Missing value for %s', $requiredField)
);
$this->errors[]
= [
= [
'errorCode' => $errorCode,
'contactField' => $errorValue,
];
Expand Down
16 changes: 8 additions & 8 deletions src/PaymentMethods/Kbc.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

class Kbc extends AbstractPaymentMethod implements PaymentMethodI
{
protected const DEFAULT_ISSUERS_DROPDOWN = 'yes';
protected function getConfig(): array
{
return [
protected const DEFAULT_ISSUERS_DROPDOWN = 'yes';
protected function getConfig(): array
{
return [
'id' => 'kbc',
'defaultTitle' => __('KBC/CBC Payment Button', 'mollie-payments-for-woocommerce'),
'settingsDescription' => '',
Expand All @@ -23,10 +23,10 @@ protected function getConfig(): array
'filtersOnBuild' => false,
'confirmationDelayed' => true,
'SEPA' => true,
];
}
];
}

public function getFormFields($generalFormFields): array
public function getFormFields($generalFormFields): array
{
$paymentMethodFormFieds = [
'issuers_dropdown_shown' => [
Expand All @@ -52,7 +52,7 @@ public function getFormFields($generalFormFields): array
'type' => 'text',
'description' => sprintf(
__(
"This text will be displayed as the first option in the KBC/CBC issuers drop down, if nothing is entered, 'Select your bank' will be shown. Only if the above 'Show KBC/CBC banks dropdown' is enabled.',
"This text will be displayed as the first option in the KBC/CBC issuers drop down, if nothing is entered, 'Select your bank' will be shown. Only if the above 'Show KBC/CBC banks dropdown' is enabled.",
'mollie-payments-for-woocommerce'
),
$this->getConfig()['defaultTitle']
Expand Down

0 comments on commit d52ff1e

Please sign in to comment.