Comments (6)
我也遇到这个问题了,希望尽快解决下
from gopay.
了解了,证书内容传递,我测试过,证书好像必须全传,少传我测试的会失败
from gopay.
p12 证书在微信开发文档上面不是写了除了php外都可以直接使用这个,现在那两个证书都么有了,只有这个p12证书,正常应该不需要cert/key证书的,java上面已经不需要了这两个证书去开发了
from gopay.
tls.LoadX509KeyPair:tls: failed to find any PEM data in key input
我觉得应该是您这边用错库了,好像有一个专门的库pk12的然后用密码把pk12解析出来,你这边测试的应该是用ca证书而不是pk12证书,所以你感觉都要全部传入才能成功,但是微信现在都是用的pk12证书了
from gopay.
新增的内容能不能建一个新版本?
from gopay.
p12 证书在微信开发文档上面不是写了除了php外都可以直接使用这个,现在那两个证书都么有了,只有这个p12证书,正常应该不需要cert/key证书的,java上面已经不需要了这两个证书去开发了
楼上大佬已经解决了微信证书二选一的问题了
from gopay.
Related Issues (20)
- 使用PostAliPayAPISelfV2调用后怎么验签 HOT 2
- 沙箱可以 线上模式 验签失败 HOT 1
- 微信支付 v3,灰度证书会导致验签失败 HOT 2
- 微信付款码支付,返回结果中包含html字段判断错误 HOT 2
- 支持支付宝接口AES加解密吗 HOT 4
- apple.VerifyReceipt() => 苹果支付校验收据API 报21003 HOT 2
- 2024/04/09 13:53:47.730283 notification_v2_test.go:24: [ERROR] >> x509: certificate has expired or is not yet valid: current time 2024-04-09T13:53:47+08:00 is after 2023-09-24T02:50:33Z HOT 4
- func (v *V3NotifyReq) DecryptCipherText(apiV3Key string) 这些解密文传的apiv3key到底是什么? HOT 1
- 如何初始化微信服务商模式Client
- /v3/ecommerce/account/cancel-applications/media 图片Content-Type非法 HOT 1
- 微信支付V2统一下单404 HOT 1
- 进群 HOT 1
- v1.5.101 V3Refund 报异常 HOT 2
- BUG: cannot unmarshal array into Go struct field RefundOrderAmount.amount.from of type wechat.From HOT 2
- 支持 alipay.pay.app.marketing.consult (商户前置内容咨询接口) 有接入计划吗 HOT 2
- [xlog] 日志输出到文件 HOT 1
- paypal 缺少字段
- 这个包能恢复一下吗 ?以前的项目在使用呢 HOT 2
- 异步通知验签失败
- alipay.trade.order.settle(统一收单交易结算接口) 增加settle_no HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gopay.