# vipps/module-payment 3.0.4

> Version 3.0.4 of vipps/module-payment, released 2026-10-01.

`composer require vipps/module-payment:3.0.4`

Canonical URL: https://packagento.com/vipps/module-payment/3.0.4

## At a glance

- **Released**: 2026-10-01
- **Magento**: 101.0.*|103.0.*
- **QA**: failing

## What it does

Vipps MobilePay Payment Module for Magento 2

## Dependencies

### Require

| Package | Constraint |
|---|---|
| magento/framework | 101.0.*\|103.0.* |
| magento/module-checkout | 100.2.*\|100.4.* |
| magento/module-payment | 100.2.*\|100.4.* |
| magento/module-sales | 101.0.*\|103.0.* |
| psr/log | ^1.0\|\|^2.0\|\|^3.0 |

### Require (dev)

| Package | Constraint |
|---|---|
| phpmd/phpmd | @stable |
| phpunit/phpunit | ^9.0 |
| squizlabs/php_codesniffer | @stable |

## Quality

Version 3.0.4 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 | Pass |


### 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 | Fail | 558 | 1 error, 557 warnings (ruleset: Magento2), 259 auto-fixable with phpcbf |
| PHPMD | Warning | 95 | 95 rule violations (UnusedPrivateField:31, UnusedFormalParameter:30, MissingImport:26, UnusedPrivateMethod:5, UnusedLocalVariable:2) |
| Cpd | Pass | 0 |  |
| Composer validate | Info | 1 | valid; 1 advisory note (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 | Error | Error | – | – |
| 2.4.8 | – | 18 | 18 | – |
| 2.4.9 | – | – | 18 | 18 |


### 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 | 18 | 18 | – | – |
| 2.4.8 | – | 22 | 22 | – |
| 2.4.9 | – | – | 20 | 20 |

#### Integration Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | Error | Error | – | – |
| 2.4.8 | – | Error | Error | – |
| 2.4.9 | – | – | Error | Error |


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

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

