viraxpress/payment-restriction

ViraXpress Payment Restriction Module for Magento 2

Maintainers

Package info

github.com/viraxpress/PaymentRestriction

Type:magento2-module

pkg:composer/viraxpress/payment-restriction

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-04-17 11:16 UTC

This package is auto-updated.

Last update: 2026-06-10 10:30:48 UTC


README

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

  • 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

  • Magento 2.4.x

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

  • 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

For support, please contact ViraXpress at https://www.viraxpress.com or refer to the license agreement.

License

This extension is licensed under the ViraXpress license agreement. See https://www.viraxpress.com/license for details.