Skip to content

微信支付签名校验失败 #3223

Description

@Feiry-zZ

简要描述

微信官方文档 -> 平台能力 -> 行业能力 -> 虚拟支付
支付签名校验失败

模块版本情况

  • WxJava 模块名: weixin-java-miniapp
  • WxJava 版本号: 4.6.0

详细描述

appKey、appid、env、secret都配置正确了,微信端依然报错支付签名校验失败
image

日志

YXbz0f14L0

Activity

  1. Feiry-zZ commented on Jan 21, 2024

    @Feiry-zZ
    Author

    问题原因:
    虚拟支付的接口中,添加的支付签名必须全部小写,但是现有的WxMaXPaySigParams内部生成的支付签名是大写的
    image

    解决方案:
    重写一下WxMaXPaySigParams.calcPaySig(String url, String postBody)
    image

  2. binarywang commented on Mar 14, 2024

    @binarywang
    Owner

    欢迎直接提交 PR,测试没问题的话

  3. added this to the 4.6.3 milestone on May 22, 2024
  4. Repository owner deleted a comment from stale on May 22, 2024
  5. modified the milestones: 4.6.3, 4.6.4 on Jul 15, 2024
  6. binarywang commented on Aug 18, 2024

    @binarywang
    Owner

    @kevinzhwl 有空的话可以看一眼

  7. added a commit that references this issue on Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions