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
{"code":"[Request ID: 088ebb62166e5a1d] Server Error: Uncaught ReferenceError: Buffer is not defined","trace":"Uncaught ReferenceError: Buffer is not defined\n"}
{"code":"[Request ID: 088ebb62166e5a1d] Server Error: Uncaught ReferenceError: Buffer is not defined","trace":"Uncaught ReferenceError: Buffer is not defined\n"}
and in the console I see this as an error
CONVEX H(GET /api/auth/callback/github)] [WARN] '2025-11-11T20:13:20.116Z WARN [Better Auth]: [Convex Adapter] - Transactions are not supported. Executing operations sequentially.
CONVEX H(GET /api/auth/callback/github)] [WARN] '2025-11-11T20:13:20.116Z WARN [Better Auth]: [Convex Adapter] - Transactions are not supported. Executing operations sequentially.
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
Jan Sobieski III
Jan Sobieski IIIOP2w ago
No description
Jan Sobieski III
Jan Sobieski IIIOP2w ago
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.

Did you find this page helpful?