Warum zeigt Paypal(-Plus) diese Fehlermeldung an?

Wir betreiben ein aktuelles Shopware-System (5.2.27 - gerade geupdatet) mit Paypal- (3.4.9) und neuerding Paypal-Plus-Plugin (1.3.1)

Nachdem wir soweit alles nach Handbuch konfiguriert haben (REST-API, Live-Modus, usw.) funktionierte die ganze Sache dann auch bei einigen Tests und anschließend auch bei einigen Bestellungen. Nun bekamen wir aber bei einem Bestellversuch eines Kunden mehrfach folgende Fehler-Mail:

ERROR

Message:

exception ‚GuzzleHttp\Exception\ClientException‘ with message ‚Client error response [url] https://api.paypal.com/v1/payments/payment/ [status code] 401 [reason phrase] Unauthorized‘ in /var/www/vhosts/ourhost.com/httpdocs/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:89 Stack trace: #0 /var/www/vhosts/ourhost.com/httpdocs/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 /var/www/vhosts/ourhost.com/httpdocs/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/guzzlehttp/guzzle/src/Event/Emitter.php(108): GuzzleHttp\Subscriber\HttpError->onComplete(Object(GuzzleHttp\Event\CompleteEvent), ‚complete‘) #2 /var/www/vhosts/ourhost.com/httpdocs/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/guzzlehttp/guzzle/src/RequestFsm.php(91): GuzzleHttp\Event\Emitter->emit(‚complete‘, Object(GuzzleHttp\Event\CompleteEvent)) #3 /var/www/vhosts/ourhost.com/httpdocs/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/guzzlehttp/guzzle/src/RequestFsm.php(132): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction)) #4 /var/www/vhosts/ourhost.com/httpdocs/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/react/promise/src/FulfilledPromise.php(25): GuzzleHttp\RequestFsm->GuzzleHttp{closure}(Array) #5 /var/www/vhosts/ourhost.com/httpdocs/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php(55): React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL) #6 /var/www/vhosts/ourhost.com/httpdocs/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/guzzlehttp/guzzle/src/Message/FutureResponse.php(43): GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL) #7 /var/www/vhosts/ourhost.com/httpdocs/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 /var/www/vhosts/ourhost.com/httpdocs/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/vendor/guzzlehttp/guzzle/src/Client.php(165): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction)) #9 /var/www/vhosts/ourhost.com/httpdocs/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/Components/RestClient.php(162): GuzzleHttp\Client->send(Object(GuzzleHttp\Message\Request)) #10 /var/www/vhosts/ourhost.com/httpdocs/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/Components/RestClient.php(147): Shopware\SwagPaymentPaypalPlus\Components\RestClient->sendRequest(‚PATCH‘, ‚payments/paymen…‘, Array) #11 /var/www/vhosts/ourhost.com/httpdocs/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/Subscriber/Checkout.php(215): Shopware\SwagPaymentPaypalPlus\Components\RestClient->patch(‚payments/paymen…‘, Array) #12 /var/www/vhosts/ourhost.com/httpdocs/engine/Shopware/Plugins/Community/Frontend/SwagPaymentPaypalPlus/Bootstrap.php(348): Shopware\SwagPaymentPaypalPlus\Subscriber\Checkout->onPreRedirectToPayPal(Object(Enlight_Event_EventArgs)) #13 /var/www/vhosts/ourhost.com/httpdocs/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Frontend_SwagPaymentPaypalPlus_Bootstrap->onPreRedirectToPayPal(Object(Enlight_Event_EventArgs)) #14 /var/www/vhosts/ourhost.com/httpdocs/engine/Library/Enlight/Event/EventManager.php(251): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Event_EventArgs)) #15 /var/www/vhosts/ourhost.com/httpdocs/engine/Library/Enlight/Controller/Action.php(157): Enlight_Event_EventManager->notifyUntil(‚Enlight_Control…‘, Array) #16 /var/www/vhosts/ourhost.com/httpdocs/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch(‚preRedirectActi…‘) #17 /var/www/vhosts/ourhost.com/httpdocs/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #18 /var/www/vhosts/ourhost.com/httpdocs/engine/Shopware/Kernel.php(182): Enlight_Controller_Front->dispatch() #19 /var/www/vhosts/ourhost.com/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(491): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /var/www/vhosts/ourhost.com/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php(266): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #21 /var/www/vhosts/ourhost.com/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #22 /var/www/vhosts/ourhost.com/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(275): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #23 /var/www/vhosts/ourhost.com/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php(141): Symfony\Component\HttpKernel\HttpCache\HttpCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true) #24 /var/www/vhosts/ourhost.com/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(206): Shopware\Components\HttpCache\AppCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true) #25 /var/www/vhosts/ourhost.com/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #26 /var/www/vhosts/ourhost.com/httpdocs/shopware.php(117): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #27 {main}

Time:

2017-07-25T12:39:45.019742+0200

Channel:

core

request:

{ „uri“: „/checkout/preRedirect“, „method“: „POST“, „query“: { „module“: „frontend“, „controller“: „checkout“, „action“: „preRedirect“ }, „post“: { „sComment“: „“ } }

session:

No session data available

shopId:

1

shopName:

Deutsch

Nachforschungen im Backend (Paypal - Jetzt API testen) brachten dann folgende Meldung zu Tage:

code: 0
message: The user name cannot contain ‚:‘ in ‚Basic‘ HTTP authentication
shopware_version: 5.2.27
php_version: 5.6.30
curl_version: 7.35.0
system_host: x86_64-pc-linux-gnu
ssl_version: OpenSSL/1.0.1f
libz_version: 1.2.8

Haben wir vielleicht etwas falsch eingestellt oder könnten es Probleme mit dem neuesten Update 5.2.27 bzw. dem Paypal-Plugin sein?

Hallo,

hier wird das Thema auch schon - erfolglos - behandelt:
https://forum.shopware.com/discussion/42431/paypal-plus-plugin-probleme