From c2cfe1c80d86221a8fc617292a67b848d443f8da Mon Sep 17 00:00:00 2001 From: Matt75 <5262628+Matt75@users.noreply.github.com> Date: Tue, 11 Jul 2023 10:13:54 +0200 Subject: [PATCH] Add BLIK as APM --- src/FundingSource/FundingSourceCollectionBuilder.php | 8 +++++++- views/img/blik.svg | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 views/img/blik.svg diff --git a/src/FundingSource/FundingSourceCollectionBuilder.php b/src/FundingSource/FundingSourceCollectionBuilder.php index b4ef4052c..25aba65be 100644 --- a/src/FundingSource/FundingSourceCollectionBuilder.php +++ b/src/FundingSource/FundingSourceCollectionBuilder.php @@ -107,6 +107,12 @@ public function create() $sofort->setIsEnabled($this->configuration->isEnabled('sofort')); $sofort->setCountries($this->eligibilityConstraint->getCountries('sofort')); - return [$paypal, $paylater, $card, $bancontact, $eps, $giropay, $ideal, $mybank, $p24, $sofort]; + // BLIK + $blik = new FundingSourceEntity('blik'); + $blik->setPosition($this->configuration->getPosition('blik', 11)); + $blik->setIsEnabled($this->configuration->isEnabled('blik')); + $blik->setCountries($this->eligibilityConstraint->getCountries('blik')); + + return [$paypal, $paylater, $card, $bancontact, $eps, $giropay, $ideal, $mybank, $p24, $sofort, $blik]; } } diff --git a/views/img/blik.svg b/views/img/blik.svg new file mode 100644 index 000000000..b88037d1c --- /dev/null +++ b/views/img/blik.svg @@ -0,0 +1 @@ + \ No newline at end of file