From 4a3383ecddb246e832bb6aa37fc6c4c2dd3bf3e8 Mon Sep 17 00:00:00 2001 From: erio Date: Fri, 10 Apr 2026 16:45:47 +0800 Subject: [PATCH] fix(payment): widen popup window to 1000px for Alipay+ checkout Alipay+ checkout page needs ~960px to display QR code and order details side by side. Previous 680px forced users to manually resize. --- backend/cmd/server/VERSION | 2 +- frontend/src/components/payment/providerConfig.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/cmd/server/VERSION b/backend/cmd/server/VERSION index 0e73dee820..cd5b0629dd 100644 --- a/backend/cmd/server/VERSION +++ b/backend/cmd/server/VERSION @@ -1 +1 @@ -0.1.108.151 +0.1.108.153 diff --git a/frontend/src/components/payment/providerConfig.ts b/frontend/src/components/payment/providerConfig.ts index c0e9fd3da9..a83787fd29 100644 --- a/frontend/src/components/payment/providerConfig.ts +++ b/frontend/src/components/payment/providerConfig.ts @@ -44,7 +44,7 @@ export const PAYMENT_MODE_QRCODE = 'qrcode' export const PAYMENT_MODE_POPUP = 'popup' /** Window features for payment popup windows */ -export const POPUP_WINDOW_FEATURES = 'width=680,height=750,left=150,top=80,scrollbars=yes,resizable=yes' +export const POPUP_WINDOW_FEATURES = 'width=1000,height=750,left=100,top=80,scrollbars=yes,resizable=yes' /** Wider popup for Stripe redirect methods (Alipay checkout page needs ~1200px) */ export const STRIPE_POPUP_WINDOW_FEATURES = 'width=1250,height=780,left=80,top=60,scrollbars=yes,resizable=yes'