Closed rofthedeep closed 2 months ago
Hello @rofthedeep ,
Thank you for your message.
We apologize for the delay in replying. We are not aware of the error and it did not occur during our testing.
Please send an e-mail to tech.support@payone.com stating your merchant ID and preferably also the access data of the test store. Our colleagues can then take a closer look at the store.
Hello,
at the moment we are testing different payment options in Test Mode. With Sepa / Lastschrift we are getting this error:
[2024-06-13T08:23:36.030317+00:00] php.CRITICAL: Uncaught Error: DateTime::createFromFormat(): Argument #2 ($datetime) must be of type string, null given {"exception":"[object] (TypeError(code: 0): DateTime::createFromFormat(): Argument #2 ($datetime) must be of type string, null given /xxx/deployments/releases/13/www/vendor/payone-gmbh/shopware-6/src/PaymentHandler/PayoneDebitPaymentHandler.php:92)"} []
This is the line: $date = \DateTime::createFromFormat('Ymd', $response['mandate']['DateOfSignature']);
Installed Version:![Bildschirmfoto 2024-06-13 um 10 27 46](https://github.com/PAYONE-GmbH/shopware-6/assets/2420176/2a3f6fb3-3b7b-45dd-9263-6d996f63ba04)
Best, Tim