You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: com.github.binarywang.wxpay.exception.WxPayException: 解析报文异常!
at com.github.binarywang.wxpay.service.impl.BaseWxPayServiceImpl.baseParseOrderNotifyV3Result(BaseWxPayServiceImpl.java:395)
at com.github.binarywang.wxpay.service.impl.BaseWxPayServiceImpl.parseOrderNotifyV3Result(BaseWxPayServiceImpl.java:368)
at cn.iocoder.yudao.module.pay.framework.pay.core.client.impl.weixin.AbstractWxPayClient.doParseOrderNotifyV3(AbstractWxPayClient.java:184)
at cn.iocoder.yudao.module.pay.framework.pay.core.client.impl.weixin.AbstractWxPayClient.doParseOrderNotify(AbstractWxPayClient.java:164)
at cn.iocoder.yudao.module.pay.framework.pay.core.client.impl.AbstractPayClient.parseOrderNotify(AbstractPayClient.java:108)
... 154 common frames omitted
Caused by: java.lang.IllegalArgumentException: java.security.InvalidKeyException: Invalid AES key length: 33 bytes
at com.github.binarywang.wxpay.v3.util.AesUtils.decryptToString(AesUtils.java:93)
at com.github.binarywang.wxpay.service.impl.BaseWxPayServiceImpl.baseParseOrderNotifyV3Result(BaseWxPayServiceImpl.java:388)
... 158 common frames omitted
Caused by: java.security.InvalidKeyException: Invalid AES key length: 33 bytes
at com.sun.crypto.provider.AESCrypt.init(AESCrypt.java:87)
at com.sun.crypto.provider.GaloisCounterMode.init(GaloisCounterMode.java:303)
at com.sun.crypto.provider.CipherCore.init(CipherCore.java:589)
at com.sun.crypto.provider.AESCipher.engineInit(AESCipher.java:346)
at javax.crypto.Cipher.implInit(Cipher.java:811)
at javax.crypto.Cipher.chooseProvider(Cipher.java:869)
at javax.crypto.Cipher.init(Cipher.java:1401)
at javax.crypto.Cipher.init(Cipher.java:1332)
at com.github.binarywang.wxpay.v3.util.AesUtils.decryptToString(AesUtils.java:86)
... 159 common frames omitted
Activity
🎨 #3698 【微信支付】 修复字符编码导致的解析报文异常问题
🎨 #3698 【微信支付】 修复字符编码导致的解析报文异常问题