Skip to content

Conversation

@aklusa022
Copy link

📝 Key Issue:
When attempting to sign up to an application that uses the @better-auth/stripe package with the createCustomerOnSignUp enabled, it would fail to create a customer in Stripe.

This failure resulted in a "convex buffer undefined error" (see issue #165)

The issue only occurred when using Convex and a local installation.

✨ Solution:
The fix is implemented through an amendment to the local installation documentation that ensures the Stripe customer is created successfully during sign-up.

The fix allows the application to successfully create the Stripe customer.

The stripeCustomerId is now correctly saved in the database upon user sign-up.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Added known issues and mitigations for Stripe createCustomerOnSignUp error, including installation of the Buffer package and necessary code adjustments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant