restoreCompletedTransactions(username:string):Promise<Transaction[]> {
return new Promise((resolve, reject) => {
this._channel?.restoreCompletedTransactions(
{
manualFinishTransaction: true,
username
},
(res) => {
console.log("rerestoreCompletedTransactionss-success",res)
resolve(res);
},
(err) => {
console.log("restoreCompletedTransactions-err",err)
reject(err);
}
);
});
}
m***@163.com
我有个疑问,如果用户点支付创建了订单,并拉起内购支付,在输入完密码支付过程中,可能时间长,这时我退出了app并提示了我购买成功,这时这个订单并没有走完,此时我在进入购买,会走恢复订单的流程,我如何准确的查找到丢失的订单?
2024-08-29 11:40