# Probleme mit Paypal

**URL:** https://forum.shopware.com/t/probleme-mit-paypal/527
**Category:** Shopware 3.5
**Tags:** programming
**Created:** [2. November 2010 um 16:52 UTC](https://forum.shopware.com/t/probleme-mit-paypal/527 "2010-11-02T16:52:46Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![justcom](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@justcom](https://forum.shopware.com/u/justcom)
#### Post date: [2. November 2010 um 16:52 UTC](https://forum.shopware.com/t/probleme-mit-paypal/527/1 "2010-11-02T16:52:46Z")

</div>

Hallo, ich habe folgendes Problem bei meiner Installation. Es funktioniert alles prächtig, allerdings kommt beim Checkout mit der Zahlungsart Paypal folgender Fehler: [quote]Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. Security error Security header is not valid in Shopware/Plugins/Default/Frontend/Paypal/Paypal.php on line 43 Stack trace: #0 Enlight/Controller/Action.php(55): Shopware\_Controllers\_Frontend\_Paypal-\>errorApiAction() #1 Enlight/Controller/Dispatcher/DispatcherDefault.php(329): Enlight\_Controller\_Action-\>dispatch(‘errorApiAction’) #2 Enlight/Controller/Front.php(88): Enlight\_Controller\_Dispatcher\_DispatcherDefault-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #3 Shopware/Bootstrap.php(21): Enlight\_Controller\_Front-\>dispatch() #4 Enlight/Application.php(69): Shopware\_Bootstrap-\>run() #5 shopware.php(6): Enlight\_Application-\>run() #6 {main} [/quote] Was könnte das sein? Ich habe Paypal Express bereits deaktiviert und auch die API-Daten mehrfach überprüft, die sind definitiv richtig eingegeben inkl. API-Signatur. Weiß jemand Rat??

---

<div class="post-metadata">

### Author: ![TSchenk](https://avatars.discourse-cdn.com/v4/letter/t/779978/32.png) [@TSchenk](https://forum.shopware.com/u/TSchenk)
#### Post date: [2. November 2010 um 17:02 UTC](https://forum.shopware.com/t/probleme-mit-paypal/527/2 "2010-11-02T17:02:08Z")

</div>

Hallo, kann es sein, das du das PHP-Modul CURL nicht instaliert hast??? Der Shop fliegt nämlich bei folgender Prüfung weg: `if(isset($this-\>sSystem-\>\_SESSION['curl\_error\_no']))` ##EDIT: Hab nix gesagt, hab mich mal schön verschaut :quite: Viele Grüße Thomas

---

<div class="post-metadata">

### Author: ![justcom](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@justcom](https://forum.shopware.com/u/justcom)
#### Post date: [2. November 2010 um 17:14 UTC](https://forum.shopware.com/t/probleme-mit-paypal/527/3 "2010-11-02T17:14:17Z")

</div>

Zeile 43 wäre das hier: [quote]$e = new Enlight\_Exception($resArray[“L\_SHORTMESSAGE”.$count].’ '.$resArray[“L\_LONGMESSAGE”.$count], $resArray[“L\_ERRORCODE”.$count], $e);[/quote] Mit CURL hat das wohl nichts zu tun.

---

<div class="post-metadata">

### Author: ![Stefan\_Heyne](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@Stefan\_Heyne](https://forum.shopware.com/u/Stefan_Heyne)
#### Post date: [2. November 2010 um 17:36 UTC](https://forum.shopware.com/t/probleme-mit-paypal/527/4 "2010-11-02T17:36:04Z")

</div>

Ist die Paypal Sandbox noch on? Die kann nämlich nicht mit realen Daten eingesetzt werden, sondern nur mit Sandbox Testdaten. Oder das Paypal Konto wurde noch nicht ordnungsgemäß verrifiziert evtl.?

---

<div class="post-metadata">

### Author: ![justcom](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@justcom](https://forum.shopware.com/u/justcom)
#### Post date: [2. November 2010 um 17:49 UTC](https://forum.shopware.com/t/probleme-mit-paypal/527/5 "2010-11-02T17:49:38Z")

</div>

Sandbox war tatsächlich aktiviert. Die Paypal-Logindaten sind definitiv korrekt und verifiziert. Jetzt kommt aber der Fehler: [quote]Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. 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. in Shopware/Plugins/Default/Frontend/Paypal/Paypal.php on line 43 Stack trace: #0 Enlight/Controller/Action.php(55): Shopware\_Controllers\_Frontend\_Paypal-\>errorApiAction() #1 Enlight/Controller/Dispatcher/DispatcherDefault.php(329): Enlight\_Controller\_Action-\>dispatch(‚errorApiAction‘) #2 Enlight/Controller/Front.php(88): Enlight\_Controller\_Dispatcher\_DispatcherDefault-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #3 Shopware/Bootstrap.php(21): Enlight\_Controller\_Front-\>dispatch() #4 Enlight/Application.php(69): Shopware\_Bootstrap-\>run() #5 shopware.php(6): Enlight\_Application-\>run() #6 {main}[/quote]

---

<div class="post-metadata">

### Author: ![justcom](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@justcom](https://forum.shopware.com/u/justcom)
#### Post date: [3. November 2010 um 14:16 UTC](https://forum.shopware.com/t/probleme-mit-paypal/527/6 "2010-11-03T14:16:31Z")

</div>

Hat niemand einen Rat? Ich komme da einfach nicht mehr weiter und verstehe nicht, was ich falsch gemacht haben könnte. Ich besitze ein vor drei Jahren schon verifiziertes Paypal-Geschäftskonto, habe einen API-Zugriff mit Signatur beantragt: API-Benutzername, Kennwort und Signatur in der Paypal-Schnittstelle im Shopware-Backend hinterlegt, Sandbox deaktiviert und dennoch kommt diese Fehlermeldung… Bitte um Hilfe…

---

<div class="post-metadata">

### Author: ![IT-Motion](https://avatars.discourse-cdn.com/v4/letter/i/ecd19e/32.png) [@IT-Motion](https://forum.shopware.com/u/IT-Motion)
#### Post date: [4. November 2010 um 23:36 UTC](https://forum.shopware.com/t/probleme-mit-paypal/527/7 "2010-11-04T23:36:51Z")

</div>

[quote=„justcom“] 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. [/quote] das ist die Fehlermeldung seitens PayPal und zwar stimmt die Summe der Positionen nicht mit der übertragenen Gesamtsumme überein. Denke da muss das Team von Shopware nochmal drüber schauen.

---

<div class="post-metadata">

### Author: ![Heiner\_Lohaus](https://avatars.discourse-cdn.com/v4/letter/h/b5a626/32.png) [@Heiner\_Lohaus](https://forum.shopware.com/u/Heiner_Lohaus)
#### Post date: [5. November 2010 um 18:12 UTC](https://forum.shopware.com/t/probleme-mit-paypal/527/8 "2010-11-05T18:12:09Z")

</div>

Hallo, ich hatte dafür schon in einem anderen Thread eine Lösung gepostet: [viewtopic.php?f=9&t=429&p=2426&hilit=paypal#p2426](http://www.shopware-community.de/viewtopic.php?f=9&t=429&p=2426&hilit=paypal#p2426) Viele Grüße Heiner
