nextjs-subscription-payments icon indicating copy to clipboard operation
nextjs-subscription-payments copied to clipboard

name/email changes are not synchronized between supabase and stripe

Open cgar420 opened this issue 6 months ago • 5 comments

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.

image

customer.update events are not part of relevantEvents and return a 400 error.

image

So its a combination of 2 problems:

  1. We are updating the customer info on Supabase instead of Stripe - updating on Stripe will trigger webhook
  2. We are not handling the customer.update webhook

cgar420 avatar Aug 05 '24 03:08 cgar420