-
Notifications
You must be signed in to change notification settings - Fork 213
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
Unable to get payment creation date #2647
Comments
Thank you for raising this issue with us. Investigating on this, our plugin is setting the createdAt field in adyen_order_payment table here, and the type being passed to the DB is DateTime. Checking the value stored in the database while testing this flow, I can indeed confirm it to be a DateTime. I would suggest checking whether there are any customizations on your end that are interfering with how our plugin is storing this field in the database. Kind regards, |
@RokPopov Yes, it is stored as a DateTime in the database, but when it was fetched from the database, it was returned as a string. Here is the As you can see the dates here are in string format. So, at least for |
Describe the bug
In our custom code, we try to get the payment created date, but we encounter this TypeError:
Magento version
2.4.5-p7
Plugin version
9.5.0
The text was updated successfully, but these errors were encountered: