支付签名和用户态签名必须要一致才可以吗?
小程序虚拟支付调用一直出现签名失败?参考文档:https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/virtual-payment.html 调用接口:https://api.weixin.qq.com/xpay/query_user_balance?access_token=71_ZG2aB4OpNoyjnqvzbH4Ylq1MzgSI6mO6qZVM1WzOvpXJ3rD9VtKdEbPeErUT2tgOPha-SMNjkkbg3tJXHkMKgYBbsZo50oAbONQPOGtz-Fgl7e2imakUQxjVTljhitUIhu2qDH3qp_MeYbkMGKQaALDXBH&pay_sig=6d303e47f0ffa0393c9378eb2c3176a7e1f566931f50427651f8a7c2f098d7e8&signature=2ed4a95654e08a368cc3483e03dd1e74ac6d804f4d0518300cf892de3338bcca 请求参数:{"openid":"oaBL05QEqyv7hN6n7UOl72rWHsNk","env":0,"user_ip":"111.230.103.48"} 返回结果:{"errcode":268490003,"errmsg":"支付签名(pay_sig)校验失败 rid: 64dc9b70-2eba8f56-7714aa09"} 用户key:YpRxC5EJx6/0rjd7zpSVIw== 签名的uri :xpay/query_user_balance php对标文档签名方式 [图片]
2023-11-07