Error after return from sofort.com

Created on 25 May 2023, about 1 year ago

Problem

After returning from Sofort, i got the following Error Message:

InvalidArgumentException: Placeholders must have a trailing [] if they are to be expanded with an array of values. in Drupal\Core\Database\Connection->expandArguments() (Zeile 1085 in /usr/www/users/web/core/lib/Drupal/Core/Database/Connection.php).

Drupal\Core\Database\Connection->query() (Line: 514)
Drupal\Core\Database\Query\Select->execute() (Line: 271)
Drupal\Core\Entity\Query\Sql\Query->result() (Line: 83)
Drupal\Core\Entity\Query\Sql\Query->execute() (Line: 640)
Drupal\Core\Entity\EntityStorageBase->loadByProperties() (Line: 423)
Drupal\commerce_stripe_sofort\Plugin\Commerce\PaymentGateway\StripeSofort->findPayment() (Line: 337)
Drupal\commerce_stripe_sofort\Plugin\Commerce\PaymentGateway\StripeSofort->onReturn() (Line: 98)
Drupal\commerce_payment\Controller\PaymentCheckoutController->returnPage()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 159)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 43)
Drupal\force_password_change\Service\ForcePasswordChangeRedirectMiddleware->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 709)
Drupal\Core\DrupalKernel->handle() (Line: 19)

The payment was successfull but the order is still in Draft status.

πŸ› Bug report
Status

Active

Version

2.0

Component

User interface

Created by

πŸ‡©πŸ‡ͺGermany forward-media

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024