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