-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve checkout loading times #38
Comments
chrtze
changed the title
create stripe customer whenever a user signs up
improve checkout loading times
Dec 19, 2023
This was referenced Jan 29, 2024
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
create stripe customer whenever a user signs up
currently, we only create a stripe customer when a user clicks the subscribe button for which we need to wait before showing the checkout. to minimize the loading time of the checkout, we could create the customer already when the user signs up (using hasura events).
store prices in upstash / redis
the current version loads the prices each time when the checkout is created. we should cache the prices to make this faster. maybe we can use the stripe webhook to sync the prices with upstash?
The text was updated successfully, but these errors were encountered: