How to fix Stripe error

[Better Auth]: Error fetching subscription from Stripe RangeError: Invalid time value
at Date1.toISOString (<anonymous>)
at Array.map (<anonymous>)
at Array.map (<anonymous>)
at Array.map (<anonymous>)
Solution
I downgraded Stripe to version 17.7.0, and it works!
Was this page helpful?