Stripe Plugin Type Error
Hi everyone!
I tried setting up the Stripe plugin using the official guide.
My project is configured with:
*
"type": "module"
in package.json
* "module": "nodenext"
in tsconfig.json
With this setup, I’m running into the following type error:
I came across this related issue: https://github.com/better-auth/better-auth/issues/4054. The version mentioned there, 1.3.8-beta.6
, actually resolves the error for me. However, upgrading to the latest version (1.3.18
) brings the type issue back.
I ensured both better-auth
and @better-auth/stripe
are installed with the same version.
Here is a minimal StackBlitz showing the issue: https://stackblitz.com/edit/stackblitz-starters-q2b7h9pb?file=index.ts0 Replies