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
Describe the bug
In our custom code, we try to get the payment created date, but we encounter this TypeError:
TypeError: Adyen\Payment\Model\Order\Payment::getCreatedAt(): Return value must be of type DateTime, string returned in /vendor/adyen/module-payment/Model/Order/Payment.php:122
Magento version
2.4.5-p7
Plugin version
9.5.0
The text was updated successfully, but these errors were encountered:
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.
RokPopov
added
Not applicable
Indicates that issue could not be handled within this repo or publicly
and removed
Bug report
Indicates that issue has been marked as a possible bug
labels
Jun 5, 2024
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: