Giter Club home page Giter Club logo

Comments (3)

xy-peng avatar xy-peng commented on September 21, 2024

目前可以直接构造一个 PrivateKeySigner 来算签名。具体的签名串需要调用方自己构造。

我补充下常见问题。

from wechatpay-apache-httpclient.

angelology100 avatar angelology100 commented on September 21, 2024

我这里搞错了,https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_1.shtml 创建商家卷是v3的申请,所以误导自己发卷也是用到v3的sign去发卷,所以才提问了如何获取。PrivateKeySigner是可以获取到sign,但是现在用途并没单独用处。现在发卷是要用v2的签名的加密方式,和v3的签名方式不同。

from wechatpay-apache-httpclient.

xy-peng avatar xy-peng commented on September 21, 2024

商家券发券的定制签名逻辑,包含业务接口的 wechatpay-java 会试着提供解决方案。

wechatpay-apache-httpclient 没有计划支持 v2 签名。如果你实现了,倒是欢迎PR 😊

from wechatpay-apache-httpclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.