Commit Graph
2 Commits
Author SHA1 Message Date
猪蹄宝宝 5326c5b155 🐛 #2216 【微信支付】修复APP统一下单v3接口缺少sign参数的问题 2021-08-13 13:41:00 +08:00
猪蹄宝宝 60c9df46f5 🐛 #2246 【微信支付】修复微信支付V3签名/验签的换行符错误问题
参考微信支付文档:
https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_4.shtml
https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_0.shtml

签名时使用的换行符必须是\n,因此不应使用%n,这会导致windows平台下签名错误
2021-08-13 13:39:35 +08:00