mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-31 08:25:35 +00:00
feat(payment): add mobile Alipay precreate deep link
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user