GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 微信支付报错:解析报文异常 · Issue #3698 · binarywang/WxJava

微信支付报错:解析报文异常 #3698

New issue
Copy link
New issue
Copy link
Closed
#3710
Closed
微信支付报错:解析报文异常#3698
#3710
Copy link
Assignees
copilot-swe-agent

Description

@genleman-lee
genleman-lee
opened on Sep 6, 2025
Issue body actions

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

Reacted by Copilot

Activity

  1. binarywang
    assigned
    Copilot
    on Sep 22, 2025
  2. binarywang
    closed this as completedin #3710on Sep 24, 2025
  3. binarywang
    added a commit that references this issue on Sep 24, 2025

    🎨 #3698 【微信支付】 修复字符编码导致的解析报文异常问题

    c0edd9f
  4. Copilot
    added a commit that references this issue on Dec 21, 2025

    🎨 #3698 【微信支付】 修复字符编码导致的解析报文异常问题

    b774525
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • Copilot

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402520 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.