You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the cart contains a cart item that has a custom option value which is NOT of type string (i.e int) a fatal error will arise, causing the payment process to fail.
request.CRITICAL: Uncaught PHP Exception TypeError: "WalleePayment\Core\Util\Payload\AbstractPayload::fixLength(): Argument #1 ($string) must be of type string, int given, called in [...]/vendor/wallee/shopware-6/src/Core/Util/Payload/TransactionPayload.php on line 402
When the cart contains a cart item that has a custom option value which is NOT of type string (i.e
int
) a fatal error will arise, causing the payment process to fail.The code expects all values to be of type string which is not necessarily the case.
Casting the value to string is safe and fixes the problem.
The text was updated successfully, but these errors were encountered: