customgento / module-invoice-m2
customgento/module-invoice-m2
This Magento 2 module extends the default purchase order payment method by a customer group and admin filter.
CustomGento_Invoice (Magento 2)
This Magento 2 module extends the default purchase order payment method by a customer group and admin filter. You can use it to allow the payment method only for specific customer groups or disable it in the checkout and use it only in the admin area.
Features
- Define that the payment method should only be available for specific customer groups.
- Define that the payment method should only be available in the backend.
Compatibility
- Magento >= 2.3.3
Installation Instructions
The installation procedure highly depends on your setup. In any case, you should use a version control system like git and test the installation on a development system.
Composer Installation
composer require customgento/module-invoice-m2bin/magento module:enable CustomGento_Invoicebin/magento setup:upgradebin/magento setup:di:compilebin/magento cache:flush
Manual Installation
- unzip the downloaded files
- create the directory
app/code/CustomGento/Invoice/:mkdir -p app/code/CustomGento/Invoice/ - copy the unzipped files to the newly created directory
app/code/CustomGento/Invoice/ bin/magento module:enable CustomGento_Invoicebin/magento setup:upgradebin/magento setup:di:compilebin/magento cache:flush
Uninstallation
The installation procedure depends on your setup:
Uninstallation After Composer Installation
bin/magento module:uninstall CustomGento_Invoicebin/magento setup:di:compilebin/magento cache:flush
Uninstallation After Manual Installation
bin/magento module:disable CustomGento_Invoicebin/magento setup:di:compilebin/magento cache:flushrm -r app/code/CustomGento/Invoice
Support
If you have any issues with this extension, feel free to open an issue on GitHub.
Licence
Copyright
© 2018 - present CustomGento / Simon Sprankel
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 1.1.0 | stable | Pass | Magento 2.4.7-2.4.9 Details | 2026-05-29 04:56:41 |
| 1.0.6 | stable | Not tested | Not yet tested Details | 2026-01-05 10:30:42 |
| 1.0.5 | stable | Not tested | Not yet tested Details | 2024-05-26 19:39:16 |
| 1.0.4 | stable | Not tested | Not yet tested Details | 2023-06-19 12:42:03 |
| 1.0.3 | stable | Not tested | Not yet tested Details | 2022-05-04 11:10:27 |
| 1.0.2 | stable | Not tested | Not yet tested Details | 2020-11-18 15:21:43 |
| 1.0.1 | stable | Not tested | Not yet tested Details | 2020-11-18 14:08:24 |
| 1.0.0 | stable | Not tested | Not yet tested Details | 2019-12-20 10:01:37 |
Requires 8
| Package | Constraint |
|---|---|
| php | ~7.3.0||~7.4.0||~8.1.0||~8.2.0||~8.3.0||~8.4.0||~8.5.0 |
| magento/framework | ~102.0||~103.0 |
| magento/module-backend | ~101.0||~102.0 |
| magento/module-config | ~101.1 |
| magento/module-customer | ~102.0||~103.0 |
| magento/module-offline-payments | ~100.3||~100.4 |
| magento/module-quote | ~101.1 |
| magento/module-store | ~101.0 |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | not tested | not tested | ||
| 2.4.8 | not tested | not tested | ||
| 2.4.9 | Error | not tested |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
More from customgento
View vendorAdmin Payment for Magento 2 adds an internal payment method in the admin area.
Remove Viewed Products for Magento 2 removes the recently viewed products feature completely from Magento.
Remove Product Comparison for Magento 2 removes the product comparison feature completely from Magento.
Default Store Code Remover for Magento 2 hides the store code in the default store from the URL.
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.