Skip to content

Commit

Permalink
Add pay by bank payment method name alongside yapily (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-rvvup authored Jan 9, 2024
1 parent bd3ab2c commit 467266a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Plugin/LoadPaymentMethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ public function afterGetPaymentMethods(Data $subject, array $result): array
$country = $this->getCountryUsed($quote);
if ($country && $country !== 'GB') {
$this->removePaymentMethodByCode('YAPILY', $methods);
$this->removePaymentMethodByCode('PAY_BY_BANK', $methods);
}

$this->methods = $methods;
Expand Down
1 change: 1 addition & 0 deletions view/frontend/web/css/source/_module.less
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
}

.rvvup-yapily-img,
.rvvup-pay-by-bank-img,
.rvvup-crypto-img {
width: 160px;
}
Expand Down

0 comments on commit 467266a

Please sign in to comment.