# \[Gelöst\] SEPA-Lastschrift Fehlermeldung im Bestellprozess

**URL:** <https://forum.shopware.com/t/gelost-sepa-lastschrift-fehlermeldung-im-bestellprozess/41838>\
**Category:** Allgemein\
**Created:** [30. November 2016 um 11:55 UTC](https://forum.shopware.com/t/gelost-sepa-lastschrift-fehlermeldung-im-bestellprozess/41838 "2016-11-30T11:55:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nwlnew](https://avatars.discourse-cdn.com/v4/letter/n/3bc359/32.png) [@nwlnew](https://forum.shopware.com/u/nwlnew)\
**Post date:** [30. November 2016 um 11:55 UTC](https://forum.shopware.com/t/gelost-sepa-lastschrift-fehlermeldung-im-bestellprozess/41838/1 "2016-11-30T11:55:58Z")

</div>

Guten Tag,&nbsp;

Ich bin leider mit meinem Latein am Ende und komme nach dem durchforsten jeglicher Foren und Google Ergebnisse zu keinem Ergebnis woran es liegen könnte.

Im Bestellprozess wenn man SEPA Lastschrift auswählt und auf Weiter klickt kommt eine Fehlermeldung " Ups, es ist ein Fehler aufgetreten…"&nbsp;

Shopware Version: 5.2.10  
PHP-Version: 7.0.13

Ich hoffe mir kann jemand einen Ansatz liefern auch wenn ich nicht verstehe das ich anscheinend der einzige bin mit dem Fehler.&nbsp;

**VIELEN DANK!  
Und Liebe Grüße,  
Sergej**

**Error Log spuckt folgendes aus:**  
[2016-11-30 11:44:34] core.ERROR: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‚payment\_mean\_id‘ cannot be null in /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Zend/Db/Statement/Pdo.php:228

Stack trace:

#0 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Zend/Db/Statement/Pdo.php(228): PDOStatement-\>execute(Array)  
#1 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Zend/Db/Statement.php(303): Zend\_Db\_Statement\_Pdo-\>\_execute(Array)  
#2 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Zend/Db/Adapter/Abstract.php(480): Zend\_Db\_Statement-\>execute(Array)  
#3 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend\_Db\_Adapter\_Abstract-\>query(‚INSERT INTO `s\_...', Array) #4 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Enlight/Components/Db/Adapter/Pdo/Mysql.php(96): Zend\_Db\_Adapter\_Pdo\_Abstract-\>query('INSERT INTO `s\_…‘, Array)  
#5 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Zend/Db/Adapter/Abstract.php(576): Enlight\_Components\_Db\_Adapter\_Pdo\_Mysql-\>query(‚INSERT INTO `s\_…‘, Array)  
#6 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Shopware/Plugins/Default/Core/PaymentMethods/Components/SepaPaymentMethod.php(131): Zend\_Db\_Adapter\_Abstract-\>insert(‚s\_core\_payment\_…‘, Array)  
#7 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Shopware/Controllers/Frontend/Checkout.php(753): ShopwarePlugin\PaymentMethods\Components\SepaPaymentMethod-\>savePaymentData(‚3007‘, Object(Enlight\_Controller\_Request\_RequestHttp))  
#8 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Enlight/Controller/Action.php(159): Shopware\_Controllers\_Frontend\_Checkout-\>saveShippingPaymentAction()  
#9 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch(‚saveShippingPay…‘)  
#10 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp))  
#11 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Shopware/Kernel.php(177): Enlight\_Controller\_Front-\>dispatch()  
#12 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel-\>handle(Object(Enlight\_Controller\_Request\_RequestHttp), 1, true) #13 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)  
#14 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true)  
#15 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(275): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true)  
#16 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php(133): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)  
#17 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(206): Shopware\Components\HttpCache\AppCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)  
#18 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
#19 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/shopware.php(113): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request))  
#20 {main} &nbsp;Next Zend\_Db\_Statement\_Exception: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‚payment\_mean\_id‘ cannot be null in /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Zend/Db/Statement/Pdo.php:234

Stack trace: #0 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Zend/Db/Statement.php(303): Zend\_Db\_Statement\_Pdo-\>\_execute(Array)  
#1 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Zend/Db/Adapter/Abstract.php(480): Zend\_Db\_Statement-\>execute(Array)  
#2 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend\_Db\_Adapter\_Abstract-\>query(‚INSERT INTO `s\_...', Array) #3 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Enlight/Components/Db/Adapter/Pdo/Mysql.php(96): Zend\_Db\_Adapter\_Pdo\_Abstract-\>query('INSERT INTO `s\_…‘, Array)  
#4 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Zend/Db/Adapter/Abstract.php(576): Enlight\_Components\_Db\_Adapter\_Pdo\_Mysql-\>query(‚INSERT INTO `s\_…‘, Array)  
#5 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Shopware/Plugins/Default/Core/PaymentMethods/Components/SepaPaymentMethod.php(131): Zend\_Db\_Adapter\_Abstract-\>insert(‚s\_core\_payment\_…‘, Array)  
#6 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Shopware/Controllers/Frontend/Checkout.php(753): ShopwarePlugin\PaymentMethods\Components\SepaPaymentMethod-\>savePaymentData(‚3007‘, Object(Enlight\_Controller\_Request\_RequestHttp))  
#7 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Enlight/Controller/Action.php(159): Shopware\_Controllers\_Frontend\_Checkout-\>saveShippingPaymentAction()  
#8 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch(‚saveShippingPay…‘)  
#9 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp))  
#10 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Shopware/Kernel.php(177): Enlight\_Controller\_Front-\>dispatch()  
#11 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel-\>handle(Object(Enlight\_Controller\_Request\_RequestHttp), 1, true) #12 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)  
#13 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true)  
#14 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(275): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true)  
#15 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php(133): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)  
#16 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(206): Shopware\Components\HttpCache\AppCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)  
#17 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
#18 /var/www/vhosts/xxx.aix-cloud.de/httpdocs/shopware.php(113): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request))  
#19 {main} {„uid“:„1106106“}  
&nbsp;

---

<div class="post-metadata">

**Author:** ![nwlnew](https://avatars.discourse-cdn.com/v4/letter/n/3bc359/32.png) [@nwlnew](https://forum.shopware.com/u/nwlnew)\
**Post date:** [30. November 2016 um 12:12 UTC](https://forum.shopware.com/t/gelost-sepa-lastschrift-fehlermeldung-im-bestellprozess/41838/2 "2016-11-30T12:12:53Z")

</div>

Anbei noch Screenshots aus der Datenbank falls diese Hilfreich sind

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/7/72dd97df2d9842d5452dd109fdb987fd023c42e4.png) ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/9/94b0fc0b96bd4dfc3bee3c7f575364ee3b99d41b.png) ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/e/e31ccd37e6b65dd2c8f49cac4aed830350084e26.png)

---

<div class="post-metadata">

**Author:** ![nwlnew](https://avatars.discourse-cdn.com/v4/letter/n/3bc359/32.png) [@nwlnew](https://forum.shopware.com/u/nwlnew)\
**Post date:** [14. Dezember 2016 um 12:50 UTC](https://forum.shopware.com/t/gelost-sepa-lastschrift-fehlermeldung-im-bestellprozess/41838/3 "2016-12-14T12:50:29Z")

</div>

Ich habe eine Lösung gefunden, für diejenigen die den gleichen Fehler mal haben sollten.&nbsp;

Bei „Zahlungsarten“ bei SEPA muss im Feld „Name“ unbedingt „Sepa“ stehen.&nbsp;

Ich hatte es mal in Sepa Lastschrift umbenannt und das hat den Fehler hervorgerufen.&nbsp;

Liebe Grüße,

Sergej

&nbsp;

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/e/e00ba9fdd4bdb4cb95e4f7c040b2406d0c3752dc.png)

---

<div class="post-metadata">

**Author:** ![Denny](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@Denny](https://forum.shopware.com/u/Denny)\
**Post date:** [22. Dezember 2016 um 09:52 UTC](https://forum.shopware.com/t/gelost-sepa-lastschrift-fehlermeldung-im-bestellprozess/41838/4 "2016-12-22T09:52:20Z")

</div>

Habe auch einen Fehler bei der weiterleitung der SEPA-Seite. der Name passt aber bei mir und logfile steht leider bei mir auch nichts

---

<div class="post-metadata">

**Author:** ![envigo](https://avatars.discourse-cdn.com/v4/letter/e/f19dbf/32.png) [@envigo](https://forum.shopware.com/u/envigo)\
**Post date:** [12. Januar 2017 um 14:17 UTC](https://forum.shopware.com/t/gelost-sepa-lastschrift-fehlermeldung-im-bestellprozess/41838/5 "2017-01-12T14:17:31Z")

</div>

Ich hatte die gleiche Fehlermeldung.&nbsp;Die Umbenennung hat bei mir den Fehler behoben, vielen Dank für den Tipp! Da wär ich NIE draufgekommen.
