PHPackages                             tklein/module-payment-method-availability - 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. tklein/module-payment-method-availability

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

tklein/module-payment-method-availability
=========================================

This module allows you to define payment method availability dynamically.

1.0.0(7y ago)03MITPHP

Since May 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/thomas-kl1/magento2-payment-method-availability)[ Packagist](https://packagist.org/packages/tklein/module-payment-method-availability)[ Docs](https://thomas-kl1.github.io/magento2-payment-method-availability)[ RSS](/packages/tklein-module-payment-method-availability/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

Payment Method Availability
===========================

[](#payment-method-availability)

[![Latest Stable Version](https://camo.githubusercontent.com/ee7ad6039e47a93d6c66b5f17490c7695162289becd4ab8023c3e1df448c4ac9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746b6c65696e2f6d6f64756c652d7061796d656e742d6d6574686f642d617661696c6162696c6974792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tklein/module-payment-method-availability)[![License: MIT](https://camo.githubusercontent.com/bfd22546e4f5a6e06041e5e1a18ca47d783678e8adf825aae6c0b09572eb42d8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f74686f6d61732d6b6c312f6d6167656e746f322d7061796d656e742d6d6574686f642d617661696c6162696c6974792e7376673f7374796c653d666c61742d737175617265)](./LICENSE)

This module allows you to define payment method availability dynamically. The free source is available at the [github repository](https://github.com/thomas-kl1/magento2-payment-method-availability).

**THIS REPOSITORY HAS BEEN ARCHIVED.**
**PLEASE, READ THE "[DEVELOPERS](#developers)" SECTION.****THIS MODULE IS A FALSE ANSWER TO A FALSE PROBLEM.**

Setup
-----

[](#setup)

```
composer require tklein/module-payment-method-availability

```

Go to your Magento root, then run the following magento command:

```
php bin/magento setup:upgrade

```

**If you are in production mode, do not forget to recompile and redeploy the static resources, or to use the `--keep-generated` option.**

Settings
--------

[](#settings)

***Customize the module without efforts.***

### Administrators

[](#administrators)

The following settings are available at `Stores > Configuration > Sales > Payment Methods > Other Payment Methods > Default Payment Method Settings`:

- **Payment Method Availability**: Manage the payment methods availability with the minimum and maximum allowed amount.

Developers
----------

[](#developers)

Please see the following API first, maybe it could resolve your issue:

```

                Magento\Payment\Model\Checks\CanUseForCountry
                Magento\Payment\Model\Checks\CanUseForCurrency
                Magento\Payment\Model\Checks\CanUseCheckout
                Magento\Payment\Model\Checks\CanUseInternal
                Magento\Payment\Model\Checks\TotalMinMax
                Magento\Payment\Model\Checks\ZeroTotal

```

Where the specifications implements the following interface: `\Magento\Payment\Model\Checks\SpecificationInterface`.

In the case of the gateway API, please refer to the validator pool:

`Magento\Payment\Gateway\Validator\ValidatorPool`

Support
-------

[](#support)

- If you have any issue with this code, feel free to [open an issue](https://github.com/thomas-kl1/magento2-payment-method-availability/issues/new).
- If you want to contribute to this project, feel free to [create a pull request](https://github.com/thomas-kl1/magento2-payment-method-availability/compare).

Authors
-------

[](#authors)

- **Thomas Klein** - *Maintainer* - [It's me!](https://github.com/thomas-kl1)

Licence
-------

[](#licence)

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

***That's all folks!***

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

2564d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/95669?v=4)[Thom](/maintainers/thomasklein)[@thomasklein](https://github.com/thomasklein)

---

Top Contributors

[![thomas-kl1](https://avatars.githubusercontent.com/u/20971693?v=4)](https://github.com/thomas-kl1 "thomas-kl1 (3 commits)")

---

Tags

phpmagentopaymentavailabilitymethodcheckoutmagento2

### Embed Badge

![Health badge](/badges/tklein-module-payment-method-availability/health.svg)

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

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)

PHPackages © 2026

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