Skip to content
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

Open
2 tasks
chrtze opened this issue Dec 18, 2023 · 0 comments
Open
2 tasks

improve checkout loading times #38

chrtze opened this issue Dec 18, 2023 · 0 comments

Comments

@chrtze
Copy link
Member

chrtze commented Dec 18, 2023

  • 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?

@chrtze chrtze self-assigned this Dec 18, 2023
@chrtze chrtze changed the title create stripe customer whenever a user signs up improve checkout loading times Dec 19, 2023
@chrtze chrtze removed their assignment Feb 21, 2024
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

No branches or pull requests

1 participant