Shopware - Bestellabbrüche - System springt wieder zu Bezahlauswahl

Hallo Gemeinde,

ich muss mit einem Kundenshop mal auf Ursachenforschung gehen. Wir haben unnatürlich hohe Bestellabbrüche mit PayPal. Immer wieder erhatlen wir als Feedback:

" Wenn auf PayPal weitergeleitet wird, rödelt das System ohne Ende und man kommt dann immer wieder an der gleichen Stelle raus und soll die „Bezahlart“ auswählen.

Wenn ich aber selbst die Funktion mit PayPal teste funktioniert es einwandfrei. Der Fehler scheint also nur unter bestimmten Umständen aufzutauchen. Ich habe jetzt mal in die Logs geschaut, was da steht an einem Tag mit einem PayPal Abbruch. Dort finde ich folgende Informationen:

[2019-08-24 06:14:57] core.CRITICAL: This action only admits post requests [] {"uid":"6421840"}
[2019-08-24 06:14:57] core.CRITICAL: This action only admits post requests [] {"uid":"6421840"}
[2019-08-24 06:14:57] core.ERROR: exception 'LogicException' with message 'This action only admits post requests' in /www/htdocs/xxx/shop_neu/sw5/engine/Shopware/Controllers/Frontend/Checkout.php:528 Stack trace: #0 /www/htdocs/xxx/shop_neu/sw5/engine/Library/Enlight/Controller/Action.php(192): Shopware_Controllers_Frontend_Checkout->addArticleAction() #1 /www/htdocs/xxx/shop_neu/sw5/engine/Library/Enlight/Controller/Dispatcher/Default.php(563): Enlight_Controller_Action->dispatch('addArticleActio...') #2 /www/htdocs/xxx/shop_neu/sw5/engine/Library/Enlight/Controller/Front.php(222): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #3 /www/htdocs/xxx/shop_neu/sw5/engine/Shopware/Kernel.php(202): Enlight_Controller_Front->dispatch() #4 /www/htdocs/xxx/shop_neu/sw5/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #5 /www/htdocs/xxx/shop_neu/sw5/vendor/symfony/http-kernel/HttpCache/HttpCache.php(448): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true) #6 /www/htdocs/xxx/shop_neu/sw5/engine/Shopware/Components/HttpCache/AppCache.php(260): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #7 /www/htdocs/xxx/shop_neu/sw5/vendor/symfony/http-kernel/HttpCache/HttpCache.php(420): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #8 /www/htdocs/xxx/shop_neu/sw5/vendor/symfony/http-kernel/HttpCache/HttpCache.php(317): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true) #9 /www/htdocs/xxx/shop_neu/sw5/engine/Shopware/Components/HttpCache/AppCache.php(187): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #10 /www/htdocs/xxx/shop_neu/sw5/vendor/symfony/http-kernel/HttpCache/HttpCache.php(192): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #11 /www/htdocs/xxx/shop_neu/sw5/engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #12 /www/htdocs/xxx/shop_neu/sw5/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #13 {main} [] {"uid":"6421840"}
[2019-08-24 07:31:36] core.CRITICAL: The provided CSRF-Token is invalid. If you're sure that the request to path "/backend/Login?file=app&no-cache=1565256622" should be valid, the called controller action needs to be whitelisted using the CSRFWhitelistAware interface. [] {"uid":"253e262"}
[2019-08-24 07:31:37] core.CRITICAL: The provided CSRF-Token is invalid. If you're sure that the request to path "/backend/Login?file=app&no-cache=1565256622" should be valid, the called controller action needs to be whitelisted using the CSRFWhitelistAware interface. [] {"uid":"253e262"}
[2019-08-24 07:31:37] core.ERROR: exception 'Shopware\Components\CSRFTokenValidationException' with message 'The provided CSRF-Token is invalid. If you're sure that the request to path "/backend/Login?file=app&no-cache=1565256622" should be valid, the called controller action needs to be whitelisted using the CSRFWhitelistAware interface.' in /www/htdocs/xxx/shop_neu/sw5/engine/Shopware/Components/CSRFTokenValidator.php:106 Stack trace: #0 (internal function): Shopware\Components\CSRFTokenValidator->checkBackendTokenValidation(Object(Enlight_Controller_ActionEventArgs)) #1 /www/htdocs/xxx/shop_neu/sw5/engine/Library/Enlight/Event/Handler/Default.php(91): call_user_func(Array, Object(Enlight_Controller_ActionEventArgs)) #2 /www/htdocs/xxx/shop_neu/sw5/engine/Library/Enlight/Event/EventManager.php(219): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs)) #3 /www/htdocs/xxx/shop_neu/sw5/engine/Library/Enlight/Controller/Action.php(176): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs)) #4 /www/htdocs/xxx/shop_neu/sw5/engine/Library/Enlight/Controller/Dispatcher/Default.php(563): Enlight_Controller_Action->dispatch('indexAction') #5 /www/htdocs/xxx/shop_neu/sw5/engine/Library/Enlight/Controller/Front.php(222): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #6 /www/htdocs/xxx/shop_neu/sw5/engine/Shopware/Kernel.php(202): Enlight_Controller_Front->dispatch() #7 /www/htdocs/xxx/shop_neu/sw5/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #8 /www/htdocs/xxx/shop_neu/sw5/vendor/symfony/http-kernel/HttpCache/HttpCache.php(448): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true) #9 /www/htdocs/xxx/shop_neu/sw5/engine/Shopware/Components/HttpCache/AppCache.php(260): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #10 /www/htdocs/xxx/shop_neu/sw5/vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #11 /www/htdocs/xxx/shop_neu/sw5/engine/Shopware/Components/HttpCache/AppCache.php(105): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #12 /www/htdocs/xxx/shop_neu/sw5/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #13 {main} [] {"uid":"253e262"}

Was sagen mir diese Meldungen? Könnten diese etwas mit dem PayPal Problem zu tun haben? Gibt es noch andere Möglichkeiten Fehlerursachen über PayPal herauszufinden?

Gruß,

kweb

Die Meldung “This action only admits post requests” kenne ich eigentlich nur im Zusamemnhang, wenn man versucht Artikel per GET (über URL) in den Warenkorb zu legen, anstelle mittels Formular. Hat nichts mit Paypal zu tun.