feat(payment): expire pending orders after one hour
This commit is contained in:
@@ -228,7 +228,7 @@ const doCharge = async () => {
|
||||
const tokenPart = order.checkoutToken
|
||||
? `&token=${encodeURIComponent(order.checkoutToken)}`
|
||||
: ''
|
||||
window.location.assign(`${checkoutBase}#/payOrder?orderNo=${encodeURIComponent(order.providerOrderNo)}&isOrg=true${evnPart}${tokenPart}`)
|
||||
window.location.assign(`${checkoutBase}#/payOrder?id=${encodeURIComponent(order.providerOrderNo)}&isOrgUrl=true${tokenPart}${evnPart}`)
|
||||
} catch (error: any) {
|
||||
paymentNoticeTone.value = 'error'
|
||||
paymentNotice.value = error?.message || '充值失败,请重试'
|
||||
|
||||
Reference in New Issue
Block a user