# Warum zeigt Paypal(-Plus) diese Fehlermeldung an?

**URL:** <https://forum.shopware.com/t/warum-zeigt-paypal-plus-diese-fehlermeldung-an/47111>\
**Category:** Plugins\
**Tags:** offizielle-shopware-\
**Created:** [25. Juli 2017 um 18:18 UTC](https://forum.shopware.com/t/warum-zeigt-paypal-plus-diese-fehlermeldung-an/47111 "2017-07-25T18:18:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NagelMedia](https://avatars.discourse-cdn.com/v4/letter/n/91b2a8/32.png) [@NagelMedia](https://forum.shopware.com/u/NagelMedia)\
**Post date:** [25. Juli 2017 um 18:18 UTC](https://forum.shopware.com/t/warum-zeigt-paypal-plus-diese-fehlermeldung-an/47111/1 "2017-07-25T18:18:52Z")

</div>

Wir betreiben ein&nbsp;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/](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:&nbsp;0  
> message:&nbsp;The user name cannot contain ‚:‘ in ‚Basic‘ HTTP authentication  
> shopware\_version:&nbsp;5.2.27  
> php\_version:&nbsp;5.6.30  
> curl\_version:&nbsp;7.35.0  
> system\_host:&nbsp;x86\_64-pc-linux-gnu  
> ssl\_version:&nbsp;OpenSSL/1.0.1f  
> libz\_version:&nbsp;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?

---

<div class="post-metadata">

**Author:** ![Quelk](https://avatars.discourse-cdn.com/v4/letter/q/e95f7d/32.png) [@Quelk](https://forum.shopware.com/u/Quelk)\
**Post date:** [14. August 2017 um 14:22 UTC](https://forum.shopware.com/t/warum-zeigt-paypal-plus-diese-fehlermeldung-an/47111/2 "2017-08-14T14:22:14Z")

</div>

Hallo,

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