Paypal Plugin: Client Error Response

Hallo,

Danke für die schnelle Hilfe!
Plugin Production:

[2018-10-10 22:02:02] plugin.ERROR: PayPal: Could not register webhooks due to a communication failure {"message":"Client error response [url] https://api.paypal.com/v1/notifications/webhooks [status code] 400 [reason phrase] Bad Request","payload":"{\"name\":\"WEBHOOK_URL_ALREADY_EXISTS\",\"message\":\"Webhook URL already exists\",\"debug_id\":\"b49e5ea768675\",\"information_link\":\"https://developer.paypal.com/docs/api/webhooks/#errors\",\"details\":[],\"links\":[]}"} {"uid":"372010f"}

 

Core Production Log:

[2018-10-10 22:02:36] core.CRITICAL: Client error response [url] https://api.paypal.com/v1/payments/payment/PAYID-LO7FVWY9H659779UH829671R [status code] 400 [reason phrase] Bad Request [] {"uid":"ed69600"}
[2018-10-10 22:02:37] core.CRITICAL: Client error response [url] https://api.paypal.com/v1/payments/payment/PAYID-LO7FVWY9H659779UH829671R [status code] 400 [reason phrase] Bad Request [] {"uid":"ed69600"}
[2018-10-10 22:02:37] core.ERROR: GuzzleHttp\Exception\ClientException: Client error response [url] https://api.paypal.com/v1/payments/payment/PAYID-LO7FVWY9H659779UH829671R [status code] 400 [reason phrase] Bad Request in /html/shopware-201809151541/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:89 Stack trace: #0 /html/shopware-201809151541/vendor/guzzlehttp/guzzle/src/Subscriber/HttpError.php(32): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Message\Response)) #1 /html/shopware-201809151541/vendor/guzzlehttp/guzzle/src/Event/Emitter.php(108): GuzzleHttp\Subscriber\HttpError->onComplete(Object(GuzzleHttp\Event\CompleteEvent), 'complete') #2 /html/shopware-201809151541/vendor/guzzlehttp/guzzle/src/RequestFsm.php(91): GuzzleHttp\Event\Emitter->emit('complete', Object(GuzzleHttp\Event\CompleteEvent)) #3 /html/shopware-201809151541/vendor/guzzlehttp/guzzle/src/RequestFsm.php(132): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction)) #4 /html/shopware-201809151541/vendor/react/promise/src/FulfilledPromise.php(25): GuzzleHttp\RequestFsm->GuzzleHttp\{closure}(Array) #5 /html/shopware-201809151541/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php(55): React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL) #6 /html/shopware-201809151541/vendor/guzzlehttp/guzzle/src/Message/FutureResponse.php(43): GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL) #7 /html/shopware-201809151541/vendor/guzzlehttp/guzzle/src/RequestFsm.php(134): GuzzleHttp\Message\FutureResponse::proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure)) #8 /html/shopware-201809151541/vendor/guzzlehttp/guzzle/src/Client.php(165): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction)) #9 /html/shopware-201809151541/vendor/guzzlehttp/guzzle/src/Client.php(145): GuzzleHttp\Client->send(Object(GuzzleHttp\Message\Request)) #10 /html/shopware-201809151541/engine/Shopware/Components/HttpClient/GuzzleHttpClient.php(152): GuzzleHttp\Client->patch('https://api.pay...', Array) #11 /html/shopware-201809151541/custom/plugins/SwagPaymentPayPalUnified/PayPalBundle/Services/ClientService.php(159): Shopware\Components\HttpClient\GuzzleHttpClient->patch('https://api.pay...', Array, '[{"op":"add","p...') #12 /html/shopware-201809151541/custom/plugins/SwagPaymentPayPalUnified/PayPalBundle/Resources/PaymentResource.php(87): SwagPaymentPayPalUnified\PayPalBundle\Services\ClientService->sendRequest('PATCH', 'https://api.pay...', '[{"op":"add","p...') #13 /html/shopware-201809151541/custom/plugins/SwagPaymentPayPalUnified/Controllers/Frontend/PaypalUnified.php(145): SwagPaymentPayPalUnified\PayPalBundle\Resources\PaymentResource->patch('PAYID-LO7FVWY9H...', Array) #14 /html/shopware-201809151541/engine/Library/Enlight/Controller/Action.php(193): Shopware_Controllers_Frontend_PaypalUnified->gatewayAction() #15 /html/shopware-201809151541/engine/Library/Enlight/Controller/Dispatcher/Default.php(549): Enlight_Controller_Action->dispatch('gatewayAction') #16 /html/shopware-201809151541/engine/Library/Enlight/Controller/Front.php(222): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #17 /html/shopware-201809151541/engine/Shopware/Kernel.php(202): Enlight_Controller_Front->dispatch() #18 /html/shopware-201809151541/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 /html/shopware-201809151541/vendor/symfony/http-kernel/HttpCache/HttpCache.php(448): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /html/shopware-201809151541/engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #21 /html/shopware-201809151541/vendor/symfony/http-kernel/HttpCache/HttpCache.php(420): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #22 /html/shopware-201809151541/vendor/symfony/http-kernel/HttpCache/HttpCache.php(317): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true) #23 /html/shopware-201809151541/engine/Shopware/Components/HttpCache/AppCache.php(189): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #24 /html/shopware-201809151541/vendor/symfony/http-kernel/HttpCache/HttpCache.php(192): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #25 /html/shopware-201809151541/engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #26 /html/shopware-201809151541/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #27 {main} Next Shopware\Components\HttpClient\RequestException: Client error response [url] https://api.paypal.com/v1/payments/payment/PAYID-LO7FVWY9H659779UH829671R [status code] 400 [reason phrase] Bad Request in /html/shopware-201809151541/engine/Shopware/Components/HttpClient/GuzzleHttpClient.php:154 Stack trace: #0 /html/shopware-201809151541/custom/plugins/SwagPaymentPayPalUnified/PayPalBundle/Services/ClientService.php(159): Shopware\Components\HttpClient\GuzzleHttpClient->patch('https://api.pay...', Array, '[{"op":"add","p...') #1 /html/shopware-201809151541/custom/plugins/SwagPaymentPayPalUnified/PayPalBundle/Resources/PaymentResource.php(87): SwagPaymentPayPalUnified\PayPalBundle\Services\ClientService->sendRequest('PATCH', 'https://api.pay...', '[{"op":"add","p...') #2 /html/shopware-201809151541/custom/plugins/SwagPaymentPayPalUnified/Controllers/Frontend/PaypalUnified.php(145): SwagPaymentPayPalUnified\PayPalBundle\Resources\PaymentResource->patch('PAYID-LO7FVWY9H...', Array) #3 /html/shopware-201809151541/engine/Library/Enlight/Controller/Action.php(193): Shopware_Controllers_Frontend_PaypalUnified->gatewayAction() #4 /html/shopware-201809151541/engine/Library/Enlight/Controller/Dispatcher/Default.php(549): Enlight_Controller_Action->dispatch('gatewayAction') #5 /html/shopware-201809151541/engine/Library/Enlight/Controller/Front.php(222): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #6 /html/shopware-201809151541/engine/Shopware/Kernel.php(202): Enlight_Controller_Front->dispatch() #7 /html/shopware-201809151541/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #8 /html/shopware-201809151541/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 /html/shopware-201809151541/engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #10 /html/shopware-201809151541/vendor/symfony/http-kernel/HttpCache/HttpCache.php(420): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #11 /html/shopware-201809151541/vendor/symfony/http-kernel/HttpCache/HttpCache.php(317): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true) #12 /html/shopware-201809151541/engine/Shopware/Components/HttpCache/AppCache.php(189): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #13 /html/shopware-201809151541/vendor/symfony/http-kernel/HttpCache/HttpCache.php(192): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #14 /html/shopware-201809151541/engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /html/shopware-201809151541/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #16 {main} [] {"uid":"ed69600"}

Liebe Grüße und vielen Dank für die Hilfe!