#eigenfunction

1 messages · Page 1 of 1 (latest)

raven coyoteBOT
chilly thunder
left violet
#

Have you checked your dashboard and confirmed whether these customer portal link requests are coming through at all?

chilly thunder
#

just checked and found this:

#

welp i guess that was it

left violet
#

👍 yeah try updating those settings and see if it works

chilly thunder
#

That seems to have worked, thank you! Just one question - i have webhooks on vercel for supabase integration, and since in this test case it cancels the plan but waits for the next renew cycle to remove the actual user, does that mean stripe will send a webhook next month when the user is actually removed from the plan?

left violet
#

Are you asking whether you get an additional webhook event on the actual cancellation date when you use cancel_at_period_end: true?

chilly thunder
#

Well I am wondering kinda where in the stack the user actually gets removed from the supabase table because obviously they are still active for another month

left violet
#

I don't know how this integration specifically works, but I assume they're waiting for the actual cancellation event. When you cancel a Subscription through stripe there's a couple of different ways to do it - you can have it cancel immediately, you can have it cancel at the end of the current cycle, or you can set an arbitrary timestamp to have it cancel whenever

#

I assume this integration is defaulting to cancel at the end of the current cycle

chilly thunder
#

Yea it defaults to end of current cycle - i see that in my supabase it also has that flag set

#

but im wondering if you know like what actually triggers teh deletation of the user

left violet
#

There's a customer.subscription.deleted event that gets sent when the subscriptoin is actually cancelled

chilly thunder
#

gotcha, but you're not sure about this specific integration right

left violet
#

Yeah I'm not sure what this specific integration does, but my guess would be that they rely on that event

chilly thunder
#

I see, in the supabase it already has a few cols set:

im new to supabase, do you know if that means this will be handled on supabases end now?

left violet
#

Yeah I assume they'll handle this then