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 — 4.7.2.B. 版本微信回调通知解析报错 · Issue #3504 · binarywang/WxJava

4.7.2.B. 版本微信回调通知解析报错 #3504

New issue
Copy link
New issue
Copy link
Closed
#3505
Closed
4.7.2.B. 版本微信回调通知解析报错#3504
#3505
Copy link
Milestone
4.7.3

Description

@raven1997s
raven1997s
opened on Feb 20, 2025
Issue body actions

简要描述

下单回调通知,因代码问题,解析报错

模块版本情况

  • WxJava 模块名: pay
  • WxJava 版本号:4.7.2.B

详细描述

这里有问题,新版本configMap的key 不再是mchId ,而是mchId + "_" + appId:

configMap.get(result.getMchId()).getSignType()


 if (signType == null) {
        if (result.getSignType() != null) {
          // 如果解析的通知对象中signType有值,则使用它进行验签
          signType = result.getSignType();
        } else if (configMap.get(result.getMchId()).getSignType() != null) {
          // 如果配置中signType有值,则使用它进行验签
          signType = configMap.get(result.getMchId()).getSignType();
          this.switchover(result.getMchId(), result.getAppid());
        }
      }

  private String getConfigKey(String mchId, String appId) {
    return mchId + "_" + appId;
  }

日志

Activity

  1. binarywang commented on Feb 20, 2025

    @binarywang
    binarywang
    on Feb 20, 2025
    Owner
    More actions

    欢迎直接提供PR进行修复

  2. binarywang
    added this to the 4.7.3 milestone on Feb 20, 2025
  3. liuwenfeng554 commented on Mar 12, 2025

    @liuwenfeng554
    liuwenfeng554
    on Mar 12, 2025
    More actions

    @binarywang 4.7.3什么时候打包可使用?

  4. binarywang
    linked a pull request that will close this issuefix 修复微信支付异步通知请求解析失败问题 #3505on Mar 18, 2025
  5. binarywang commented on Mar 18, 2025

    @binarywang
    binarywang
    on Mar 18, 2025
    Owner
    More actions

    #3505 已修复

  6. binarywang
    closed this as completedon Mar 18, 2025
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.7.3

      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.