From 11ba3b6ecd187a0197663330bf43a0e7906ec146 Mon Sep 17 00:00:00 2001 From: erio Date: Thu, 9 Apr 2026 16:07:26 +0800 Subject: [PATCH] fix(payment): restore Stripe popup flow, fix WeChat double QR dialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Restore popup handling for Stripe Alipay/WeChat (reverts inline-only change). Fix WeChat double QR issue by passing handleActions: false to confirmWechatPayPayment, which prevents Stripe's built-in QR dialog and lets our popup render the QR code directly. Flow after fix: - Stripe Alipay: popup → redirects to Alipay - Stripe WeChat: popup → directly shows QR code (no Stripe dialog) - Stripe Card: inline confirm → success page --- .../payment/StripePaymentInline.vue | 44 ++++++++++++++++--- frontend/src/views/user/PaymentView.vue | 6 +++ frontend/src/views/user/StripePopupView.vue | 8 ++-- 3 files changed, 49 insertions(+), 9 deletions(-) diff --git a/frontend/src/components/payment/StripePaymentInline.vue b/frontend/src/components/payment/StripePaymentInline.vue index dcd81916f5..e23aeb3e92 100644 --- a/frontend/src/components/payment/StripePaymentInline.vue +++ b/frontend/src/components/payment/StripePaymentInline.vue @@ -62,12 +62,17 @@