-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
name/email changes are not synchronized between supabase and stripe #362
Comments
That's not per se an issue with this repository, but rather something you could implement yourself. |
If the repository instructions say to turn on every webhook, and then returns an error for most of them, that's an issue imo. There are some options to fix:
|
@cgar420 seems like modifying the user directly in Stripe and then implementing the customer.update webhook would be the cleanest approach, right? |
That's what I ended up doing for my project |
Great, that's exactly how I'm implementing it now. Just curious, though, are you modifying the users table directly or are you modifying auth.users like the original template was? I noticed that auth.users.full_name and users.full_name weren't staying in sync, so I added this db trigger: #311 (comment), but now I'm realizing that modifying auth.users from a webhook context is kinda difficult. I'm curious how you did it if you're willing to share. |
When you change the customers name or email on the /account page, it updates in Supabase, NOT in Stripe.
When you change the customers name or email on the Stripe dashboard, it sends a Webhook, but the response is always 400.
customer.update events are not part of relevantEvents and return a 400 error.
So its a combination of 2 problems:
The text was updated successfully, but these errors were encountered: