Merge pull request #997 from automatisch/change-redirect-url

chore: Change redirect url for payment portal
This commit is contained in:
Ömer Faruk Aydın
2023-03-12 19:28:57 +01:00
committed by GitHub

View File

@@ -83,7 +83,7 @@ const createPaymentPortalUrl = async (user: User) => {
const userSession = await stripe.billingPortal.sessions.create({ const userSession = await stripe.billingPortal.sessions.create({
customer: paymentPlan.stripeCustomerId, customer: paymentPlan.stripeCustomerId,
return_url: 'https://cloud.automatisch.io', return_url: 'https://cloud.automatisch.io/settings/billing',
}); });
return userSession.url; return userSession.url;