# Paypal ITEM\_TOTAL\_MISMATCH - keine Zahlung möglich

**URL:** <https://forum.shopware.com/t/paypal-item-total-mismatch-keine-zahlung-moeglich/87744>\
**Category:** Shopware 6 (German)\
**Created:** [18. Mai 2021 um 16:28 UTC](https://forum.shopware.com/t/paypal-item-total-mismatch-keine-zahlung-moeglich/87744 "2021-05-18T16:28:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HBWHandel](https://avatars.discourse-cdn.com/v4/letter/h/b487fb/32.png) [@HBWHandel](https://forum.shopware.com/u/HBWHandel)\
**Post date:** [18. Mai 2021 um 16:28 UTC](https://forum.shopware.com/t/paypal-item-total-mismatch-keine-zahlung-moeglich/87744/1 "2021-05-18T16:28:17Z")

</div>

Moin,

Kunden können in unserem Shop sehr vereinzelt Bestellungen nicht mit Paypal bezahlen. Wir nutzen die Paypap-Plus-Integration von Shopware.

Im Logfile finde ich dann folgende Fehlermeldung:

```
{
  "name":"UNPROCESSABLE_ENTITY",
  "details":[
     {
        "field":"/purchase_units/@reference_id=='default'/amount/breakdown/item_total/value",
        "value":"96.06",
        "issue":"ITEM_TOTAL_MISMATCH",
        "description":"Should equal sum of (unit_amount * quantity) across all items for a given purchase_unit"
     }
  ],
  "message":"The requested action could not be performed, semantically incorrect, or failed business validation.",
  "debug_id":"bd2453f8c9582",
  "links":[
     {
        "href":"https://developer.paypal.com/docs/api/orders/v2/#error-ITEM_TOTAL_MISMATCH",
        "rel":"information_link",
        "method":"GET"
     }
]
},
{
  "headers":{
     "content-type":"application/json"
  },
  "json":[
     "[object] (Swag\\PayPal\\RestApi\\V2\\Api\\Patch: {\"op\":\"replace\",\"path\":\"/purchase_units/@reference_id=='default'/shipping/address\",\"value\":{\"address_line_1\":\"xxxc Hof\",\"address_line_2\":null,\"admin_area_2\":\"xxx\",\"admin_area_1\":null,\"postal_code\":\"71126\",\"country_code\":\"DE\"},\"from\":null})",
     "[object] (Swag\\PayPal\\RestApi\\V2\\Api\\Patch: {\"op\":\"replace\",\"path\":\"/purchase_units/@reference_id=='default'/shipping/name\",\"value\":{\"full_name\":\"xxxxx\"},\"from\":null})",
     "[object] (Swag\\PayPal\\RestApi\\V2\\Api\\Patch: {\"op\":\"replace\",\"path\":\"/purchase_units/@reference_id=='default'/amount\",\"value\":{\"breakdown\":{\"item_total\":{\"currency_code\":\"EUR\",\"value\":\"96.06\"},\"shipping\":{\"currency_code\":\"EUR\",\"value\":\"15.00\"},\"handling\":null,\"tax_total\":null,\"insurance\":null,\"shipping_discount\":null,\"discount\":{\"currency_code\":\"EUR\",\"value\":\"0.00\"}},\"currency_code\":\"EUR\",\"value\":\"111.06\"},\"from\":null})"
  ]
}

```

Ich kann den Fehler leider nicht auf dem Testsystem provozieren. Ich kann hier auch keine Unstimmigkeiten entdecken:

```
{
"op":"replace",
"path":"/purchase_units/@reference_id=='default'/amount",
"value":{
  "breakdown":{
     "item_total":{
        "currency_code":"EUR",
        "value":"96.06"
     },
     "shipping":{
        "currency_code":"EUR",
        "value":"15.00"
     },
     "handling":null,
     "tax_total":null,
     "insurance":null,
     "shipping_discount":null,
     "discount":{
        "currency_code":"EUR",
        "value":"0.00"
     }
  },
  "currency_code":"EUR",
  "value":"111.06"
},
"from":null
}

```

Hat jemand einen Ansatz oder Ideen für weitere Recherchen?

Vielen Dank & Grüße  
Oli

---

<div class="post-metadata">

**Author:** ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)\
**Post date:** [19. Mai 2021 um 07:19 UTC](https://forum.shopware.com/t/paypal-item-total-mismatch-keine-zahlung-moeglich/87744/2 "2021-05-19T07:19:11Z")

</div>

Hallo Oli,

es wäre noch interessant zu wissen wie der Cart oder die Order aussieht. So könnte man sehen, was zu PayPal übertragen wird und was nicht. Ich vermute, dass ein bestimmter Type von LineItem nicht von PayPal übernommen wird.

Viele Grüße aus Schöppingen  
Michael Telgmann
