mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-01 00:27:30 +00:00
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:
@@ -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