PHPackages                             wamoco/magento2-payment-method-filter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. wamoco/magento2-payment-method-filter

ActiveMagento2-module

wamoco/magento2-payment-method-filter
=====================================

Magento 2 Module to filter payment methods

1.0.0(5y ago)0151PHP

Since Jan 9Pushed 5y ago2 watchersCompare

[ Source](https://github.com/Wamoco/magento2-payment-method-filter)[ Packagist](https://packagist.org/packages/wamoco/magento2-payment-method-filter)[ RSS](/packages/wamoco-magento2-payment-method-filter/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Magento 2 Payment Method Filter
===============================

[](#magento-2-payment-method-filter)

Module to implement custom filter logic for payment methods.

In your module `di.xml` declare the filter:

```

            Vendor\Module\Model\Filter

```

And implement it like this:

```
class Filter implements \Wamoco\PaymentMethodFilter\Api\FilterInterface
{
    public function isFiltered(
        \Magento\Quote\Api\Data\PaymentMethodInterface $method,
        \Magento\Quote\Api\Data\CartInterface $quote
    ) {
        if ($method->getCode() == 'checkmo') {
          return true;
        }
        return false;
    }
}

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1945d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/41a320458e26fcc5edf5b414a17a6866c0e276959cbf2b5930e7dc15d6e48033?d=identicon)[bka](/maintainers/bka)

---

Top Contributors

[![bka](https://avatars.githubusercontent.com/u/584644?v=4)](https://github.com/bka "bka (1 commits)")

### Embed Badge

![Health badge](/badges/wamoco-magento2-payment-method-filter/health.svg)

```
[![Health](https://phpackages.com/badges/wamoco-magento2-payment-method-filter/health.svg)](https://phpackages.com/packages/wamoco-magento2-payment-method-filter)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
