viraxpress/payment-restriction
最新稳定版本:1.0.0
Composer 安装命令:
composer require viraxpress/payment-restriction
包简介
ViraXpress Payment Restriction Module for Magento 2
README 文档
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
-
Install the extension via Composer:
composer require viraxpress/payment-restriction
-
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 Modulesetting 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.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2026-06-10