收藏
回答

openBusinessView:fail 具体是什么原因,该如何规避处理?

AppID
wx6de0916e61bff276
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

  1. "errCode":-3,"errMsg":"openBusinessView:fail cancel"
  2. "errCode":-2,"errMsg":"openBusinessView:fail CGI error"
  3. ,"errCode":-1,"errMsg":"openBusinessView:fail system error"

安卓机器出现比例远高于ios


https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_13.shtml

最后一次编辑于  06-14
回答关注问题邀请回答
收藏
登录 后发表内容