Comments (6)
我是一个服务,同时处理支付跟回调,没法重新构造一个config。只能通过builder 是否可以解决这个问题,请问下一个发布周期是多久 我好同步更新一下,谢谢 辛苦了
from wechatpay-java.
RSAAutoCertificateConfig只能作为单例用吗?第二次初始化就报错The corresponding provider for the merchant already exists.
from wechatpay-java.
@nginx-1 目前是的,你能详细描述下你是什么情况下需要同时使用这两者吗?我们期望商户能分离系统中处理通知回调的服务和处理支付请求的服务。
改进计划上,我们准备把 RSAAutoCertificateConfig
也实现 NotificationConfig
,这样两个场景用一个配置实例就可以了。
from wechatpay-java.
RSAAutoCertificateConfig只能作为单例用吗?第二次初始化就报错The corresponding provider for the merchant already exists.
@tanxiuguang 是的,只能有一个示例,你是什么场景要多次初始化?
from wechatpay-java.
RSAAutoCertificateConfig只能作为单例用吗?第二次初始化就报错The corresponding provider for the merchant already exists.
@tanxiuguang 是的,只能有一个示例,你是什么场景要多次初始化?
我看文档以为每次都要初始化config,理解错了。
from wechatpay-java.
官方更新好快
我当时是定义一个RSAAutoCertificateProvider, 然后单独定义了AbstractRSAConfig 和 AbstractNotificationConfig的两个实现类,支持传入RSAAutoCertificateProvider。
from wechatpay-java.
Related Issues (20)
- 商户证书序列号获取不到 HOT 1
- 请问SDK中关于请求的域名可否支持自定义配置 HOT 3
- 能把gson替换掉吗 HOT 1
- 怎么使用沙箱环境测试 HOT 1
- 应答回调这么写还会重复发送吗 HOT 1
- springboot中,RSAAutoCertificateConfig 的 privateKeyFromPath 怎么写获取resource下的apiclient_key.pem HOT 3
- 发起商家转账接口报错:平台证书序列号Wechatpay-Serial错误 HOT 3
- 证书downloadAndUpdate功能批量处理
- 热更新config配置 HOT 8
- Could not initialize class com.wechat.pay.java.core.http.DefaultHttpClientBuilder 错误 HOT 11
- 支付回调,wechatPayCertificateSerialNumber 跟 serialNumber 请问是同一个东西吗 HOT 3
- 为什么写这么多重复的类,这些类几乎没有区别呀? HOT 2
- 有没有兼容微信医保支付接口的可能 HOT 1
- 请问这个sdk有封装平台收付通相关的方法吗? HOT 1
- 付款码等相关接口什么时候能升级到V3 HOT 1
- 退款回调解析-退款状态 HOT 1
- 这个转账有实现吗 HOT 1
- 0.2.10版本中没有ListStoreRequest 和 ListStoreResponse 类 HOT 1
- 最新版本0.2.11在Maven Central 找不见 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 wechatpay-java.