#georges

1 messages · Page 1 of 1 (latest)

red groveBOT
keen minnow
#

my config to create the customer portal url
const session = req.session;

const { url } = await stripe.billingPortal.sessions.create({
customer: session.user.customerId,
return_url: ${process.env.NEXT_PUBLIC_DASHBOARD_URL!}/apps,
});

quiet gust
keen minnow
#

I don't understand. How to structurate a stripe product to let my users upgrade to another plan via the customer portal?

#

What kind of subscriptions are compatible with the customer portal?