主要有2种形式: 1. 直接写死MD5方式 > 例如[BaseWxPayServiceImpl.java](https://github.com/Wechat-Group/weixin-java-tools/blob/master/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImpl.java)的357行,生成JSAPI签名时采用MD5。但是如果之前的prepay使用的是HMAC-SHA256的话,会导致微信内支付显示签名错误。 2. 另外一种是调用SignUtils.createSign方法时,好几处第二个参数signType都传了null,实际最终就等于使用了MD5模式。
Activity
binarywang commentedon Dec 20, 2018
这确实是个问题,稍后修复统一一下
#888 修复微信支付部分接口请求中签名方法不统一的问题
alcoholwang commentedon Dec 24, 2018
😄 👍👍
binarywang commentedon Dec 24, 2018
忘了说了,最新3.3.0已修复
Merge branch 'develop' of github.com:Wechat-Group/weixin-java-tools i…
Merge branch 'master' of github.com:Wechat-Group/weixin-java-tools in…
sinfere commentedon Nov 28, 2019
JSAPI 还未修复
sinfere commentedon Nov 28, 2019
@binarywang 麻烦关注下
binarywang commentedon Nov 28, 2019
收到,不过最好下次新增issue,可以关联此issue,谢谢
sinfere commentedon Nov 28, 2019
👌好的