# Paypal (Version 2.4.1) (Shopware Version 5.5.1)

**URL:** https://forum.shopware.com/t/paypal-version-2-4-1-shopware-version-5-5-1/61692
**Category:** Plugins
**Tags:** offizielle-shopware-
**Created:** [11. September 2019 um 10:16 UTC](https://forum.shopware.com/t/paypal-version-2-4-1-shopware-version-5-5-1/61692 "2019-09-11T10:16:07Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![MMJC](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@MMJC](https://forum.shopware.com/u/MMJC)
#### Post date: [11. September 2019 um 10:16 UTC](https://forum.shopware.com/t/paypal-version-2-4-1-shopware-version-5-5-1/61692/1 "2019-09-11T10:16:07Z")

</div>

Hallo,

wir haben Paypal eingebunden im Shop, die API - Einstellungen eingegeben (Client ID und Client Secret), Webhook registriert und&nbsp; Api Einstellungen geprüft, Erfolgreich.

Wenn der Kunde eine Bestellung abschließt und über Paypal bezahlen möchte wird er nicht an Paypal weitergeleitet und oder bekommt er diese Meldung:

‘Wahrend der Kommunikation mit dem Zahlungsanbieter ist ein Fehler aufgetreten, …’

Woran liegt dieses Problem? VIelen Dank im Voraus für Euere Hilfe.

&nbsp;

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/4/4f844e432080888349b3e4994684366bbda917c9.jpeg)

---

<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: [11. September 2019 um 12:18 UTC](https://forum.shopware.com/t/paypal-version-2-4-1-shopware-version-5-5-1/61692/2 "2019-09-11T12:18:06Z")

</div>

Hallo,

kannst du mal schauen, ob es Einträge in den Log-Dateien gibt?&nbsp;[https://docs.shopware.com/de/shopware-5-de/tutorials-und-faq/fehlermeldungen-in-shopware-debuggen](https://docs.shopware.com/de/shopware-5-de/tutorials-und-faq/fehlermeldungen-in-shopware-debuggen)  
Ohne Fehlermeldung wird man dazu wenig sagen können&nbsp;

Viele Grüße aus Schöppingen

![cool](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/86c57fbace799dd4eb1f1b8a2d3bdc1733f0aea1.png "cool")&nbsp;Michael Telgmann

---

<div class="post-metadata">

### Author: ![MMJC](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@MMJC](https://forum.shopware.com/u/MMJC)
#### Post date: [11. September 2019 um 12:37 UTC](https://forum.shopware.com/t/paypal-version-2-4-1-shopware-version-5-5-1/61692/3 "2019-09-11T12:37:21Z")

</div>

Es gibt folgenden Fehlermeldung(en) nachdem eine Kunde versucht hat eine Bestellung abzuschließen.

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/3/3e3206d116a4c359ffe8140fc442399baebd188b.png) ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/1/1c106d04995105cd77ca3f3e534344fe822b8805.png) ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/7/75f56f243510e93325687080444b378a0c483324.png) ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/d/d1b13c1f86a7f3a728d077bac9cedd055bbfe063.png)

---

<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: [11. September 2019 um 12:42 UTC](https://forum.shopware.com/t/paypal-version-2-4-1-shopware-version-5-5-1/61692/4 "2019-09-11T12:42:20Z")

</div>

Hallo,

Dieser Fehler hat nichts mit dem Plugin zu tun&nbsp; &nbsp;Könntest du mal auf dem Server in den Log Ordner schauen?&nbsp;[https://docs.shopware.com/de/shopware-5-de/tutorials-und-faq/fehlermeldungen-in-shopware-debuggen#log-dateien](https://docs.shopware.com/de/shopware-5-de/tutorials-und-faq/fehlermeldungen-in-shopware-debuggen#log-dateien)

Viele Grüße aus Schöppingen

&nbsp;Michael Telgmann

---

<div class="post-metadata">

### Author: ![MMJC](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@MMJC](https://forum.shopware.com/u/MMJC)
#### Post date: [11. September 2019 um 12:42 UTC](https://forum.shopware.com/t/paypal-version-2-4-1-shopware-version-5-5-1/61692/5 "2019-09-11T12:42:36Z")

</div>

Und auch diesen Fehlermeldungen, über ein Feedback wäre ich sehr dankbar

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/3/3ddd38917d68bee397a49a3fa568d2f1052fa40b.png) ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/a/a1297d95cee1acc888c390a3c6b196cd691f5828.png) ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/0/02f9ffd4cd1739b3ddb0f3b456f8b4a4f7f58d2c.png) ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/e/e5907daca1215e18c606a6cda4cabb3d92a41c76.png)

---

<div class="post-metadata">

### Author: ![MMJC](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@MMJC](https://forum.shopware.com/u/MMJC)
#### Post date: [11. September 2019 um 12:56 UTC](https://forum.shopware.com/t/paypal-version-2-4-1-shopware-version-5-5-1/61692/6 "2019-09-11T12:56:38Z")

</div>

Dies steht auf dem Log-Server

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/e/ecf6c2e935ce572e1d953fff1943f71b90a30d68.jpeg)

---

