# sapient/module-worldpay 2.4.8-p40426

> Version 2.4.8-p40426 of sapient/module-worldpay, released 2026-04-27.

`composer require sapient/module-worldpay:2.4.8-p40426`

Canonical URL: https://packagento.com/sapient/module-worldpay/2.4.8-p40426

## At a glance

- **Released**: 2026-04-27
- **QA**: failing

## What it does

Sapient WorldPay Payment Module

## Dependencies

### Require

| Package | Constraint |
|---|---|
| magento/module-payment | >=100.0.0 |
| magento/module-quote | >=100.0.0 |
| magento/module-sales | >=100.0.0 |
| magento/module-vault | >=100.0.0 |

## Quality

Version 2.4.8-p40426 fails the Packagento QA pipeline. Verdicts below are per-cell (Magento line × PHP version) for the matrixed tools, and run-once for the static / security tiers.


### Compatibility

Each Magento line is installed on its supported PHP versions, then the module is built (DI compile + static-content deploy). Cells show passed / failed / untested; staircase gaps render as `–`.

| 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 | 1 |


### Code Quality

Advisory checks against the module's source. Never affect the Compatibility verdict — 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.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Warning | 239 | 239 warnings (ruleset: Magento2) — 93 auto-fixable with phpcbf |
| PHPMD | Warning | 841 | 841 rule violations (MissingImport:242, UnusedLocalVariable:120, UndefinedVariable:111, UnusedFormalParameter:77, IfStatementAssignment:50) |
| Cpd | Pass | 0 |  |
| Composer validate | Info | 5 | valid; 5 advisory notes (composer validate --strict) |

#### PHPStan

Type-checks the module against a real Magento install. Re-runs per Magento + PHP version because resolvable symbols differ between releases.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | 4166 | 4166 | – | – |
| 2.4.8 | – | 4167 | 4167 | – |
| 2.4.9 | – | – | 4155 | 4158 |


### Tests

Unit and integration suites run per Magento + PHP cell. Test failures speak to the module's behaviour, not its compatibility with a line, so they're reported here separately.

#### Unit Tests

| 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

| 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

Dependency-advisory audit (composer audit) plus a source malware scan. A malware detection fails the version outright.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| Composer audit | Pass | 0 |  |
| Malware scan | Pass | 0 |  |

## Parent package

[sapient/module-worldpay](https://packagento.com/sapient/module-worldpay.md) — full catalogue, pricing, install steps, and vendor info.

