PHPackages                             sharpmonks/module-payment-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. [Payment Processing](/categories/payments)
4. /
5. sharpmonks/module-payment-filter

ActiveMagento2-module[Payment Processing](/categories/payments)

sharpmonks/module-payment-filter
================================

SharpMonks Magento 2 paymentFilter Extensions for Products, Customers and Customer Groups

1.0.0(6y ago)331OSL-3.0PHP

Since Apr 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/sharpmonks/paymentFilter)[ Packagist](https://packagist.org/packages/sharpmonks/module-payment-filter)[ RSS](/packages/sharpmonks-module-payment-filter/feed)WikiDiscussions master Synced 1w ago

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

SharpMonks PaymentFilter Magento2 Extension
===========================================

[](#sharpmonks-paymentfilter-magento2-extension)

SharpMonks Magento 2 paymentFilter Extensions for Products, Customers and Customer Groups

This module enables you to select which payment methods are available for every customer and customer group. Also, Payment methods can be disabled for specific products.

A customer can only use the payment methods during checkout available to his (customer group OR himself) AND not disabled for the products in the shopping cart.

**This module is the Magento 2 version of this Magento 1 module**

Compatibility
=============

[](#compatibility)

> This extension supports Magento 2.2.x and 2.3.x.

Points to remember
==================

[](#points-to-remember)

After installing this extension you have to configure the payment methods available to each customer group.

You can do that in the admin interface under Customers &gt; Customer Groups. The default is NONE, so if you don't do that NO payment methods will be available and customers will not be able to check out.

The default for products is to allow ALL payment methods, so you only have to configure the payment methods available to every group. Only change the product level payment method configuration if you want to disable one or more payment method for a specific products.

Disable Extension
=================

[](#disable-extension)

The whole extension can be disabled in "Stores &gt; Configuration &gt; Sales &gt; Checkout" on a Global or Website scope.

Composer Installation
=====================

[](#composer-installation)

> composer require sharpmonks/module-payment-filter

Uninstall
=========

[](#uninstall)

If you ever uninstall the extension (I don't hope so :)) your site will be broken, because Magento doesn't support database updates on uninstalls to remove attributes.

To fix the error, execute the following SQL:

> DELETE FROM `eav_attribute` WHERE attribute\_code = 'product\_payment\_methods';

> DELETE FROM `setup` WHERE code = 'payfilter\_setup';

> ALTER TABLE `customer_group` DROP `allowed_payment_methods`;

> IMPORTANT! Then clear the magento cache.

Maintainer
==========

[](#maintainer)

If you have ideas for improvements or find bugs, submit here:

Create pull requests and I'll review them to approve for merge.

License
=======

[](#license)

This module is licensed under OSL-3.0

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.8% 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

2218d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ff92590e61610c6abc712d5f2ae95ad414d1d17231b3ec3d21585c3f6925858?d=identicon)[SharpMonks](/maintainers/SharpMonks)

---

Top Contributors

[![sharpmonks](https://avatars.githubusercontent.com/u/59927998?v=4)](https://github.com/sharpmonks "sharpmonks (7 commits)")[![princeantil90](https://avatars.githubusercontent.com/u/7372958?v=4)](https://github.com/princeantil90 "princeantil90 (6 commits)")

### Embed Badge

![Health badge](/badges/sharpmonks-module-payment-filter/health.svg)

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

###  Alternatives

[adyen/module-payment

Official Magento2 Plugin to connect to Payment Service Provider Adyen.

1663.0M10](/packages/adyen-module-payment)[checkoutcom/magento2

Checkout.com Payment Gateway for Magento 2

34263.8k1](/packages/checkoutcom-magento2)

PHPackages © 2026

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