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.
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.