From 427e51b8185bdd4cafe3dd70701b16e1b719066a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=B7=E9=BE=99?= Date: Thu, 28 Aug 2025 18:29:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E9=A1=B5=E9=9D=A2=E5=8E=BB=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/stripe.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } }