renew bug
hugo-abdou opened this issue · 2 comments
hugo-abdou commented
when I call the renew() method I get this error
the same problem when I call subscribeTo('plan-name') I'm forced to pass expiration date or it will give the error
"message": "SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: '2122-11-24 10:35:50' for column 'expired_at' at row 1 (SQL: update
subscriptionsset
expired_at= 2122-11-24 10:35:50,
subscriptions.
updated_at= 2022-10-24 10:45:16 where
id` = 2)"
hugo-abdou commented
i font the problem
the problem is the timestamp limitation you need to change it to dateTime
pixsolution commented
Hello @hugo-abdou I'm presenting this issue, how do you solved it? where did you changed that? on susbscription migration?