#lukasvis
1 messages · Page 1 of 1 (latest)
Hello! Are you referring to something like the billing cusotmer portal (https://stripe.com/blog/billing-customer-portal)?
link is broken, but yeah i assume so
if thats where they can cancel their subscription
Ah sorry about that - this should work better https://stripe.com/blog/billing-customer-portal
and yes, that supports cancelling the subscription
Ok, so I can create a link to this portal for customer by passing customer id and then send that link to their email?
const { url } = await stripe.billingPortal.sessions.create({
customer,
return_url: `${getURL()}`
});
yup
awesome, thanks