<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: [11. September 2019 um 13:21 UTC](https://forum.shopware.com/t/paypal-version-2-4-1-shopware-version-5-5-1/61692/7 "2019-09-11T13:21:08Z")

</div>

Hallo,

die Screenshots über Fehler von CSRF-Token sind, wie bereist gesagt, nicht relevant. ![Wink](https://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/wink.png "Wink")  
Interessant wäre der Inhalt aus den „plugin\_production-datum.log“ Dateien, zum Zeitpunkt einer fehlgeschlagenen Bestellung.

Viele Grüße aus Schöppingen

![cool](http://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/shopware.png "cool")&nbsp;Michael Telgmann

---

<div class="post-metadata">

### Author: ![MMJC](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@MMJC](https://forum.shopware.com/u/MMJC)
#### Post date: [11. September 2019 um 13:36 UTC](https://forum.shopware.com/t/paypal-version-2-4-1-shopware-version-5-5-1/61692/8 "2019-09-11T13:36:53Z")

</div>

Die Datei:&nbsp;plugin\_production-datum.log kann ich nicht aufmachen?!

---

<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: [11. September 2019 um 13:40 UTC](https://forum.shopware.com/t/paypal-version-2-4-1-shopware-version-5-5-1/61692/9 "2019-09-11T13:40:20Z")

</div>

„datum“ hatte ich als Platzhalter in den Dateinamen geschrieben.&nbsp; ![Wink](https://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/wink.png "Wink")&nbsp;Diese Datei existiert natürlich so nicht. Sieht man ja auch auf deinem Foto. Allerdings wäre die Datei mit dem Datum, an dem der Fehler auftritt interessant, z.B.&nbsp;„plugin\_production-2019-09-11.log“

Viele Grüße aus Schöppingen

![cool](http://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/shopware.png "cool")&nbsp;Michael Telgmann

---

<div class="post-metadata">

### Author: ![MMJC](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@MMJC](https://forum.shopware.com/u/MMJC)
#### Post date: [11. September 2019 um 13:44 UTC](https://forum.shopware.com/t/paypal-version-2-4-1-shopware-version-5-5-1/61692/10 "2019-09-11T13:44:47Z")

</div>

C:\plugin\_production-2019-09-11.log konnte nicht zum Schreiben geöffnet werden  
Fehler:&nbsp;&nbsp; &nbsp;Dateiübertragung fehlgeschlagen

Wenn ich auf die Datei klicke bekomme ich o.g. Fehlermeldung

---

<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: [11. September 2019 um 14:11 UTC](https://forum.shopware.com/t/paypal-version-2-4-1-shopware-version-5-5-1/61692/11 "2019-09-11T14:11:23Z")

</div>

Bei dem Problem kann ich dir leider nicht weiterhelfen.

Kannst du die Log Files denn über das Shopware Backend angucken?&nbsp;  
[Shopware 5 - Tutorials & FAQs - Fehlermeldungen in Shopware debuggen](https://docs.shopware.com/de/shopware-5-de/tutorials-und-faq/fehlermeldungen-in-shopware-debuggen#system-log-im-backend)

Viele Grüße aus Schöppingen

![cool](http://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/shopware.png "cool")&nbsp;Michael Telgmann

---

<div class="post-metadata">

### Author: ![MMJC](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@MMJC](https://forum.shopware.com/u/MMJC)
#### Post date: [11. September 2019 um 14:28 UTC](https://forum.shopware.com/t/paypal-version-2-4-1-shopware-version-5-5-1/61692/12 "2019-09-11T14:28:26Z")

</div>

PayPal: Could not create authentication - request exception

{  
&nbsp; „payload“: „{„error“:„invalid\_client“,„error\_description“:„Client Authentication failed“}“,  
&nbsp; „message“: „Client error response [url] [https://api.sandbox.paypal.com/v1/oauth2/token](https://api.sandbox.paypal.com/v1/oauth2/token) [status code] 401 [reason phrase] Unauthorized“  
}

&nbsp;

Aus dem Backend o.g. Fehlermeldung

---

<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: [11. September 2019 um 14:39 UTC](https://forum.shopware.com/t/paypal-version-2-4-1-shopware-version-5-5-1/61692/13 "2019-09-11T14:39:45Z")

</div>

Also aus irgendeinem Grund sind deine API Credentials nicht korrekt. Nutzt du zufällig Sandbox Credentials im Live Modus oder umgekehrt?  
Evtl. hast du für deine Rest-API App im PayPal Dashboard auch nicht korrekt alle Features freigeschaltet. Da müsstest du dich mal an PayPal wenden, ob die das kontrollieren können.  
Schlägt denn jede Zahlung fehl, oder sind das nur vereinzelte Fälle?&nbsp;

Viele Grüße aus Schöppingen

![cool](http://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/shopware.png "cool")&nbsp;Michael Telgmann

---

<div class="post-metadata">

### Author: ![MMJC](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@MMJC](https://forum.shopware.com/u/MMJC)
#### Post date: [11. September 2019 um 14:58 UTC](https://forum.shopware.com/t/paypal-version-2-4-1-shopware-version-5-5-1/61692/14 "2019-09-11T14:58:54Z")

</div>

Jede Zahlung schlägt fehl

---

<div class="post-metadata">

### Author: ![MMJC](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@MMJC](https://forum.shopware.com/u/MMJC)
#### Post date: [11. September 2019 um 17:01 UTC](https://forum.shopware.com/t/paypal-version-2-4-1-shopware-version-5-5-1/61692/15 "2019-09-11T17:01:36Z")

</div>

Nach mehrere Gespräche mit Paypal wurde nun festgestellt das die API-Einstellungen richtig waren und nicht mit Sandbox und LIve verwechselt waren, aber der Hacken beim Check-Box&nbsp;‚Sandbox aktivieren‘, der Standard angekreuzt ist, NICHT angekreuzt sein soll. Nun funktioniert es einwandfrei.&nbsp;
