Internetmarke Testkauf

Manueller Einzeltest mit PPL-Produktcodes. Kein automatischer Massendruck, keine eBay-Bestellung.
DashboardeBay AccountsVersanddienst-EinstellungenInternetmarkeVersandprofileSystemstatusFehlercenter

PPL nationale Briefprodukte

Quelle: PPL-Datei / feste Mapping-Tabelle. Products API 401 blockiert diesen PPL-basierten Kauf nicht.

ProduktproductCodetotal (Cent)Preismax. Maßemax. Gewicht
Standardbrief DE1950,95 €235 x 125 x 5 mm20 g
Kompaktbrief DE111101,10 €235 x 125 x 10 mm50 g
Großbrief DE211801,80 €353 x 250 x 20 mm500 g
Maxibrief DE312902,90 €353 x 250 x 50 mm1000 g
Dry Run aktiv. Die Dry-Run-Buttons führen nur eine Payload-Vorschau aus — kein Porto, keine Internetmarke.

Validierter API-Payload nach OpenAPI/YAML

Quelle: Deutsche Post INTERNETMARKE OpenAPI v1.30 — POST /app/shoppingcart/pdf?directCheckout=true
Endpoint: POST https://api-eu.dhl.com/post/de/shipping/im/v1/app/shoppingcart/pdf?directCheckout=true
InvalidTypeIdException-Ursache: Jackson InvalidTypeIdException: Root-Objekt ohne type-Discriminator AppShoppingCartPDFRequest; total/pageFormatId fälschlich in positions[]; recipient statt receiver; street/zip statt addressLine1/postalCode; country als DE statt ISO-3 DEU; fehlendes position-Objekt.

Geprüfte OpenAPI-Schemas
  • components.schemas.AppShoppingCartPDFRequest (discriminator: type)
  • components.schemas.AppShoppingCartPDFPosition (discriminator: positionType)
  • components.schemas.AddressBinding
  • components.schemas.Address
  • components.schemas.VoucherPosition

Korrekturen gegenüber altem Payload:

  • Root: type = "AppShoppingCartPDFRequest" (Pflicht-Discriminator, OpenAPI DISCRIMINATOR = type)
  • Root: total als int in Euro-Cent (180), nicht in positions[]
  • Root: pageFormatId als int (2), nicht in positions[]
  • positions[]: positionType = "AppShoppingCartPDFPosition" (Discriminator)
  • positions[]: productCode als int (21)
  • positions[]: voucherLayout = "ADDRESS_ZONE"
  • positions[]: position = { labelX, labelY, page } Pflicht (>0)
  • positions[]: address.receiver statt address.recipient
  • Address: addressLine1, postalCode, country als ISO-3 (DEU)

Alter Payload (fehlerhaft)

{
  "createManifest": false,
  "createShippingList": "2",
  "dpi": "DPI300",
  "positions": [
    {
      "positionType": "AppShoppingCartPDFPosition",
      "productCode": 21,
      "total": 180,
      "pageFormatId": 2,
      "voucherLayout": "ADDRESS_ZONE",
      "address": {
        "sender": {
          "name": "AuktionPower GmbH",
          "street": "Am Brunnstein 1",
          "zip": "82481",
          "city": "Mittenwald",
          "country": "DE"
        },
        "recipient": {
          "name": "DEPrint Testempfänger",
          "street": "Testweg 1",
          "zip": "53113",
          "city": "Bonn",
          "country": "DE"
        }
      }
    }
  ]
}

Korrigierter Payload (OpenAPI v1.30)

{
  "type": "AppShoppingCartPDFRequest",
  "total": 180,
  "createManifest": false,
  "createShippingList": "2",
  "dpi": "DPI300",
  "pageFormatId": 2,
  "positions": [
    {
      "productCode": 21,
      "voucherLayout": "ADDRESS_ZONE",
      "positionType": "AppShoppingCartPDFPosition",
      "position": {
        "labelX": 1,
        "labelY": 1,
        "page": 1
      },
      "address": {
        "sender": {
          "name": "AuktionPower GmbH",
          "addressLine1": "Am Brunnstein 1",
          "postalCode": "82481",
          "city": "Mittenwald",
          "country": "DEU"
        },
        "receiver": {
          "name": "DEPrint Testempfänger",
          "addressLine1": "Testweg 1",
          "postalCode": "53113",
          "city": "Bonn",
          "country": "DEU"
        }
      }
    }
  ]
}

Nur Anzeige — kein API-Aufruf, kein Porto. Der Echtkauf-Button verwendet den korrigierten Payload.

Großbrief DE — Payload prüfen (Dry Run)

VersandproduktGroßbrief DE
productCode21
total180 (Cent = 1,80 €)
QuellePPL-Datei / feste Mapping-Tabelle
Empfänger (Testdaten)DEPrint Testempfänger, Testweg 1, 53113 Bonn, DE
AbsenderAuktionPower GmbH, Am Brunnstein 1, 82481 Mittenwald, DE

Zeigt den konkreten ShoppingCart-PDF-Payload — kein Porto, keine API-Anfrage.

Sicherheitsmodus — Großbrief DE Echtkauf

Status: System-Freischaltung: ja

Beim echten Kauf wird Porto über die Portokasse belastet und eine Internetmarke erzeugt. Ohne System-Freischaltung (LIVE_PURCHASE_ENABLED=true) blockiert der Server jeden Live-Kauf.

Kompaktbrief DE — Dry Run

Echtkauf deaktiviert. Der erste Live-Test erfolgt nur mit Großbrief DE.

ProduktKompaktbrief DE
productCode11
total110 (Cent = 1,10 €)
Empfänger (Testdaten)DEPrint Testempfänger, Testweg 1, 53113 Bonn, DE
AbsenderAuktionPower GmbH, Am Brunnstein 1, 82481 Mittenwald, DE

Absender aus Versanddienst-Einstellungen. Zugangsdaten aus Internetmarke Einstellungen.

Zurück zu Internetmarke Einstellungen