# PayPal Sofort kaufen Fenster schließt automatisch ohne Funktion

**URL:** <https://forum.shopware.com/t/paypal-sofort-kaufen-fenster-schliesst-automatisch-ohne-funktion/64740>\
**Category:** Allgemein\
**Created:** [16. Februar 2020 um 11:46 UTC](https://forum.shopware.com/t/paypal-sofort-kaufen-fenster-schliesst-automatisch-ohne-funktion/64740 "2020-02-16T11:46:39Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![MainSystem](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@MainSystem](https://forum.shopware.com/u/MainSystem)\
**Post date:** [16. Februar 2020 um 11:46 UTC](https://forum.shopware.com/t/paypal-sofort-kaufen-fenster-schliesst-automatisch-ohne-funktion/64740/1 "2020-02-16T11:46:39Z")

</div>

Bei den Produktboxen auf der Startseite funktioniert der PayPal Sofort kaufen Button icht. Das Popupfenster geht sofort wieder zu. (Leider). Denn das wäre eine schöne Funktion wenn der Button nur funktionieren würde.

---

<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:** [17. Februar 2020 um 07:30 UTC](https://forum.shopware.com/t/paypal-sofort-kaufen-fenster-schliesst-automatisch-ohne-funktion/64740/2 "2020-02-17T07:30:38Z")

</div>

Hallo,

bekommst du in der Entwicklerkonsole deines Browsers einen Fehler angezeigt? Was steht in den Log Dateien von Shopware?

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:** ![MainSystem](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@MainSystem](https://forum.shopware.com/u/MainSystem)\
**Post date:** [18. Februar 2020 um 22:09 UTC](https://forum.shopware.com/t/paypal-sofort-kaufen-fenster-schliesst-automatisch-ohne-funktion/64740/3 "2020-02-18T22:09:39Z")

</div>

Hallo Michael,

leider gibt bzw. gab es keine Fehlermeldung. Auf dem Desktop scheint es jetzt zu funktionieren. Auf dem Mobile leider nicht die hier.

[https://hanftropfen-cbd.com/](https://hanftropfen-cbd.com/)

Gruß

---

<div class="post-metadata">

**Author:** ![SB1](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@SB1](https://forum.shopware.com/u/SB1)\
**Post date:** [18. Februar 2020 um 22:41 UTC](https://forum.shopware.com/t/paypal-sofort-kaufen-fenster-schliesst-automatisch-ohne-funktion/64740/4 "2020-02-18T22:41:14Z")

</div>

probiere das ganze mal mit shopware 5 und nicht mit shopware 6, was vielen hier als “final” suggeriert wird, jedoch noch nicht einmal die basics beherrscht.

shopware 6 = vielleicht mal ab 2023 darüber nachdenken.

---

<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. Februar 2020 um 07:03 UTC](https://forum.shopware.com/t/paypal-sofort-kaufen-fenster-schliesst-automatisch-ohne-funktion/64740/5 "2020-02-19T07:03:39Z")

</div>

Hallo,

sieht doch gut aus&nbsp; ![Smile](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/bac5f5766b6a20565a8fb995345b4e41d24daac0.png "Smile")&nbsp;Hast du schon was verändert?

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/f/f80f2a5a402b70abd8ce70b706f202e32ebd0d7d.png)

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:** ![MainSystem](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@MainSystem](https://forum.shopware.com/u/MainSystem)\
**Post date:** [23. Februar 2020 um 10:44 UTC](https://forum.shopware.com/t/paypal-sofort-kaufen-fenster-schliesst-automatisch-ohne-funktion/64740/6 "2020-02-23T10:44:14Z")

</div>

Aktuelle Fehlermeldung aus dem Log

[2020-02-23 10:38:29] swag\_paypal.ERROR: Client error: `POST https://api.paypal.com/v1/payments/payment` resulted in a `400 Bad Request` response: {„name“:„VALIDATION\_ERROR“,„details“:[{„field“:„transactions[0].amount“,„issue“:„Amount cannot be zero“}],„message“:"Inv (truncated…)&nbsp; Invalid request - see details: Amount cannot be zero (transactions[0].amount)&nbsp; [{„name“:„VALIDATION\_ERROR“,„details“:[{„field“:„transactions[0].amount“,„issue“:„Amount cannot be zero“}],„message“:„Invalid request - see details“,„information\_link“:„[https://developer.paypal.com/docs/api/payments/#errors",„debug\_id“:„2891815612a9a“},{„headers“:{„content-type“:„application/json“},„json“:"[object]](https://developer.paypal.com/docs/api/payments/#errors%22,%22debug_id%22:%222891815612a9a%22%7D,%7B%22headers%22:%7B%22content-type%22:%22application/json%22%7D,%22json%22:%22%5Bobject%5D) (Swag\PayPal\PayPal\Api\Payment: {„id“:null,„intent“:„sale“,„state“:null,„cart“:null,„payer“:{„payment\_method“:„paypal“,„status“:null,„payer\_info“:null,„external\_selected\_funding\_instrument\_type“:null},„transactions“:[{„amount“:{„total“:„0“,„currency“:„EUR“,„details“:{„subtotal“:„0“,„shipping“:„0“,„tax“:„0“,„handling\_fee“:null,„shipping\_discount“:null,„insurance“:null}},„payee“:null,„item\_list“:null,„related\_resources“:null,„invoice\_number“:null}],„create\_time“:null,„update\_time“:null,„links“:null,„redirect\_urls“:{„return\_url“:„[https://www.example.com/",„cancel\_url“:„https://www.example.com/&cancel=1“},„application\_context“:{„brand\_name“:"HANFTROPFEN](https://www.example.com/%22,%22cancel_url%22:%22https://www.example.com/&cancel=1%22%7D,%22application_context%22:%7B%22brand_name%22:%22HANFTROPFEN) CBD“,„locale“:„de-DE“,„landing\_page“:„Login“,„shipping\_preference“:„SET\_PROVIDED\_ADDRESS“,„user\_action“:„continue“}})“}]

&nbsp;

---

<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:** [26. Februar 2020 um 07:46 UTC](https://forum.shopware.com/t/paypal-sofort-kaufen-fenster-schliesst-automatisch-ohne-funktion/64740/7 "2020-02-26T07:46:17Z")

</div>

Hallo,

auf deiner Seite bekomme ich den Fehler auch. Allerdings kann ich das so bei mir lokal nicht nachstellen. Welche Shopware Version und welche Plugin Version hast du im Einsatz? Wie sind deine PayPal Einstellungen? Hast du Promotions oder ähnliches aktiv? Greifen noch andere Plugins in den Checkout Prozess ein?

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:** ![MainSystem](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@MainSystem](https://forum.shopware.com/u/MainSystem)\
**Post date:** [26. Februar 2020 um 17:16 UTC](https://forum.shopware.com/t/paypal-sofort-kaufen-fenster-schliesst-automatisch-ohne-funktion/64740/8 "2020-02-26T17:16:22Z")

</div>

Ich benutze die aktuellesten Versionen Shopware und PayPal. Plugins keine soweit

---

<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:** [27. Februar 2020 um 07:37 UTC](https://forum.shopware.com/t/paypal-sofort-kaufen-fenster-schliesst-automatisch-ohne-funktion/64740/9 "2020-02-27T07:37:14Z")

</div>

Hallo,

soweit so gut, das hilft leider noch nicht, um das Problem nachzustellen&nbsp; ![Smile](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/bac5f5766b6a20565a8fb995345b4e41d24daac0.png "Smile")&nbsp;Wie sieht es mit meinen anderen Fragen aus?

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:** ![pf-iservice](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/pf-iservice/32/19617_2.png) [@pf-iservice](https://forum.shopware.com/u/pf-iservice)\
**Post date:** [6. März 2023 um 11:54 UTC](https://forum.shopware.com/t/paypal-sofort-kaufen-fenster-schliesst-automatisch-ohne-funktion/64740/10 "2023-03-06T11:54:46Z")

</div>

Hallo zusammen,

gab es seinerzeit eine Lösung für das Problem?

Ich habe nun mit aktuellen Shopware und PayPal-Plugin ebenso dieses Problem.  
In den Log-Dateien sehe ich keine zugehörigen Einträge. 🤔

Allerdings sehe ich in der Konsole des Browsers:

 ![06-03-2023_12-32-16](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/7/2/72be3b470ff65241e00afd626d4cb31c0c34a598.jpeg)  
Kann das etwas damit zu tun haben?

Grüße  
Jo
