Stripe webhook error -> I don't know how to fix this problem

I have an app that uses the Stripe plugin; everything works correctly, the subscription is created properly in Stripe, but the Stripe lifecycle events are not triggered and an error appears in the console:
2025-09-19T23:14:03.309Z ERROR [Better Auth]: Stripe webhook failed. Error: The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received an instance of Date
2025-09-19T23:14:03.309Z ERROR [Better Auth]: Stripe webhook failed. Error: The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received an instance of Date
This is all the feedback I have. The Stripe webhook logs (which I'm using with the Stripe CLI) don't show any errors. "better-auth": "^1.3.9", "@better-auth/stripe": "^1.3.12", "stripe": "^18.5.0",
1 Reply
Abhishek
Abhishek4w ago
is the webook gettin 400 error?

Did you find this page helpful?