PHPackages                             viraxpress/payment-restriction - 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. viraxpress/payment-restriction

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

viraxpress/payment-restriction
==============================

ViraXpress Payment Restriction Module for Magento 2

1.0.0(3mo ago)01Apache-2.0PHPPHP ~8.1.0||~8.2.0||~8.3.0||~8.4.0

Since Apr 17Pushed 1mo agoCompare

[ Source](https://github.com/viraxpress/PaymentRestriction)[ Packagist](https://packagist.org/packages/viraxpress/payment-restriction)[ RSS](/packages/viraxpress-payment-restriction/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

ViraXpress Payment Restriction
==============================

[](#viraxpress-payment-restriction)

Payment Restriction is a Magento 2 module that lets store administrators define rules to restrict payment methods by store view, customer group, day of week, date range, and custom cart conditions.

Features
--------

[](#features)

- Admin rule builder for restricting payment methods during checkout
- Multi-select restrictions by store view and customer group
- Restrict by day(s) of the week
- Optional start and end date scheduling for rules
- Enable or disable each rule independently
- Apply restrictions to frontend checkout and optionally admin orders
- Use Magento rule conditions to target specific cart/shipping criteria
- Admin grid with add/edit/delete and mass enable/disable actions
- Global module enable/disable switch under system configuration

Compatibility
-------------

[](#compatibility)

- Magento 2.4.x

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

[](#installation)

1. Install the extension via Composer:

    ```
    composer require viraxpress/payment-restriction
    ```
2. Run the following commands from your Magento root directory:

    ```
    php bin/magento module:enable ViraXpress_PaymentRestriction
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy -f
    php bin/magento cache:flush
    ```

Configuration
-------------

[](#configuration)

- Admin menu: `Stores > Manage Payment Restriction > Payment Restriction Rule`
- System config: `Stores > Configuration > ViraXpress > Payment Restriction`
- Use the global `Enable Payment Restriction Module` setting to turn module behavior on or off.

Support
-------

[](#support)

For support, please contact ViraXpress at  or refer to the license agreement.

License
-------

[](#license)

This extension is licensed under the ViraXpress license agreement. See  for details.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance86

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

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

100d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dfa4cf8adc10a78f5b538cdf399be5d1059c4cfecf5ca5e38e44351bcaf84367?d=identicon)[viraxpress](/maintainers/viraxpress)

---

Top Contributors

[![viraxpress](https://avatars.githubusercontent.com/u/179798477?v=4)](https://github.com/viraxpress "viraxpress (2 commits)")[![mohan10121998](https://avatars.githubusercontent.com/u/179821904?v=4)](https://github.com/mohan10121998 "mohan10121998 (1 commits)")

### Embed Badge

![Health badge](/badges/viraxpress-payment-restriction/health.svg)

```
[![Health](https://phpackages.com/badges/viraxpress-payment-restriction/health.svg)](https://phpackages.com/packages/viraxpress-payment-restriction)
```

###  Alternatives

[pagseguro/php

Biblioteca de integração com o PagSeguro

23260.3k6](/packages/pagseguro-php)[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.4k](/packages/msilabs-bkash)[binkode/laravel-paystack

A description for laravel-paystack.

112.1k](/packages/binkode-laravel-paystack)

PHPackages © 2026

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