[Gelöst] SEPA-Lastschrift Fehlermeldung im Bestellprozess

Guten Tag, 

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…" 

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. 

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}  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“}
 

Anbei noch Screenshots aus der Datenbank falls diese Hilfreich sind

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

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

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

Liebe Grüße,

Sergej

 

2 „Gefällt mir“

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

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