# Nach letzter Aktualisierung Shopware und PayPal wirft PayPal Exceptions.

**URL:** <https://forum.shopware.com/t/nach-letzter-aktualisierung-shopware-und-paypal-wirft-paypal-exceptions/65442>\
**Category:** Allgemein\
**Created:** [11. März 2020 um 21:47 UTC](https://forum.shopware.com/t/nach-letzter-aktualisierung-shopware-und-paypal-wirft-paypal-exceptions/65442 "2020-03-11T21:47:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rreimche](https://avatars.discourse-cdn.com/v4/letter/r/71c47a/32.png) [@rreimche](https://forum.shopware.com/u/rreimche)\
**Post date:** [11. März 2020 um 21:47 UTC](https://forum.shopware.com/t/nach-letzter-aktualisierung-shopware-und-paypal-wirft-paypal-exceptions/65442/1 "2020-03-11T21:47:19Z")

</div>

Hallo \*,

PayPal ist jetzt 1.2.0 (PayPal Produkte für Shopware 6 von Shopware AG)&nbsp;und Shopware ist 6.1.3. In Logs sehe ich:

```
[2020-03-11 21:32:24] request.CRITICAL: Uncaught PHP Exception ArgumentCountError: "Too few arguments to function Swag\PayPal\PayPal\Client\TokenClientFactory::__construct(), 0 passed in /var/www/myshop/shopware/var/cache/prod_hdb96617b5e4be96e32012afc824a5d26/ContainerGvStmNH/srcShopware_Production_KernelProdContainer.php on line 16573 and exactly 1 expected" at /var/www/myshop/shopware/custom/plugins/SwagPayPal/src/PayPal/Client/TokenClientFactory.php line 20 {"exception":"[object] (ArgumentCountError(code: 0): Too few arguments to function Swag\\PayPal\\PayPal\\Client\\TokenClientFactory::__construct(), 0 passed in /var/www/myshop/shopware/var/cache/prod_hdb96617b5e4be96e32012afc824a5d26/ContainerGvStmNH/srcShopware_Production_KernelProdContainer.php on line 16573 and exactly 1 expected at /var/www/myshop/shopware/custom/plugins/SwagPayPal/src/PayPal/Client/TokenClientFactory.php:20)"} []

```

Dann funktionert z.B. Offcanvase-Warenkorb nicht mehr und noch einige Sachen. Sobald ich das Plugin ausschalte läuft alles normal.

Wie kann ich das lösen? Eine frühere Version des Plugins installieren?

&nbsp;

MfG  
Roman

---

<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:** [12. März 2020 um 07:54 UTC](https://forum.shopware.com/t/nach-letzter-aktualisierung-shopware-und-paypal-wirft-paypal-exceptions/65442/2 "2020-03-12T07:54:27Z")

</div>

Hallo Roman,

hattest du den Cache gelöscht nach dem Plugin Update?

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:** ![rreimche](https://avatars.discourse-cdn.com/v4/letter/r/71c47a/32.png) [@rreimche](https://forum.shopware.com/u/rreimche)\
**Post date:** [13. April 2020 um 13:27 UTC](https://forum.shopware.com/t/nach-letzter-aktualisierung-shopware-und-paypal-wirft-paypal-exceptions/65442/3 "2020-04-13T13:27:07Z")

</div>

Ich habe heute auf Shopware 6.1.5 und PayPal 1.3.0 aktualisiert. Cache habe ich mehremals zu leeren versucht, die Versuche waren erfolgreich, trotzdem bekomme ich beim aktivierten PayPal 500-Response und das folgende in Production Log:

&nbsp;

```
[2020-04-13 13:24:07] php.CRITICAL: Uncaught Error: Failed to create closure from callable: class 'Swag\PayPal\Installment\Banner\InstallmentBannerSubscriber' does not have a method 'addInstallmentBannerFooter' {"exception":"[object] (TypeError(code: 0): Failed to create closure from callable: class 'Swag\\PayPal\\Installment\\Banner\\InstallmentBannerSubscriber' does not have a method 'addInstallmentBannerFooter' at /var/www/myshop.de/shopware/vendor/symfony/event-dispatcher/EventDispatcher.php:304)"} []
[2020-04-13 13:24:07] request.CRITICAL: Uncaught PHP Exception TypeError: "Failed to create closure from callable: class 'Swag\PayPal\Installment\Banner\InstallmentBannerSubscriber' does not have a method 'addInstallmentBannerFooter'" at /var/www/myshop.de/shopware/vendor/symfony/event-dispatcher/EventDispatcher.php line 304 {"exception":"[object] (TypeError(code: 0): Failed to create closure from callable: class 'Swag\\PayPal\\Installment\\Banner\\InstallmentBannerSubscriber' does not have a method 'addInstallmentBannerFooter' at /var/www/myshop.de/shopware/vendor/symfony/event-dispatcher/EventDispatcher.php:304)"} []
[2020-04-13 13:24:07] php.CRITICAL: Uncaught Error: Failed to create closure from callable: class 'Swag\PayPal\Installment\Banner\InstallmentBannerSubscriber' does not have a method 'addInstallmentBannerFooter' {"exception":"[object] (TypeError(code: 0): Failed to create closure from callable: class 'Swag\\PayPal\\Installment\\Banner\\InstallmentBannerSubscriber' does not have a method 'addInstallmentBannerFooter' at /var/www/myshop.de/shopware/vendor/symfony/event-dispatcher/EventDispatcher.php:304)"} []
[2020-04-13 13:24:07] request.CRITICAL: Uncaught PHP Exception TypeError: "Failed to create closure from callable: class 'Swag\PayPal\Installment\Banner\InstallmentBannerSubscriber' does not have a method 'addInstallmentBannerFooter'" at /var/www/myshop.de/shopware/vendor/symfony/event-dispatcher/EventDispatcher.php line 304 {"exception":"[object] (TypeError(code: 0): Failed to create closure from callable: class 'Swag\\PayPal\\Installment\\Banner\\InstallmentBannerSubscriber' does not have a method 'addInstallmentBannerFooter' at /var/www/myshop.de/shopware/vendor/symfony/event-dispatcher/EventDispatcher.php:304)"} []

```

&nbsp;

---

<div class="post-metadata">

**Author:** ![wattgeizer](https://avatars.discourse-cdn.com/v4/letter/w/c89c15/32.png) [@wattgeizer](https://forum.shopware.com/u/wattgeizer)\
**Post date:** [25. Mai 2023 um 18:40 UTC](https://forum.shopware.com/t/nach-letzter-aktualisierung-shopware-und-paypal-wirft-paypal-exceptions/65442/4 "2023-05-25T18:40:36Z")

</div>

Gab es hier eine Lösung zu dem Problem? Ich habe nach Aktualisierung auf Paypal V 7.1.0 exakt das gleiche Problem. Entweder ist der Shop nicht mehr erreichbar (500er) oder ich deaktiviere das Paypal-Plugin. Cache gelöscht.

---

<div class="post-metadata">

**Author:** ![wlanthermo-shop](https://avatars.discourse-cdn.com/v4/letter/w/8797f3/32.png) [@wlanthermo-shop](https://forum.shopware.com/u/wlanthermo-shop)\
**Post date:** [26. Mai 2023 um 14:13 UTC](https://forum.shopware.com/t/nach-letzter-aktualisierung-shopware-und-paypal-wirft-paypal-exceptions/65442/5 "2023-05-26T14:13:25Z")

</div>

Ich schließe mich hier Mal an. Hab den selben Fehler. 😡

---

<div class="post-metadata">

**Author:** ![TomT](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/tomt/32/14036_2.png) [@TomT](https://forum.shopware.com/u/TomT)\
**Post date:** [9. Dezember 2023 um 09:44 UTC](https://forum.shopware.com/t/nach-letzter-aktualisierung-shopware-und-paypal-wirft-paypal-exceptions/65442/6 "2023-12-09T09:44:27Z")

</div>

Hilfe, ich hab den gleichen Fehler.  
Paypal ist aktuell nicht mehr verwendbar. Selbst ein backup bringt keine Lösung mehr.  
Stillstand.  
Da der Post hier vom Mai ist, muss es doch inzwischen eine Lösung geben.  
Wäre für jeden Tipp zur Lösung dankbar.  
Besten DAnk schon mal dafür.  
mfg Tom
