小程序调用确认收货组件传人了transcation_id提示无有效订单,怎么解决?
//拉起确认收货组件
if (wx.openBusinessView) {
wx.openBusinessView({
businessType: 'weappOrderConfirm',
extraData: {
merchant_id: '1230000109',
merchant_trade_no: '1234323JKHDFE1243252',
transaction_id: '420123123123123123123'
},
success() {
//dosomething
},
fail() {
//dosomething
},
complete() {
//dosomething
}
});
} else {
//引导用户升级微信版本
}
根据官方的例子,传入了对应的transaction_id或merchant_id+merchant_trade_no,收到提示"无有效订单信息"