Local Install version of Stripe BetterAuth + Convex issues.
Hello,
For some reason stripe has been giving me some issues when trying to use it on Local Instal Better Auth + Convex on NextJS.
When having a user create an account w/ github oauth for the first time, I get this
and in the console I see this as an error
No entries appear in the database either so its not really executing anything be otherwise there would be a customer created on stripe tied to a user Id
2 Replies

11/15/2025, 2:49:55 PM [CONVEX H(GET /api/auth/callback/github)] [LOG] '2025-11-15T20:49:55.811Z INFO [Better Auth]: [Convex Adapter]' '#5 \x1B[40m\x1B[33m[4/4]\x1B[0m' '\x1B[1mcreate\x1B[0m \x1B[2m(Parsed Result)\x1B[0m:' {
model: 'user',
data: {
name: 'Alexander K',
email: 'xxxxx@gmail.com',
emailVerified: true,
image: 'https://avatars.githubusercontent.com/u/xxxxxx',
createdAt: 1763239795775,
updatedAt: 1763239795775,
userId: undefined,
stripeCustomerId: undefined,
id: 'jh7cxtd4zet8swmqmw1vj4xg4n7vemmh'
}
}
11/15/2025, 2:49:55 PM [CONVEX H(GET /api/auth/callback/github)] Uncaught ReferenceError: Buffer is not defined
GitHub
GitHub · Change is constant. GitHub keeps you ahead.
Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity.