diff --git a/ee/pages/api/integrations/stripepayment/portal.ts b/ee/pages/api/integrations/stripepayment/portal.ts index fb47f42c07..17c68085c8 100644 --- a/ee/pages/api/integrations/stripepayment/portal.ts +++ b/ee/pages/api/integrations/stripepayment/portal.ts @@ -54,6 +54,6 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) return_url, }); - res.redirect(stripeSession.url); + res.redirect(302, stripeSession.url); } }