Comments (8)
读取不到证书信息应该是你配置的路径有问题,请检查。
如你有更优的方案,请说明你的实现思路或者直接贡献代码。
from ijpay.
底层都是用这种方式读的文件: new File(getAbsolutePath(path)); 这样后有一个问题,就是打包后读取不到;
new ClassPathResource(KeyPath()); 这种方式读取会不会更好。
也有可能是我打的包有问题
from ijpay.
我们有需求将证书存储在数据库中,能否提供一个InputStream的的方法
from ijpay.
你说的是v2版本的接口还是v3版本的接口? v2 版本的接口已支持
from ijpay.
我这里也遇到了 classpath:/cert 这样读证书 无法读取 支付宝接口 @Javen205
from ijpay.
@evanyangg 获取到证书的绝对路径,再传入至接口的参数中
from ijpay.
支持@lengp 的建议, 微信退款证书 有巨大bug,请扩展流的方式读取证书,而不是单一的要求别人传绝对路径,传路径方式,用docker打包部署到服务器,访问不到证书文件:Caused by: java.io.FileNotFoundException: /mydata/apiclient_cert.p12 (No such file or directory)
from ijpay.
感谢各位反馈以及贡献代码,目前已都支持
com.ijpay.core.kit.PayKit#getAbsolutePath
com.ijpay.core.kit.PayKit#getFileToStream
com.ijpay.core.kit.PayKit#getCertFileInputStream
from ijpay.
Related Issues (20)
- 微信下单分账标记参数问题 HOT 1
- 支付宝签约代扣
- savePlatformCert方法在保存完证书文件应该调用flush HOT 1
- 微信支付v3版本支付问题,不知道是不是还没更新代码 HOT 1
- 微信查询订单时报签名错误,但是去官方校验签名是通过的
- 可以支持苹果的IAP吗
- 微信支付异步通知时校验:verifyNotify 方法的 SignType 参数没有使用,代码仍然使用 SignType.MD5 HOT 1
- 微信沙箱环境地址更改
- 微信支付v3版本的商家转账到零钱demo HOT 3
- 分账接收方 Model缺少appid字段 HOT 1
- 项目启动后,首次调用接口时报错,获取不到配置信息 HOT 1
- 可以去掉多余的打印吗? HOT 1
- AliPayApi#wapPay通知URL注释写反啦 HOT 2
- 提供可传递的易受攻击的依赖项 HOT 1
- springboot demo中 get接口报错 HOT 2
- 大佬可以支持一下http代理吗? HOT 1
- The method getOutTradeNo() is undefined for the type StringUtils HOT 1
- 微信支付 WxPayApi.v3 IJPayHttpResponse 处理 gzip 数据报错 "Not in GZIP format" HOT 1
- 支付宝支付新出了jsapi小程序内支付,望支持 HOT 3
- 使用过程中提示java.lang.NoClassDefFoundError
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 ijpay.