Hallo,
wir haben einen SW 5.6.10 und setzen das PayPal Plugin in der Version 5.0.4 ein.
Es kommt immer wieder (und in letzter Zeit auch gehäufter) vor, dass Kunden sich bei uns melden, da sie nicht mit PayPal zahlen können.
Wenn ich dann in den Log schaue, sehe ich folgende Fehlermeldung:
[2022-12-12 08:57:32] core.ERROR: UnexpectedValueException: Payment type not found in /var/www/clients/client1/web1/web/custom/plugins/SwagPaymentPayPalUnified/Controllers/Frontend/AbstractPaypalPaymentController.php:504 Stack trace:
#0 /var/www/clients/client1/web1/web/custom/plugins/SwagPaymentPayPalUnified/Controllers/Frontend/PaypalUnifiedV2.php(154): SwagPaymentPayPalUnified\Controllers\Frontend\AbstractPaypalPaymentController->getPaymentType(Object(SwagPaymentPayPalUnified\PayPalBundle\V2\Api\Order))
#1 /var/www/clients/client1/web1/web/engine/Library/Enlight/Controller/Action.php(192): Shopware_Controllers_Frontend_PaypalUnifiedV2->returnAction()
#2 /var/www/clients/client1/web1/web/engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight_Controller_Action->dispatch('returnAction')
#3 /var/www/clients/client1/web1/web/engine/Library/Enlight/Controller/Front.php(228): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#4 /var/www/clients/client1/web1/web/engine/Shopware/Kernel.php(188): Enlight_Controller_Front->dispatch()
#5 /var/www/clients/client1/web1/web/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#6 /var/www/clients/client1/web1/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(453): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true)
#7 /var/www/clients/client1/web1/web/engine/Shopware/Components/HttpCache/AppCache.php(261): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#8 /var/www/clients/client1/web1/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(426): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#9 /var/www/clients/client1/web1/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(317): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true)
#10 /var/www/clients/client1/web1/web/engine/Shopware/Components/HttpCache/AppCache.php(188): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#11 /var/www/clients/client1/web1/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(192): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#12 /var/www/clients/client1/web1/web/engine/Shopware/Components/HttpCache/AppCache.php(113): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#13 /var/www/clients/client1/web1/web/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#14 {main} [] {"uid":"7f0350e"}
Eine Lösungsansatz habe ich bis jetzt im Nets noch nicht gefunden.
Vielleicht weiß hier jemand eine Lösung?
LG
Markus