# deutschepost/module-internetmarke

> INTERNETMARKE shipping product capabilities for the DHL Paket carrier module

`composer require deutschepost/module-internetmarke`

Canonical URL: https://packagento.com/deutschepost/module-internetmarke

## At a glance

- **Vendor**: deutschepost (https://packagento.com/deutschepost.md)
- **Latest version**: 2.8.0 — released 2026-06-03
- **Pricing**: Free
- **Package type**: Magento 2 module
- **Status**: active, accepting new buyers

## Installation

Packagento is licence-gated, so even free packages need a licence on a project before Composer can resolve them.

1. **Sign in or create an account** at https://packagento.com/customer/account/.

2. **Add the package to your account.** Open https://packagento.com/deutschepost/module-internetmarke and complete the free checkout. A licence is minted automatically.

3. **Create or pick a project, then activate the licence on it.**
   - Projects represent the Magento installs you deploy to. Manage them at https://packagento.com/projects/.
   - Activate the new licence on the project you'll deploy this package to. Activation is what generates the Composer credentials scoped to that project.

4. **Add the project credentials to your Magento codebase.**

   Grab the project's public + private key from https://packagento.com/projects/ (open the project, then its Credentials tab), and add them to `auth.json`:

   ```json
   {
     "http-basic": {
       "packagento.com": {
         "username": "ppk_live_...",
         "password": "psk_live_..."
       }
     }
   }
   ```

   Add the Packagento Composer repository to `composer.json`:

   ```json
   {
     "repositories": [
       { "type": "composer", "url": "https://packagento.com" }
     ]
   }
   ```

5. **Install and apply.**

   ```bash
   composer require deutschepost/module-internetmarke:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

INTERNETMARKE shipping product capabilities for the DHL Paket carrier module

## README

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)](http://dhl.support.netresearch.de/) first.

If the issue cannot be resolved, you can contact the support team via the
[Support Portal](http://dhl.support.netresearch.de/) or by sending an email
to <dhl.support@netresearch.de>.

License
-------
[OSL - Open Software Licence 3.0](http://opensource.org/licenses/osl-3.0.php)

## Changelog

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

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

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

## Recent Versions

| Version | Released |
|---|---|
| 2.8.0 | 2026-06-03 |
| 2.7.0 | 2026-03-11 |
| 2.6.0 | 2025-06-17 |
| 2.5.0 | 2025-03-18 |
| 2.4.0 | 2024-05-28 |
| 2.3.3 | 2023-06-20 |
| 2.3.2 | 2023-03-27 |
| 2.3.1 | 2022-10-07 |
| 2.3.0 | 2022-04-29 |
| 2.2.0 | 2022-04-05 |

Showing 10 of 20 versions. Full release history on https://packagento.com/deutschepost/module-internetmarke.

## Dependencies

### Require

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

### Require (dev)

| Package | Constraint |
|---|---|
| nyholm/psr7 | ^1.5.0 |
| phpunit/phpunit | ^10.5.0 |

## Quality

Latest release (2.8.0) 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 | not tested | not tested | – | – |
| 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 | 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 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 | N/A | Error | – | – |
| 2.4.8 | – | 25 | 25 | – |
| 2.4.9 | – | – | 25 | 25 |


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

## Licence and pricing

Free. A licence is still minted on checkout and bound to your project for Composer access — no payment step.

Refundable within 14 days of first purchase via https://packagento.com/account/refunds/.

## Install via Claude Code or any MCP client

The Packagento MCP server can run the licence + project + Composer steps above in one tool call:

```
purchase_and_install_packages(
  composer_names=["deutschepost/module-internetmarke"],
  project_id="proj_xxx"
)
```

This handles cart, checkout, licence minting, project activation, and writes auth.json credentials. Connect a client with `claude mcp add packagento https://mcp.packagento.com`. Full setup at https://packagento.com/docs/mcp-setup.

## Vendor

deutschepost is a Magento 2 vendor on Packagento. See https://packagento.com/deutschepost.md for their full catalogue.

