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

Stripe user not deleted on auth user delete

Open bennik88 opened this issue 1 year ago • 0 comments

Problem If I understand the code base correctly it's missing the case when a user is deleted in the database to also delete the stripe record that belongs to it. Or am I missing something?

Possible Solution In a past App, I did this with a webhook from Supabase that called a Next js API route to delete the Stripe user with the stripe api.

bennik88 avatar Jun 26 '24 14:06 bennik88