# Sofort Überweisung und X-CSRF-Token

**URL:** <https://forum.shopware.com/t/sofort-uberweisung-und-x-csrf-token/41401>\
**Category:** Programmierung\
**Created:** [16. November 2016 um 14:52 UTC](https://forum.shopware.com/t/sofort-uberweisung-und-x-csrf-token/41401 "2016-11-16T14:52:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MisterD](https://avatars.discourse-cdn.com/v4/letter/m/4da419/32.png) [@MisterD](https://forum.shopware.com/u/MisterD)\
**Post date:** [16. November 2016 um 14:52 UTC](https://forum.shopware.com/t/sofort-uberweisung-und-x-csrf-token/41401/1 "2016-11-16T14:52:46Z")

</div>

Ich suche wieder mal Hilfe! Nachdem Ende Oktober endlich das neue SOFORT Überweisungs Plugin v 2.3.3 herausgegeben wurde, wollte ich gerne dieses Zahlungsmöglichkeit in unserem Shop hinzufügen.

Das Fazit: Sofort Überweisung hat klarerweise auch trotz Plugin nicht funktioniert…außerdem bekomme ich seitdem alle 10 Minuten diese Fehlermeldung: „X-CSRF-Token is invalid“.

Das Ärgerliche daran - ich habe das Plugin schon längst deinstalliert!

Hat vielleicht jemand eine Ahnung wie ich die Fehlermeldung wieder wegbekomme?

Danke!

> ERROR
> 
> Message:
> 
> exception ‚Shopware\Components\CSRFTokenValidationException‘ with message ‚The provided X-CSRF-Token is invalid. Please go back, reload the page and try again.‘ in /tomljsqk/[www.abc.de/shop/engine/Shopware/Components/CSRFTokenValidator.php:161](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/CSRFTokenValidator.php:161) Stack trace: #0 [internal function]: Shopware\Components\CSRFTokenValidator-\>checkFrontendTokenValidation(Object(Enlight\_Controller\_ActionEventArgs)) #1 /tomljsqk/[www.](http://www.tomorrowlabs.at/shop/engine/Library/Enlight/Event/Handler/Default.php)[abc.de](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/CSRFTokenValidator.php:161)[/shop/engine/Library/Enlight/Event/Handler/Default.php](http://www.tomorrowlabs.at/shop/engine/Library/Enlight/Event/Handler/Default.php)(91): call\_user\_func(Array, Object(Enlight\_Controller\_ActionEventArgs)) #2 /tomljsqk/[www.](http://www.tomorrowlabs.at/shop/engine/Library/Enlight/Event/EventManager.php)[abc.de](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/CSRFTokenValidator.php:161)[/shop/engine/Library/Enlight/Event/EventManager.php](http://www.tomorrowlabs.at/shop/engine/Library/Enlight/Event/EventManager.php)(214): Enlight\_Event\_Handler\_Default-\>execute(Object(Enlight\_Controller\_ActionEventArgs)) #3 /tomljsqk/[www.](http://www.tomorrowlabs.at/shop/engine/Library/Enlight/Controller/Action.php)[abc.de](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/CSRFTokenValidator.php:161)[/shop/engine/Library/Enlight/Controller/Action.php](http://www.tomorrowlabs.at/shop/engine/Library/Enlight/Controller/Action.php)(143): Enlight\_Event\_EventManager-\>notify(‚Enlight\_Control…‘, Object(Enlight\_Controller\_ActionEventArgs)) #4 /tomljsqk/[www.](http://www.tomorrowlabs.at/shop/engine/Library/Enlight/Controller/Dispatcher/Default.php)[abc.de](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/CSRFTokenValidator.php:161)[/shop/engine/Library/Enlight/Controller/Dispatcher/Default.php](http://www.tomorrowlabs.at/shop/engine/Library/Enlight/Controller/Dispatcher/Default.php)(523): Enlight\_Controller\_Action-\>dispatch(‚indexAction‘) #5 /tomljsqk/[www.](http://www.tomorrowlabs.at/shop/engine/Library/Enlight/Controller/Front.php)[abc.de](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/CSRFTokenValidator.php:161)[/shop/engine/Library/Enlight/Controller/Front.php](http://www.tomorrowlabs.at/shop/engine/Library/Enlight/Controller/Front.php)(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #6 /tomljsqk/[www.](http://www.tomorrowlabs.at/shop/engine/Shopware/Kernel.php)[abc.de](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/CSRFTokenValidator.php:161)[/shop/engine/Shopware/Kernel.php](http://www.tomorrowlabs.at/shop/engine/Shopware/Kernel.php)(176): Enlight\_Controller\_Front-\>dispatch() #7 /tomljsqk/[www.](http://www.tomorrowlabs.at/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php)[abc.de](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/CSRFTokenValidator.php:161)[/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php](http://www.tomorrowlabs.at/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php)(487): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #8 /tomljsqk/[www.](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/HttpCache/AppCache.php)[abc.de](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/CSRFTokenValidator.php:161)[/shop/engine/Shopware/Components/HttpCache/AppCache.php](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/HttpCache/AppCache.php)(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #9 /tomljsqk/[www.](http://www.tomorrowlabs.at/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php)[abc.de](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/CSRFTokenValidator.php:161)[/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php](http://www.tomorrowlabs.at/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php)(258): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #10 /tomljsqk/[www.](http://www.tomorrowlabs.at/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php)[abc.de](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/CSRFTokenValidator.php:161)[/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php](http://www.tomorrowlabs.at/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php)(275): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #11 /tomljsqk/[www.](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/HttpCache/AppCache.php)[abc.de](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/CSRFTokenValidator.php:161)[/shop/engine/Shopware/Components/HttpCache/AppCache.php](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/HttpCache/AppCache.php)(133): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true) #12 /tomljsqk/[www.](http://www.tomorrowlabs.at/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php)[abc.de](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/CSRFTokenValidator.php:161)[/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php](http://www.tomorrowlabs.at/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php)(206): Shopware\Components\HttpCache\AppCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true) #13 /tomljsqk/[www.](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/HttpCache/AppCache.php)[abc.de](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/CSRFTokenValidator.php:161)[/shop/engine/Shopware/Components/HttpCache/AppCache.php](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/HttpCache/AppCache.php)(114): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 /tomljsqk/[www.](http://www.tomorrowlabs.at/shop/shopware.php)[abc.de](http://www.tomorrowlabs.at/shop/engine/Shopware/Components/CSRFTokenValidator.php:161)[/shop/shopware.php](http://www.tomorrowlabs.at/shop/shopware.php)(101): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #15 {main}
> 
> Time:
> 
> 2016-11-16T15:42:37.086864+0100
> 
> Channel:
> 
> core
> 
> request:
> 
> { „uri“: „/shop/payment\_sofortbanking/notify“, „method“: „POST“, „query“: { „module“: „frontend“, „controller“: „payment\_sofortbanking“, „action“: „notify“ }, „post“: }
> 
> session:
> 
> { „sessionId“: „814c3684a206a1e38e8d19c26a382617d2fbcfbc658a943530e6ce6861d33116“, „sArea“: null, „sCountry“: null, „sState“: null, „X-CSRF-Token“: „q2qUb42pJmQtEI8DrSxNA2wKntEHOK“, „Bot“: false, „sOutputNet“: false, „sUserId“: null }
> 
> shopId:
> 
> 1
> 
> shopName:
> 
> Deutsch
