PHPackages                             galacticlabs/customer-group-payment-filters - 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. galacticlabs/customer-group-payment-filters

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

galacticlabs/customer-group-payment-filters
===========================================

Filter available payment methods based on customer groups

1.0.1(7y ago)1716.3k↓50%9[2 PRs](https://github.com/galacticlabs/customer-group-payment-filters/pulls)MITPHP

Since Dec 17Pushed 5y ago3 watchersCompare

[ Source](https://github.com/galacticlabs/customer-group-payment-filters)[ Packagist](https://packagist.org/packages/galacticlabs/customer-group-payment-filters)[ RSS](/packages/galacticlabs-customer-group-payment-filters/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Galactic Labs - Customer Group Payment Filters
==============================================

[](#galactic-labs---customer-group-payment-filters)

This simple module adds a new section to the Customer Groups admin page, allowing you to define payment options that ***should not*** be allowed for the chosen customer group.

***Note: These settings will affect both frontend and backend orders.***

Installation
------------

[](#installation)

Require the module

```
composer require galacticlabs/customer-group-payment-filters
```

Enable the module

```
php bin/magento module:enable GalacticLabs_CustomerGroupPaymentFilters
```

Run setup to install module and set up table(s)

```
php bin/magento setup:upgrade
```

Usage
-----

[](#usage)

Once installed, you can choose which payment methods should be restricted by going to `Stores > Other Settings > Customer groups` and selecting the group you would like to place restrictions on.

The edit screen has a new section called Disallowed Payment Options. This contains a multiselect list of the payment options in the Magento system. Choose the ones you'd like to disable for the customer group, then save for changes to take effect. These options are also available when creating a new customer group.

***Note: These options will not affect anything if the chosen payment options are themselves not enabled.***

[![Edit Page Screenshot](docs/edit-page-screenshot.png)](docs/edit-page-screenshot.png)

Bugs/Feature Requests &amp; Contribution
----------------------------------------

[](#bugsfeature-requests--contribution)

Please do open a pull request on GitHub should you want to contribute, or create an issue.

Todo
----

[](#todo)

I plan on cleaning this up a bit and also adding some tests to prove functional correctness. I'd also be interested in discussions on how I could have achieve the same results using alternative/better techniques. I don't like the fact i'm accessing the request object inside the repository save method. Is it possible to perform this action in the admin controller instead? Unfortunately I hit an issue when saving a new customer group in that I couldn't access the ID of the new group in the same request. I'm sure with more time I would of figured it but this was created very quickly.

- Caching should be added

License
-------

[](#license)

[MIT](https://opensource.org/licenses/MIT) - Do as you wish 👍

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

Every ~505 days

Total

2

Last Release

2564d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a051358526a93643b326b9b122863544bf2fe9917d0a139a5654b2765cba56c?d=identicon)[alanablett](/maintainers/alanablett)

---

Top Contributors

[![alanablett](https://avatars.githubusercontent.com/u/1838355?v=4)](https://github.com/alanablett "alanablett (2 commits)")

---

Tags

magento2magento2-module

### Embed Badge

![Health badge](/badges/galacticlabs-customer-group-payment-filters/health.svg)

```
[![Health](https://phpackages.com/badges/galacticlabs-customer-group-payment-filters/health.svg)](https://phpackages.com/packages/galacticlabs-customer-group-payment-filters)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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