Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在证书序列号部分增加格式 #214

Open
LXY1226 opened this issue Feb 12, 2024 · 0 comments
Open

在证书序列号部分增加格式 #214

LXY1226 opened this issue Feb 12, 2024 · 0 comments
Assignees

Comments

@LXY1226
Copy link

LXY1226 commented Feb 12, 2024

在使用js-api 初始化client时有一些想当然的把cert.SerialNumber.String() 作为证书序列号传入,然后喜得StatusCode: 401 Code: "SIGN_ERROR",随后去verifier的代码里翻了一大圈翻到了正确的sn是utils.GetCertificateSerialNumber
如果可以的话希望在相关位置标记上正确的serialnumber计算方式

  • Go 版本:
  • wechatpay-go 版本:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants