# Fehlermeldung bei PayPal

**URL:** <https://forum.shopware.com/t/fehlermeldung-bei-paypal/65004>\
**Category:** Allgemein\
**Created:** [26. Februar 2020 um 09:20 UTC](https://forum.shopware.com/t/fehlermeldung-bei-paypal/65004 "2020-02-26T09:20:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![SandraWork](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@SandraWork](https://forum.shopware.com/u/SandraWork)\
**Post date:** [26. Februar 2020 um 09:20 UTC](https://forum.shopware.com/t/fehlermeldung-bei-paypal/65004/1 "2020-02-26T09:20:44Z")

</div>

Hallo,

ich hoffe, dass uns jemand helfen kann.

Wir haben PayPal bei uns installiert und wolten es nun testen. Leider bekommen wir nur eine Fehlermeldung, wenn wir auf „jetzt bezahlen“ klicken.

**Fatal error** : Uncaught TypeError: Argument 1 passed to SwagPaymentPayPalUnified\PayPalBundle\Resources\PaymentResource::create() must be an instance of SwagPaymentPayPalUnified\PayPalBundle\Structs\Payment, null given, called in /var/www/vhosts/abc.de/httpdocs/custom/plugins/SwagPaymentPayPalUnified/Controllers/Frontend/PaypalUnified.php on line 141 and defined in /var/www/vhosts/abc.de/httpdocs/custom/plugins/SwagPaymentPayPalUnified/PayPalBundle/Resources/PaymentResource.php:35 Stack trace: #0 /var/www/vhosts/abc.de/httpdocs/custom/plugins/SwagPaymentPayPalUnified/Controllers/Frontend/PaypalUnified.php(141): SwagPaymentPayPalUnified\PayPalBundle\Resources\PaymentResource-\>create(NULL) #1 /var/www/vhosts/abc.de/httpdocs/engine/Library/Enlight/Controller/Action.php(192): Shopware\_Controllers\_Frontend\_PaypalUnified-\>gatewayAction() #2 /var/www/vhosts/abc.de/httpdocs/engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight\_Controller\_Action-\>dispa in&nbsp; **/var/www/vhosts/abc.de/httpdocs/custom/plugins/SwagPaymentPayPalUnified/PayPalBundle/Resources/PaymentResource.php** &nbsp;on line&nbsp; **35**

&nbsp;

Kann uns jemand weiterhelfen?

Vielen Dank!

&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 12:49 UTC](https://forum.shopware.com/t/fehlermeldung-bei-paypal/65004/2 "2020-02-26T12:49:38Z")

</div>

Hallo Sandra,

welche Zahlungsart hast du im Checkout ausgewählt? Hast du noch andere Zahlungsanbieter Plugins installiert? Passiert der Fehler jedes Mal oder nur in bestimmten Konstellationen?

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:** ![SandraWork](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@SandraWork](https://forum.shopware.com/u/SandraWork)\
**Post date:** [2. März 2020 um 07:35 UTC](https://forum.shopware.com/t/fehlermeldung-bei-paypal/65004/3 "2020-03-02T07:35:23Z")

</div>

Hallo,

ich habe PayPal ausgewählt und bisher haben wir nur PayPal und Vorauskasse als Zahlungsart. Wobei das Problem nur bei PayPal aufzutreten scheint.&nbsp;

Ich habe auch noch eine andere Community-Frage offen, vielleicht hängt es auch damit zusammen.

So weiß ich nicht, was wir bei der Einstellung von PayPal an dieser Stelle eintragen sollen:

Unter dem Punkt: Einstellungen \> Zahlungsarten \> PayPal \> Generell&nbsp;

Findet man die Bereiche “Template”, “Systemklasse” und “Datenbank-Tabelle”, was soll hier eingetragen werden oder können die Felder frei bleiben? Leider habe ich dazu bisher keine Infos in den Anleitungen gefunden.

---

<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:** [2. März 2020 um 08:22 UTC](https://forum.shopware.com/t/fehlermeldung-bei-paypal/65004/4 "2020-03-02T08:22:25Z")

</div>

Hallo Sandra.

dies sind die Einstellungsmöglichkeiten für PayPal&nbsp;[Shopware 5 - Plugins - Plugin: PayPal](https://docs.shopware.com/de/shopware-5-de/plugins/plugin-paypal?category=shopware-5-de/plugins)  
Ich weiß gerade nicht, was du mit Template, Systemklasse und Datenbank Tabelle meinst.&nbsp;  
Vielleicht sind ein paar Screenshots hilfreich.

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:** ![SandraWork](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@SandraWork](https://forum.shopware.com/u/SandraWork)\
**Post date:** [2. März 2020 um 08:59 UTC](https://forum.shopware.com/t/fehlermeldung-bei-paypal/65004/5 "2020-03-02T08:59:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![SandraWork](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@SandraWork](https://forum.shopware.com/u/SandraWork)\
**Post date:** [2. März 2020 um 09:01 UTC](https://forum.shopware.com/t/fehlermeldung-bei-paypal/65004/6 "2020-03-02T09:01:06Z")

</div>

Oben der Screenshot. Die Abbildung findet man, wenn man auf Einstellungen \> Zahlungsarten \> PayPal geht.

---

<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:** [2. März 2020 um 09:18 UTC](https://forum.shopware.com/t/fehlermeldung-bei-paypal/65004/7 "2020-03-02T09:18:05Z")

</div>

Hallo Sandra,

da musst du im Normalfall nichts einstellen.&nbsp;  
Versuche mal das Plugin neu zu installieren und mit Hilfe der Doku, die ich oben geschickt habe nochmal neu einzurichten.&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:** ![SandraWork](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@SandraWork](https://forum.shopware.com/u/SandraWork)\
**Post date:** [2. März 2020 um 09:47 UTC](https://forum.shopware.com/t/fehlermeldung-bei-paypal/65004/8 "2020-03-02T09:47:16Z")

</div>

Okay, wir werden es versuchen.&nbsp;

Eigentlich haben wir die Installation auch&nbsp;genau nach Anleitung gemacht.&nbsp; ![Undecided](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/8ae622c50104e84c5003fedfcc22572813a67b41.png "Undecided")

---

<div class="post-metadata">

**Author:** ![SandraWork](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@SandraWork](https://forum.shopware.com/u/SandraWork)\
**Post date:** [4. März 2020 um 07:34 UTC](https://forum.shopware.com/t/fehlermeldung-bei-paypal/65004/9 "2020-03-04T07:34:51Z")

</div>

Wir haben mittlerweile PayPal neu installiert und das hat tasächlich geholfen. Manchmal ist die Lösung halt doch ganz einfach.&nbsp; ![Smile](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/bac5f5766b6a20565a8fb995345b4e41d24daac0.png "Smile")

Vielen Dank!
