支付宝电脑支付关闭订单调整
This commit is contained in:
parent
45ea4fb2ac
commit
263515c6f2
|
|
@ -282,10 +282,6 @@ export default class AliPay extends AliPayDebug {
|
|||
this.analyzeResult(result);
|
||||
}
|
||||
catch (e) {
|
||||
// 在电脑网站下单时,系统首先生成URL;用户扫码后才会创建交易订单。若未完成扫码而订单过期到了直接关闭,提示'交易不存在'。
|
||||
if (e.code === 'ACQ.TRADE_NOT_EXIST') {
|
||||
return;
|
||||
}
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,6 +6,6 @@ import { BRC } from '../types/RuntimeCxt';
|
|||
* @param context
|
||||
* @param refunds
|
||||
*/
|
||||
export declare function updateWithdrawState(context: BRC, id: string): Promise<1 | 0>;
|
||||
export declare function updateWithdrawState(context: BRC, id: string): Promise<0 | 1>;
|
||||
declare const triggers: Trigger<EntityDict, 'withdraw', BRC>[];
|
||||
export default triggers;
|
||||
|
|
|
|||
|
|
@ -285,10 +285,6 @@ class AliPay extends AliPay_debug_1.default {
|
|||
this.analyzeResult(result);
|
||||
}
|
||||
catch (e) {
|
||||
// 在电脑网站下单时,系统首先生成URL;用户扫码后才会创建交易订单。若未完成扫码而订单过期到了直接关闭,提示'交易不存在'。
|
||||
if (e.code === 'ACQ.TRADE_NOT_EXIST') {
|
||||
return;
|
||||
}
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -322,10 +322,6 @@ export default class AliPay extends AliPayDebug implements PayClazz {
|
|||
this.analyzeResult(result);
|
||||
}
|
||||
catch (e: any) {
|
||||
// 在电脑网站下单时,系统首先生成URL;用户扫码后才会创建交易订单。若未完成扫码而订单过期到了直接关闭,提示'交易不存在'。
|
||||
if (e.code === 'ACQ.TRADE_NOT_EXIST') {
|
||||
return;
|
||||
}
|
||||
throw e;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue