chore: Change redirect url for payment portal

This commit is contained in:
Faruk AYDIN
2023-03-12 21:26:10 +03:00
parent a18b524859
commit ee3d2489e6

View File

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