# PayPal Plugin -\> Ups, ein Fehler ist aufgetreten

**URL:** https://forum.shopware.com/t/paypal-plugin-ups-ein-fehler-ist-aufgetreten/50799
**Category:** Allgemein
**Created:** [30. Januar 2018 um 17:07 UTC](https://forum.shopware.com/t/paypal-plugin-ups-ein-fehler-ist-aufgetreten/50799 "2018-01-30T17:07:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Role82](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@Role82](https://forum.shopware.com/u/Role82)
#### Post date: [30. Januar 2018 um 17:07 UTC](https://forum.shopware.com/t/paypal-plugin-ups-ein-fehler-ist-aufgetreten/50799/1 "2018-01-30T17:07:15Z")

</div>

Hallo zusammen,

ich habe ein Problem mit dem PayPal Plugin, dass ich nicht gelöt kriege.  
Und zwar funktioniert bis zum Checkout alles wunderbar. Ich werde zu PayPal weiter geleitet und kann die Zahlung durchführen. Bei der Rückleitung zum Shop bekomme ich die Fehlermeldung „Ups, ein Fehler ist aufgetreten“.

Das Shopware-Log gibt dazu folgendes aus:

```
InvalidArgumentException: Passed variable is not an array or object in /engine/Shopware/Components/Document.php:468 Stack trace:
#0 /engine/Shopware/Components/Document.php(468): ArrayObject->__construct(false)
#1 /engine/Shopware/Components/Document.php(272): Shopware_Components_Document->loadConfiguration4x()
#2 / ***/*** / *****/****** /var/cache/production_201706211403/proxies/ShopwareComponentsDocumentProxy.php(6): Shopware_Components_Document->assignValues()
#3 /engine/Library/Enlight/Hook/HookManager.php(186): Shopware_Proxies_ShopwareComponentsDocumentProxy->executeParent('assignValues', Array)
#4 / ***/*** / *****/****** /var/cache/production_201706211403/proxies/ShopwareComponentsDocumentProxy.php(17): Enlight_Hook_HookManager->executeHooks(Object(Shopware_Proxies_ShopwareComponentsDocumentProxy), 'assignValues', Object(Enlight_Hook_HookArgs))
#5 /engine/Shopware/Components/Document.php(238): Shopware_Proxies_ShopwareComponentsDocumentProxy->assignValues()
#6 /engine/Shopware/Plugins/Community/Frontend/SwagInvoiceMail/Bootstrap.php(606): Shopware_Components_Document->render()
#7 /engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Frontend_SwagInvoiceMail_Bootstrap->onOrder(Object(Enlight_Hook_HookArgs))
#8 /engine/Library/Enlight/Event/EventManager.php(296): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Hook_HookArgs))
#9 /engine/Library/Enlight/Hook/HookManager.php(191): Enlight_Event_EventManager->filter('sOrder::sSaveOr...', 2249, Object(Enlight_Hook_HookArgs))
#10 / ***/*** / *****/****** /var/cache/production_201706211403/proxies/sOrderProxy.php(17): Enlight_Hook_HookManager->executeHooks(Object(Shopware_Proxies_sOrderProxy), 'sSaveOrder', Object(Enlight_Hook_HookArgs))
#11 /engine/Shopware/Controllers/Frontend/Payment.php(117): Shopware_Proxies_sOrderProxy->sSaveOrder()
#12 /engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypal/Controllers/Frontend/PaymentPaypal.php(551): Shopware_Controllers_Frontend_Payment->saveOrder('1UA17021BH34770...', 'RJ163OwT1FvwlE7...')
#13 /engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypal/Controllers/Frontend/PaymentPaypal.php(325): Shopware_Controllers_Frontend_PaymentPaypal->finishCheckout(Array)
#14 /engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Frontend_PaymentPaypal->returnAction()
#15 /engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('returnAction')
#16 /engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#17 /engine/Shopware/Kernel.php(182): Enlight_Controller_Front->dispatch()
#18 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(491): Shopware\Kernel->handle(Object(Enlight_Controller_Request_RequestHttp), 1, true)
#19 /engine/Shopware/Components/HttpCache/AppCache.php(266): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#20 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(448): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#21 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(344): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true)
#22 /engine/Shopware/Components/HttpCache/AppCache.php(187): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#23 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(210): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#24 /engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#25 / ***/*** / *****/****** /shopware.php(117): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#26 {main}

```

Versionen:  
Shopware: 5.2.25  
PayPal: 3.4.11

Hatte jemand schonmal dieses Problem oder kann mir helfen?

Vielen Dank im Voraus.

Roman Lensing

---

<div class="post-metadata">

### Author: ![dunkelbunt-pictures](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@dunkelbunt-pictures](https://forum.shopware.com/u/dunkelbunt-pictures)
#### Post date: [30. März 2022 um 22:19 UTC](https://forum.shopware.com/t/paypal-plugin-ups-ein-fehler-ist-aufgetreten/50799/2 "2022-03-30T22:19:15Z")

</div>

Hallo Roman, hast du es inzwischen lösen können?

---

<div class="post-metadata">

### Author: ![Role823](https://avatars.discourse-cdn.com/v4/letter/r/f4b2a3/32.png) [@Role823](https://forum.shopware.com/u/Role823)
#### Post date: [31. März 2022 um 08:36 UTC](https://forum.shopware.com/t/paypal-plugin-ups-ein-fehler-ist-aufgetreten/50799/3 "2022-03-31T08:36:18Z")

</div>

Hallo Dunkelbunt,

ehrlich gesagt kann ich mich an die Lösung nicht mehr erinnern.  
Jetzt ist es aber ja so, dass es das damals verwendete PayPal-Plugin gar nicht mehr gibt, sondern mittlerweile nur noch das PayPalUnified (oder so ähnlich) angeboten wird.

Demnach gehe ich davon aus, dass dein Fehler sicherlich ein anderer ist.

Mit freundlichen Grüßen  
Roman Lensing
