Next.js Discord

Discord Forum

Supabase db not updating upon successful stripe checkout

Unanswered
Indian mackerel posted this in #help-forum
Open in Discord
Indian mackerelOP
Hello, ive been struggling with this problem for a while now. When a user goes through the stripe checkout process and successfully completes the checkout, the users subscription information should update in the database, but it doesn't. I'm 99% sure my RLS policies are all good, I'm probably making some silly mistake.
There are no errors or anything in the server or webhook outputs
Any help is appreciated, feel free to ask for clarifications.

I have atatched api/webhooks/stripe/route.ts

0 Replies