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

Storing billing address and payment method #60

Closed
tanshunyuan opened this issue Apr 14, 2021 · 1 comment
Closed

Storing billing address and payment method #60

tanshunyuan opened this issue Apr 14, 2021 · 1 comment

Comments

@tanshunyuan
Copy link

In stripe, the customer portal contains information for both billing address and payment method so why is there a need to store it in supabase user's table? Is the data redundant?

@leerob
Copy link
Member

leerob commented Apr 14, 2021

When the data is updated in Stripe, there's a webhook that syncs it with Supabase. The reason it's in Supabase is so you can easily query it and display it in the application 👍

@leerob leerob closed this as completed Apr 14, 2021
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

2 participants