调用wx.requestPayment失败原因
发布于 5 年前 作者 yangzhu 4338 次浏览 来自 问答

小程序中执行统一下单成功后调用 wx.requestPayment,真机中“WeChat Pay”的Toast一闪而过,

  1. errMsg:"requestPayment:fail"

  2. err_code:2

  3. err_desc:"Unable to verify signature"


  1. errMsg:"requestPayment:fail"

  2. err_code:2

  3. err_desc:"支付验证签名失败"


模拟器中显示二维码


问题可能是那些原因?

1 回复

参数中的 signature校验失败了

回到顶部