收藏
回答

跳[支付分小程序]授权报:系统繁忙,请重新尝试怎么解决?签名验证过.是正确的

这是后台返回的数据
mch_id:1519974821
package:AAQTnZoAAAABAAAAAADSjb5N_7w3sFmyoF4VXiAAAABcwQVtru-5k9MmEOZJ_Pv_Nq7Cw56dNKKN5EjZKnt5jbjnMD7YbHRlC5zwLEKdf_QlcadXGqCyzBlpbCbaf8Niq33iE6973TcJruUfi5e75K70IDD2tiCrSykaU_KKPJMDfebK4n-SDXmelxp82RuGPNwXOf_Dbku7sDz0RKrH7GjHDeP0ckX1pdxnKkj0WhvPPl8JX_6Fmn6Z
timestamp:1578458784
nonce_str:ZTZ6ZLV680HD2HV4RN0268RZV6086HNT
sign_type:HMAC-SHA256
sign:5BFBD8259A6072CF70EFDFC94B02AC09

          console.log('mch_id:' + e.msg.mch_id)
          console.log('package:' + e.msg.package)
          console.log('timestamp:' + e.msg.timestamp)
          console.log('nonce_str:' + e.msg.nonce_str)
          console.log('sign_type:' + e.msg.sign_type)
          console.log('sign:' + e.msg.sign)
          if (wx.openBusinessView) {
            wx.openBusinessView({
              businessType: 'wxpayScoreUse',
              extraData: {
                mch_id: e.msg.mch_id,
                package: e.msg.package,
                timestamp: e.msg.timestamp,
                nonce_str: e.msg.nonce_str,
                sign_type: e.msg.sign_type,
                sign: e.msg.sign
              },
              success() {
                //dosomething
              },
              fail() {
                //dosomething
              },
              complete() {
                //dosomething
              }
            });
          } else {
            //引导用户升级微信版本
          }

签名内容验证过.是正常的。我是用的MD5加密的方式


回答关注问题邀请回答
收藏

3 个回答

登录 后发表内容
问题标签