支付宝电脑支付关闭订单调整

This commit is contained in:
wkj 2025-06-23 11:55:38 +08:00
parent 45ea4fb2ac
commit 263515c6f2
4 changed files with 1 additions and 13 deletions

View File

@ -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;
}
}

View File

@ -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;

View File

@ -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;
}
}

View File

@ -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;
}