# Paypal - Transaction refused because of an invalid argument

**URL:** <https://forum.shopware.com/t/paypal-transaction-refused-because-of-an-invalid-argument/14325>\
**Category:** Shopware 3.5\
**Tags:** general\
**Created:** [11. Juli 2013 um 07:48 UTC](https://forum.shopware.com/t/paypal-transaction-refused-because-of-an-invalid-argument/14325 "2013-07-11T07:48:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ottscho](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@ottscho](https://forum.shopware.com/u/ottscho)\
**Post date:** [11. Juli 2013 um 07:48 UTC](https://forum.shopware.com/t/paypal-transaction-refused-because-of-an-invalid-argument/14325/1 "2013-07-11T07:48:58Z")

</div>

Guten Morgen zusammen, bei einem Kunden unter SW 4.0.8 und neuster Paypalschnittstelle habe ich folgendes Problem, (Unter SW3.5 ging dies damals. Alle anderren zahlungsarten wie Sofortüberweisung oder Skrill etc. funktionieren) dass die Meldung erscheint: Ein Fehler ist aufgetreten. [10413] - Transaction refused because of an invalid argument. See additional error messages for details. The totals of the cart item amounts do not match order amounts. Ich habe das Ganze mal mit protokolliert: Send: array(37) { [„PAYMENTACTION“]=\> string(4) „Sale“ [„RETURNURL“]=\> string(57) „[http://testumgebung.bodenverkauf.de/payment\_paypal/return](http://testumgebung.bodenverkauf.de/payment_paypal/return)“ [„CANCELURL“]=\> string(57) „[http://testumgebung.bodenverkauf.de/payment\_paypal/cancel](http://testumgebung.bodenverkauf.de/payment_paypal/cancel)“ [„NOTIFYURL“]=\> string(108) „[http://testumgebung.bodenverkauf.de/payment\_paypal/notify?session-1=2e609a7ea3c6bee2478f672d63e16b25bb4977ac](http://testumgebung.bodenverkauf.de/payment_paypal/notify?session-1=2e609a7ea3c6bee2478f672d63e16b25bb4977ac)“ [„GIROPAYSUCCESSURL“]=\> string(57) „[http://testumgebung.bodenverkauf.de/payment\_paypal/return](http://testumgebung.bodenverkauf.de/payment_paypal/return)“ [„GIROPAYCANCELURL“]=\> string(57) „[http://testumgebung.bodenverkauf.de/payment\_paypal/cancel](http://testumgebung.bodenverkauf.de/payment_paypal/cancel)“ [„BANKTXNPENDINGURL“]=\> string(57) „[http://testumgebung.bodenverkauf.de/payment\_paypal/return](http://testumgebung.bodenverkauf.de/payment_paypal/return)“ [„ALLOWNOTE“]=\> int(1) [„ADDROVERRIDE“]=\> int(1) [„BRANDNAME“]=\> NULL [„LOGOIMG“]=\> string(90) „[http://testumgebung.bodenverkauf.de/templates/\_default/frontend/\_resources/images/logo.jpg](http://testumgebung.bodenverkauf.de/templates/_default/frontend/_resources/images/logo.jpg)“ [„CARTBORDERCOLOR“]=\> string(6) „E1540F“ [„CUSTOM“]=\> string(32) „195c2cf29b7dcc5f854ce046763b8837“ [„TOTALTYPE“]=\> string(5) „Total“ [„CURRENCYCODE“]=\> string(3) „EUR“ [„SHIPPINGAMT“]=\> string(4) „5.50“ [„AMT“]=\> string(4) „5.50“ [„ITEMAMT“]=\> string(4) „0.00“ [„TAXAMT“]=\> string(4) „0.00“ [„L\_NUMBER0“]=\> string(5) „55363“ [„L\_NAME0“]=\> string(38) „Muster: Eiche Achat Gran Via 4V Gefast“ [„L\_AMT0“]=\> string(4) „0.00“ [„L\_QTY0“]=\> string(1) „1“ [„L\_NUMBER1“]=\> string(5) „31953“ [„L\_NAME1“]=\> string(48) „Muster: Wenge gebleicht SB 3-Stab Basic Plus 300“ [„L\_AMT1“]=\> string(4) „0.00“ [„L\_QTY1“]=\> string(1) „1“ [„CUSTOMERSERVICENUMBER“]=\> string(5) „24967“ [„SHIPTONAME“]=\> string(25) „Ottscho IT - Benjamin Ott“ [„SHIPTOSTREET“]=\> string(10) „Herdstr. 5“ [„SHIPTOSTREET2“]=\> string(0) „“ [„SHIPTOZIP“]=\> string(5) „78050“ [„SHIPTOCITY“]=\> string(9) „Villingen“ [„SHIPTOCOUNTRY“]=\> string(2) „DE“ [„EMAIL“]=\> string(18) „[ottscho@ottscho.de](mailto:ottscho@ottscho.de)“ [„SHIPTOPHONENUM“]=\> string(11) „01714802044“ [„LOCALECODE“]=\> string(2) „DE“ } Empfangen: array(9) { [„TIMESTAMP“]=\> string(20) „2013-07-11T05:40:32Z“ [„CORRELATIONID“]=\> string(13) „8eb7933d1177a“ [„ACK“]=\> string(7) „Failure“ [„VERSION“]=\> string(4) „93.0“ [„BUILD“]=\> string(7) „6825724“ [„L\_ERRORCODE0“]=\> string(5) „10413“ [„L\_SHORTMESSAGE0“]=\> string(94) „Transaction refused because of an invalid argument. See additional error messages for details.“ [„L\_LONGMESSAGE0“]=\> string(63) „The totals of the cart item amounts do not match order amounts.“ [„L\_SEVERITYCODE0“]=\> string(5) „Error“ } Soweit sieht alles okay aus. Der Artikel kostet 0 € und Versand sind 2,50€. Diese Meldung hatte ich schon mal vor längerer Zeit bei einem anderen Kunden in SW3.5 Da gab es Rundungsfehler und hierzu die erklärung von Paypal damals: TaxAMT und ItemAMT müssen dabei der Summe der Line Items - also L\_AMT0 + L\_AMT1 sowie L\_TAXAMT0 und L\_TAXAMT1 entsprechen. L\_AMT0 + L\_AMT1 sind beide 0€ und ItemAMT ist auch 0€. Das sollte passen. L\_TAXAMT0 + L\_TAXAMT1 sind nicht vorhanden. Evtl. ist hier das Problem. TaxAMT ist 0€ Hat mir jemand einen Tipp? :shopware: Danke

---

<div class="post-metadata">

**Author:** ![ottscho](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@ottscho](https://forum.shopware.com/u/ottscho)\
**Post date:** [15. Juli 2013 um 07:48 UTC](https://forum.shopware.com/t/paypal-transaction-refused-because-of-an-invalid-argument/14325/2 "2013-07-15T07:48:58Z")

</div>

Shopware, hat jemand von euch eine Idee?
