# Shopware token is invalid - PayPal Express Checkout (Shopware 6)

**URL:** <https://forum.shopware.com/t/shopware-token-is-invalid-paypal-express-checkout-shopware-6/89233>\
**Category:** Shopware 6 (German)\
**Tags:** general\
**Created:** [19. Juli 2021 um 11:48 UTC](https://forum.shopware.com/t/shopware-token-is-invalid-paypal-express-checkout-shopware-6/89233 "2021-07-19T11:48:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucamario](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/lucamario/32/15269_2.png) [@lucamario](https://forum.shopware.com/u/lucamario)\
**Post date:** [19. Juli 2021 um 11:48 UTC](https://forum.shopware.com/t/shopware-token-is-invalid-paypal-express-checkout-shopware-6/89233/1 "2021-07-19T11:48:31Z")

</div>

Hall zusammen,

ich habe gerade eine brandneue Shopware Version 6.4.2.1 (Prod) aufgesetzt, das PayPal Plugin installiert und die nötige Konfiguration ausgefüllt. Es ist sonst kein weiteres Plugin installiert.

Beim Express Checkout eines Standard Test Artikels bekomme ich einen ähnlichen Fehler wie hier unter Shopware 5 mal beschrieben wurde:

[https://forum.shopware.com/t/login-mit-paypal-express-funktioniert-nicht/53366](https://forum.shopware.com/t/login-mit-paypal-express-funktioniert-nicht/53366)

Das PayPal Fenster öffnet sich kurz und schließt sich danach direkt wieder.

Hier mein entsprechende Log:

```auto
[2021-07-19T00:02:01.137987+00:00] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\BadRequestHttpException: "Shopware token is invalid" at /www/htdocs/w01bb778/domain.de/custom/plugins/SwagPayPal/src/Webhook/WebhookController.php line 181 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\BadRequestHttpException(code: 0): Shopware token is invalid at /www/htdocs/xxxxxx/domain.de/custom/plugins/SwagPayPal/src/Webhook/WebhookController.php:181)"} []

```

Wie beschrieben wurden keine Besonderheiten vorgenommen. An was könnte dies liegen?

Viele Grüße

Luca

---

<div class="post-metadata">

**Author:** ![wlx](https://avatars.discourse-cdn.com/v4/letter/w/d6d6ee/32.png) [@wlx](https://forum.shopware.com/u/wlx)\
**Post date:** [6. September 2021 um 09:17 UTC](https://forum.shopware.com/t/shopware-token-is-invalid-paypal-express-checkout-shopware-6/89233/2 "2021-09-06T09:17:12Z")

</div>

Hallo Luca,

bei uns tritt aktuell das gleiche Problem auf. Konntest du das Problem evtl. schon lösen?

Viele Grüße

---

<div class="post-metadata">

**Author:** ![lucamario](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/lucamario/32/15269_2.png) [@lucamario](https://forum.shopware.com/u/lucamario)\
**Post date:** [6. September 2021 um 09:50 UTC](https://forum.shopware.com/t/shopware-token-is-invalid-paypal-express-checkout-shopware-6/89233/3 "2021-09-06T09:50:17Z")

</div>

Hey wlx,

leider nicht. Es handelte sich damals nur um einen Testshop meinerseits. Den Fehler konnte ich seither nicht mehr reproduzieren.

LG Luca
