wx.openBusinessView({
businessType: 'wxpayScoreUse',
extraData: {
mch_id: '1230000109',
package: 'XXXXXXXX',
timestamp: '1530097563',
nonce_str: 'zyx53Nkey8o4bHpxTQvd8m7e92nG5mG2',
sign_type: 'HMAC-SHA256',
sign: '029B52F67573D7E3BE74904BF9AEA'
},
envVersion: 'trial',
success() {
//dosomething
},
fail() {
//dosomething
},
complete() {
//dosomething
}
});
小程序支付分调起wx.openBusinessView时有时候会出现错误;每天几百次;不知道是什么原因;或者该如何规避处理呢?
fail回调中的错误明细top3
- "errCode":-3,"errMsg":"openBusinessView:fail cancel"
- "errCode":-2,"errMsg":"openBusinessView:fail CGI error"
- ,"errCode":-1,"errMsg":"openBusinessView:fail system error"
安卓机器出现比例远高于ios
https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_13.shtml