magemaclean / m2-offlinepaymentscontrol
Magento 2 extension to control offline payment method availability and invoice capabilities
Package info
github.com/magemaclean/m2-offlinepaymentscontrol
Type:magento2-module
pkg:composer/magemaclean/m2-offlinepaymentscontrol
Requires
- php: ~8.1.0||~8.2.0||~8.3.0||~8.4.0||~8.5.0
- magemaclean/m2-core: ^1.0.5
- magento/framework: 103.0.*||104.0.*
This package is auto-updated.
Last update: 2026-08-06 03:32:37 UTC
README
Composer package: magemaclean/mage2-offlinepaymentscontrol
Magento module: MageMaclean_OfflinePaymentsControl
Version: 2.0.0
Control which Magento offline payment methods appear at checkout, in the Admin order screen, and during multishipping checkout. Optionally enable authorize, capture, refund, partial refund, and void invoice actions per offline method.
Features
- Disable check/money order, bank transfer, cash on delivery, and purchase order per area (frontend checkout vs admin order create)
- Multishipping checkout respects the same frontend disable rules
- Per-method invoice capability toggles (authorize, capture, partial capture, refund, partial refund, void)
- Website-scoped configuration under Stores → Configuration → MageMaclean → Offline Payments Control
Requirements
| Requirement | Version |
|---|---|
| Magento Open Source / Adobe Commerce | 2.4.7+ |
| PHP | 8.1 – 8.5 |
| MageMaclean Core | magemaclean/m2-core ^1.0.5 |
Installation
composer require magemaclean/mage2-offlinepaymentscontrol php bin/magento setup:upgrade php bin/magento module:enable MageMaclean_OfflinePaymentsControl php bin/magento cache:flush
See docs/installation-guide.md for manual install and production steps.
Configuration
MageMaclean → Offline Payments Control → Configuration, or Stores → Configuration → MageMaclean → Offline Payments Control.
| Group | Purpose |
|---|---|
| Frontend Checkout | Multiselect methods to hide on storefront checkout |
| Adminhtml Order | Multiselect methods to hide when creating orders in Admin |
| Invoice Options | Per-method toggles for invoice actions |
Empty multiselects mean “no restrictions” for disable lists, and “all methods allowed” for invoice capability lists.
Documentation
Development
MAGENTO_ROOT=/var/www/magento2 bash scripts/sync-module.sh MAGENTO_ROOT=/var/www/magento2 bash scripts/release-gate.sh
Support
License
OSL-3.0 — see LICENSE.txt.