|
No, sir. We used to open the app with the following code in sdkversion29 and it's working as expected. When we changed it to 30, it had stopped working.
config.xml
<feature name="KBZPay">
<param name="urlScheme" value="KBZPayA6034313150095" />
</feature>
pay.html
var data = {
urlScheme: "KBZPayA6034313150095",//当前appid
sign: res.info.sign,
orderInfo: res.info.orderinfo,
signKeyTF: "SHA256",
}
KBZPay.pay(data, function (ret, err) {
alert(JSON.stringify(ret));
alert(JSON.stringify(err));
// console.log(JSON.stringify(ret));
if (ret.extraResult == 0) {
$api.toast(that.ctx.pay_success)
$api.send($eventType.PAYORDERSUCCESS);
setTimeout(function () {
$api.openWin('order_submit', {
title: that.globalCtx.submit_success,
winName: api.winName,
order_id: that.order_id
})
}, 1000)
} else {
// console.log("000000--0000000")
$api.toast(that.ctx.pay_fail_error)
}
}); |
|