deutschepost / module-internetmarke

deutschepost/module-internetmarke

INTERNETMARKE shipping product capabilities for the DHL Paket carrier module

magento2-module Compatibility: 2.4.8-2.4.9 Code Quality: Fail Tests: Fail Security: Pass OSL-3.0

Deutsche Post Internetmarke

Create shipping labels using Deutsche Post Internetmarke shipping products.

Description

The Deutsche Post DHL Group Internetmarke module is a companion to the
DHL Paket carrier module. It extends the list of available shipping
products to allow for smaller dimension shipping boxes (e.g. letters).

Requirements

  • PHP >= 8.3

Compatibility

  • Magento >= 2.4.8

Installation Instructions

Install sources:

composer require deutschepost/module-internetmarke

Enable module:

./bin/magento module:enable DeutschePost_Internetmarke
./bin/magento setup:upgrade

Flush cache and compile:

./bin/magento cache:flush
./bin/magento setup:di:compile

Uninstallation

To unregister the module from the application, run the following command:

./bin/magento module:uninstall --remove-data DeutschePost_Internetmarke
composer update

This will automatically remove source files, clean up the database, update package dependencies.

Support

In case of questions or problems, please have a look at the
Support Portal (FAQ) first.

If the issue cannot be resolved, you can contact the support team via the
Support Portal or by sending an email
to [email protected].

License

OSL - Open Software Licence 3.0

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.

2.8.0

Magento 2.4.9 compatibility release

Added

  • Support for Magento 2.4.9
  • Support for PHP 8.5

2.7.0

Changed

  • Migrate from legacy SOAP SDKs (sdk-api-oneclickforapp, sdk-api-oneclickforrefund) to new REST SDK (sdk-api-internetmarke).
  • Replace legacy factory classes with unified InternetmarkeServiceFactory.

Removed

  • Dependencies on deutschepost/sdk-api-oneclickforapp and deutschepost/sdk-api-oneclickforrefund.

2.6.0

Added

  • Compatibility for Magento 2.4.8.
  • Support for PHP 8.3 and PHP 8.4.

Changed

  • Updated error handling for improved Magento core compatibility.

Removed

  • PHP 8.2 support

2.5.0

Changed

  • Disable MRN input defined by DHL Paket which do not apply to Deutsche Post shipping products.

2.4.0

Added

  • Compatibility for Magento 2.4.7.

Changed

  • Use escaper instead of block for escaping in templates

Removed

  • PHP7.x support
  • PHP8.1 support

2.3.3

Changed

  • Establish compatibility to dhl/module-carrier-paket:2.8.0: Deselect new
    DHL Paket services for INTERNETMARKE shipments.

2.3.2

Changed

  • Establish compatibility to netresearch/module-shipping-core:2.9.0.
  • Establish compatibility to dhl/module-carrier-paket:2.7.0: Deselect new
    DHL Paket services for INTERNETMARKE shipments.

2.3.1

Fixed

  • Consider database table prefix when updating products lists.

2.3.0

Magento 2.4.4 compatibility release

Added

  • Support for Magento 2.4.4

Removed

  • Support for PHP 7.1

2.2.0

Changed

  • Establish compatibility with shipping core 2.7.

2.1.1

Fixed

  • Skip product list update if no API credentials are configured.

2.1.0

Added

  • Interactive batch processing for Internetmarke shipping products.

2.0.3

Changed

  • Establish compatibility with shipping core 2.4.

2.0.2

Fixed

  • Roll back multi-package label requests on error.

2.0.1

Changed

  • Use netresearch/module-shipping-core package for three-letter country code calculation.

2.0.0

Changed

  • Replace shipping core package dependency.

1.1.2

Fixed

  • Use ISO 3166 ALPHA-3 country code in label requests.

1.1.1

Fixed

  • Prevent PageFormatCollection does not exist exception, caused by wrong import statement.

1.1.0

Added

  • Update shipping products weekly via cron job.
  • Define web service log settings in module configuration.

Fixed

  • Show web service error messages in packaging popup.

1.0.0

Initial release

Versions
Version Stability QA Status Compatibility Released
2.8.0 stable Fail Magento 2.4.8-2.4.9 Details 2026-06-03 10:08:35
2.7.0 stable Not tested Not yet tested Details 2026-03-11 14:05:15
2.6.0 stable Not tested Not yet tested Details 2025-06-17 11:10:50
2.5.0 stable Not tested Not yet tested Details 2025-03-18 13:10:00
2.4.0 stable Not tested Not yet tested Details 2024-05-28 08:11:01
2.3.3 stable Not tested Not yet tested Details 2023-06-20 11:37:07
2.3.2 stable Not tested Not yet tested Details 2023-03-27 10:22:27
2.3.1 stable Not tested Not yet tested Details 2022-10-07 10:25:09
2.3.0 stable Not tested Not yet tested Details 2022-04-29 08:42:35
2.2.0 stable Not tested Not yet tested Details 2022-04-05 14:22:33
2.1.1 stable Not tested Not yet tested Details 2022-02-02 22:55:41
2.1.0 stable Not tested Not yet tested Details 2021-11-29 14:12:52
2.0.3 stable Not tested Not yet tested Details 2021-10-28 13:18:02
2.0.2 stable Not tested Not yet tested Details 2021-08-25 13:22:21
1.1.2 stable Not tested Not yet tested Details 2021-04-28 12:33:28
2.0.1 stable Not tested Not yet tested Details 2021-04-28 10:51:15
1.1.1 stable Not tested Not yet tested Details 2021-04-13 11:57:38
2.0.0 stable Not tested Not yet tested Details 2021-04-07 12:47:41
1.1.0 stable Not tested Not yet tested Details 2021-03-01 08:38:13
1.0.0 stable Not tested Not yet tested Details 2021-01-26 17:59:59

Requires 15

Package Constraint
deutschepost/sdk-api-internetmarke ^1.0.0
deutschepost/sdk-api-prodws ^1.3.0
dhl/module-carrier-paket ^3.4.0
dhl/module-shipping-core ^2.5.0
dhl/module-unified-tracking ^2.3.0
magento/framework ^103.0.8
magento/module-backend ^102.0.8
magento/module-config ^101.2.8
magento/module-cron ^100.4.8
magento/module-sales ^103.0.8
magento/module-shipping ^100.4.8
magento/module-store ^101.1.8
netresearch/config-fields-m2 ^1.3.0
netresearch/module-shipping-core ^4.0.0
php ~8.3.0||~8.4.0||~8.5.0

Requires-dev 2

Package Constraint
nyholm/psr7 ^1.5.0
phpunit/phpunit ^10.5.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.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 not tested not tested
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 Warning 14 14 warnings (ruleset: Magento2)
PHPMD Warning 44 44 rule violations (UnusedFormalParameter:25, MissingImport:13, ExcessiveMethodLength:2, CyclomaticComplexity:1, NPathComplexity:1)
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. Cell → details modal.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A Error
2.4.8 25 25
2.4.9 25 25

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 Error Error
2.4.8 Error Error
2.4.9 Error Error

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 Pass 0
Malware scan Pass 0
License
OSL-3.0
Authors

More from deutschepost

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.