Merge pull request #4734 from wjx2951874/feat/alipay-mobile-precreate-deep-link

feat(payment): add mobile Alipay precreate deep link
This commit is contained in:
Wesley Liddick
2026-07-23 14:06:18 +08:00
committed by GitHub
33 changed files with 1085 additions and 117 deletions
+3
View File
@@ -76,6 +76,8 @@ export interface CheckoutInfoResponse {
stripe_publishable_key: string
/** When true, Alipay payments on mobile always show the QR code instead of redirecting */
alipay_force_qrcode?: boolean
/** When true, official Alipay mobile orders use precreate plus an Alipay app deep link */
alipay_mobile_precreate_deep_link?: boolean
}
// ==================== Orders ====================
@@ -214,6 +216,7 @@ export interface CreateOrderResult {
out_trade_no?: string
payment_mode?: string
resume_token?: string
alipay_mobile_precreate_deep_link?: boolean
oauth?: WechatOAuthInfo
jsapi?: WechatJSAPIPayload
jsapi_payload?: WechatJSAPIPayload