ppl / module-report-payment-revenue

ppl/module-report-payment-revenue

Magento 2 PPL Reports module for payment-method revenue review, CSV export and Action Widget integration.

magento2-module Compatibility: 2.4.7-2.4.9 Code Quality: Fail Tests: N/A Security: Pass proprietary

PPL Report Payment Revenue for Magento 2

PPL Report Payment Revenue groups revenue by Magento payment method so finance and operations can review payment adoption and revenue contribution.

What It Adds

  • Payment-method revenue table
  • Canceled-order exclusion and CSV export
  • Optional Action Widget visibility

Requirements And Dependencies

  • PHP: >=8.1
  • Magento packages: magento/module-backend, magento/module-reports, magento/module-sales
  • PPL packages: ppl/module-report-core

Installation

Composer installation:

composer require ppl/module-report-payment-revenue
bin/magento module:enable Ppl_Hub Ppl_ReportCore Ppl_ReportPaymentRevenue
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:clean

Manual app/code installation: copy the module to app/code/Ppl/ReportPaymentRevenue, install the dependencies listed above, then run the same Magento commands without the Composer step.

First Use

  • Install Ppl_ReportCore and Magento Sales.
  • Make sure orders with payment records exist.
  • Review technical payment method codes with the finance or operations team.

Admin entry: PPL Hub > PPL Reports > Payment Revenue.

Integrations And Boundaries

  • Can feed Ppl_ActionWidget when installed.

Localization

The package includes translation CSV files for 12 locales: de_DE, en_US, es_ES, fr_FR, it_IT, ja_JP, nl_NL, pl_PL, pt_BR, ru_RU, tr_TR, zh_CN.

Documentation

  • Screenshot inventory: docs/images/ppl-report-payment-revenue/ in the repository documentation tree

Support

Support contact: [email protected]. Include the module version, Magento version, enabled PPL companion modules, and the relevant admin or storefront screenshot when reporting an issue.

Changelog

1.2.0

  • Adapted to the updated PPL Hub: admin navigation, ACL, and menu integration aligned to the PPL Hub 1.2 line
  • Minor fixes and stability improvements

1.0.1

Administrative release.

Notes:

  • Version bump for package and release administration.
  • No functional changes.

1.0.0

Initial release.

Features:

  • Payment method revenue table
  • sales_order_payment aggregation
  • Canceled order exclusion
  • CSV export
Versions
Version Stability QA Status Compatibility Released
1.2.0 stable Fail Magento 2.4.7-2.4.9 Details 2026-07-08 08:53:53

Requires 7

Package Constraint
magento/framework >=103.0.0 <104.0.0
magento/module-backend >=102.0.0 <103.0.0
magento/module-reports >=100.4.0 <101.0.0
magento/module-sales >=103.0.0 <104.0.0
php >=8.1
ppl/module-hub ^1.2
ppl/module-report-core ^1.2

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.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Pass Pass

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.

Static analysis results
Tool Status Findings Summary
PHPCS Pass 0
PHPMD Pass 0
Cpd Pass 0
Composer validate Info 1 valid; 1 advisory note (composer validate --strict)

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.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 5 5
2.4.8 5 5
2.4.9 6 6

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

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

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.

Security results
Tool Status Findings Summary
Composer audit N/A 0 no resolvable dependency tree to audit: Your requirements could not be resolved to an installable set of packages. Problem 1
Malware scan Pass 0
License
proprietary

More from Pawel Pliousnin Digital Solutions

View vendor
Make it pay

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.