我首先发起了wx.request请求向后台获取了wx.requestPayent所需要的参数,但是下一步的支付api wx.requestPayment没有拉起来 也没有报错,我是个人开发者 我知道不能使用wx.requestPayment,想确认一下是我代码的问题还是说个人的小程序去拉起支付api就是没有任何响应和报错的
wx.request({ url: '*****************' , data: requestData, header: { 'content-type' : 'application/json' }, method: 'POST' , dataType: 'json' , success: function (res) { let ress = JSON.parse(public_method.Decrypt(res.data.AdvPay.BusiData)) let timeStamp = ress.TimeStamp let nonceStr = ress.NonceStr let packages = ress.Package let signType = ress.SignType let paySign = ress.PaySign wx.requestPayment({ timeStamp: timeStamp, nonceStr: nonceStr, package: packages, signType: signType, paySign: paySign, |