Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid datetime "0001/01/01", expected format Y-m-d. [] [] #376

Open
ivanko-dev opened this issue Jul 10, 2019 · 2 comments
Open

Invalid datetime "0001/01/01", expected format Y-m-d. [] [] #376

ivanko-dev opened this issue Jul 10, 2019 · 2 comments

Comments

@ivanko-dev
Copy link

Hello
We have authorize.net like main extension for payment in Magento 2 web shop. It is working good but in some cases we have success transactions and then error on processing orders. After checking logs found next information:

[2019-07-09 13:32:26] AuthorizeNet Logger.CRITICAL: Invalid datetime "0001/01/01", expected format Y-m-d. [] []

[2019-07-09 13:32:26] main.CRITICAL: The input data of type "boolean" did not convert to an array, but got a result of type "boolean". {"exception":"[object] (JMS\Serializer\Exception\RuntimeException(code: 0): The input data of type "boolean" did not convert to an array, but got a result of type "boolean". at /home/user/www/vendor/jms/serializer/src/JMS/Serializer/Serializer.php:136, JMS\Serializer\Exception\RuntimeException(code: 0): Invalid datetime "0001/01/01", expected format Y-m-d. at /home/user/www/vendor/jms/serializer/src/JMS/Serializer/Handler/DateHandler.php:172)"}

Looks like some issue with dates values in SDK library and related modules.
Could you please help to find out cause of this issue and possible solution?
Thank you in advance.

@ivanko-dev
Copy link
Author

Issue still exists. Looks like error appear on deserialization of Get Transaction Details request. Place transaction request is working fine and have log about success but after get transaction details request error described above still appear. Interesting is that error appear randomly not each time.

@summit-series
Copy link

We are also experiencing this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants