Hi,
seit Shopware 5.2 habe ich nun schon seit mehreren Wochen immer wieder beim Bezahlvorgang. Gestern bekam ich wieder von 2 Kunden einen Anruf, dass der Bezahlvorgang nicht funktioniert. Bei anderen tritt das Problem offenbar nicht auf. Ich kann den Fehler leider auch nicht reproduzieren.
Es ist wohl so, dass bei der Bezahlauswahl der Kreis kommt der lädt und dann nichts passiert. Weder bei PayPal, noch bei Vorkasse kommt der Kunde dann weiter.
Gestern habe ich zum Bestellzeitpunkt des Kunden folgenden Fehler gefunden:
exception 'GuzzleHttp\Exception\ClientException' with message 'Client error response [url] https://api.paypal.com/v1/payments/payment/PAY-56F852784Y4857326K7V3LYQ/execute [status code] 400 [reason phrase] Bad Request' in /tesasvfa/www.testroka.de/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:89
Stack trace:
#0 /tesasvfa/www.testroka.de/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/guzzlehttp/guzzle/src/Subscriber/HttpError.php(33): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Message\Response))
#1 /tesasvfa/www.testroka.de/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/guzzlehttp/guzzle/src/Event/Emitter.php(108): GuzzleHttp\Subscriber\HttpError->onComplete(Object(GuzzleHttp\Event\CompleteEvent), 'complete')
#2 /tesasvfa/www.testroka.de/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/guzzlehttp/guzzle/src/RequestFsm.php(91): GuzzleHttp\Event\Emitter->emit('complete', Object(GuzzleHttp\Event\CompleteEvent))
#3 /tesasvfa/www.testroka.de/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/guzzlehttp/guzzle/src/RequestFsm.php(132): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))
#4 /tesasvfa/www.testroka.de/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/react/promise/src/FulfilledPromise.php(25): GuzzleHttp\RequestFsm->GuzzleHttp\{closure}(Array)
#5 /tesasvfa/www.testroka.de/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php(55): React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL)
#6 /tesasvfa/www.testroka.de/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/guzzlehttp/guzzle/src/Message/FutureResponse.php(43): GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL)
#7 /tesasvfa/www.testroka.de/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/guzzlehttp/guzzle/src/RequestFsm.php(135): GuzzleHttp\Message\FutureResponse::proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure))
#8 /tesasvfa/www.testroka.de/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/guzzlehttp/guzzle/src/Client.php(165): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))
#9 /tesasvfa/www.testroka.de/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/Components/RestClient.php(138): GuzzleHttp\Client->send(Object(GuzzleHttp\Message\Request))
#10 /tesasvfa/www.testroka.de/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/Components/RestClient.php(95): Shopware\SwagPaymentPaypalPlus\Components\RestClient->sendRequest('POST', 'payments/paymen...', Array)
#11 /tesasvfa/www.testroka.de/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/Subscriber/PaymentPaypal.php(135): Shopware\SwagPaymentPaypalPlus\Components\RestClient->create('payments/paymen...', Array)
#12 /tesasvfa/www.testroka.de/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/Bootstrap.php(356): Shopware\SwagPaymentPaypalPlus\Subscriber\PaymentPaypal->onPreDispatchPaymentPaypal(Object(Enlight_Controller_ActionEventArgs))
#13 /tesasvfa/www.testroka.de/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Frontend_SwagPaymentPaypalPlus_Bootstrap->onPreDispatchPaymentPaypal(Object(Enlight_Controller_ActionEventArgs))
#14 /tesasvfa/www.testroka.de/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_ActionEventArgs))
#15 /tesasvfa/www.testroka.de/engine/Library/Enlight/Controller/Action.php(148): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#16 /tesasvfa/www.testroka.de/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('returnAction')
#17 /tesasvfa/www.testroka.de/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#18 /tesasvfa/www.testroka.de/engine/Shopware/Kernel.php(176): Enlight_Controller_Front->dispatch()
#19 /tesasvfa/www.testroka.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 /tesasvfa/www.testroka.de/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#21 /tesasvfa/www.testroka.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(444): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#22 /tesasvfa/www.testroka.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(344): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true)
#23 /tesasvfa/www.testroka.de/engine/Shopware/Components/HttpCache/AppCache.php(178): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#24 /tesasvfa/www.testroka.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(210): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#25 /tesasvfa/www.testroka.de/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#26 /tesasvfa/www.testroka.de/shopware.php(101): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#27 {main}
Dieser Fehler kam 3 mal während des Bestellvorgangs, also offenbar immer, wenn der Kunde es neu probiert hat.
Kann jemand etwas damit anfangen? Ich bin langsam genervt da ich nie weiß wann der Fehler auftritt und schon einige Bestellungen verloren habe.
Ich habe auch immer noch am Tag ca. 50mal eine Fehler-Email mit dem “X-CSRF-Token is invalid”. Wenn ich das aber immer mal nachschlage, sind die IP-Adressen dort auch immer irgendwelche verdächtigen “.ru”-Adressen, so dass ich denke, dass diese Emails “korrekte” Fehlermeldungen sind?
Ich würde mich über jeden Hinweis freuen!
Nico