diff --git a/lib/stripe.ts b/lib/stripe.ts index 1c10382..4d49097 100644 --- a/lib/stripe.ts +++ b/lib/stripe.ts @@ -153,6 +153,6 @@ export function redirectToCheckout(checkoutUrl: string) { */ export function redirectToPortal(portalUrl: string) { if (typeof window !== 'undefined') { - window.location.href = portalUrl; + window.open(portalUrl, '_blank'); } }