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 #3223 · binarywang/WxJava

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

New issue
Copy link
New issue
Copy link
Closed
Closed
微信支付签名校验失败#3223
Copy link
Milestone
4.6.4

Description

@Feiry-zZ
Feiry-zZ
opened on Jan 21, 2024
Issue body actions

简要描述

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

模块版本情况

  • 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
    Feiry-zZ
    on Jan 21, 2024
    Author
    More actions

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

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

    Reacted by 黑小马
  2. binarywang commented on Mar 14, 2024

    @binarywang
    binarywang
    on Mar 14, 2024
    Owner
    More actions

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

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

    @binarywang
    binarywang
    on Aug 18, 2024
    Owner
    More actions

    @kevinzhwl 有空的话可以看一眼

  9. binarywang
    added a commit that references this issue on Aug 19, 2024

    🐛 #3223 【小程序】修复微信虚拟支付签名校验失败的问题

    167ffdb
  10. binarywang
    closed this as completedon Aug 30, 2024
  11. Molzx
    added 2 commits that reference this issue on Sep 4, 2024

    Merge branch 'develop' of github.com:Wechat-Group/WxJava into source-…

    098abf3

    Merge branch 'source-develop' into dev-icp

    5193d83
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

      • 4.6.4

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — 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.