Comments (2)
迁移指引是应该提供的,我们来准备下。
如果一定要“兼容”,肯定是新的 wechatpay-java 兼容 wechatpay-apache-httpclient。但是使用 wechatpay-apache-httpclient 的代码,是调用方组包再用 apache-httpclient 发送请求,而 wechatpay-java 包装了组包和底层请求。
@cuznjaclove 你有什么更具体的建议吗?或者用示例(伪)代码演示一下你设想的兼容是怎么样的?还是希望初始化的部分兼容,以便于迁移。
from wechatpay-java.
迁移指引是应该提供的,我们来准备下。
如果一定要“兼容”,肯定是新的 wechatpay-java 兼容 wechatpay-apache-httpclient。但是使用 wechatpay-apache-httpclient 的代码,是调用方组包再用 apache-httpclient 发送请求,而 wechatpay-java 包装了组包和底层请求。
@cuznjaclove 你有什么更具体的建议吗?或者用示例(伪)代码演示一下你设想的兼容是怎么样的?还是希望初始化的部分兼容,以便于迁移。
我想法也是 按这里说初始化的部分兼容(后面也打算去这么做,但是因时间问题暂时放弃)。给个建议可以再添加一个模块去写兼容逻辑,就和log4j与slf4j结合使用类似,使用方只需要引入slf4j-log4j12即可满足,基本上可以做到0代码迁移。如果不需要迁移,不引入兼容jar包就行
from wechatpay-java.
Related Issues (20)
- 如何接入服务商平台? HOT 1
- 使用自动更新平台证书的RSA配置时,如果项目关闭以后下次启动会不会是重复的下载任务
- 支付成功回调后,出现极个别支付单解签失败的情况 HOT 2
- 将pem文件放到resources下,RSAAutoCertificateConfig无法读取到配置文件 HOT 1
- 一个商户号只能初始化一个RSAAutoCertificateConfig 如果商户号参数发生变化 怎么重载RSAAutoCertificateConfig呢
- 普通商户分账 https://api.mch.weixin.qq.com/secapi/pay/profitsharing HOT 1
- JsapiServiceExtension的prepayWithRequestPayment预下单接口 HOT 2
- 总是提示验签失败 HOT 2
- 缺少NATIVE 下单通知响应相关API,可以参考统一下单支付成功的通知。
- 沙箱环境问题 HOT 1
- privateKeyPath 能不能动态加载多个不同的文件 比如多个商户号多个证书文件 HOT 2
- 你们这Java Bean就不能合并提取一下么,一个名字一大堆,关键接口都是同一个 HOT 1
- 文档回调通知代码错误 HOT 1
- JsapiServiceExtension能添加static修饰成全局变量吗?是否线程安全? HOT 2
- 付款码支付推荐用3.0的SDK,结果SDK里面压根儿就没包含付款码的请求
- 下单之后,没有立刻支付,此时再去查订单状态,到底是啥closed?还是notpay,
- 发起商家转账,设置回调,InitiateBatchTransferRequest根本没法设置回调 HOT 6
- APP 支付问题
- 您好,我在接预扣费通知API,请问可以使用咱们提供的微信支付 APIv3 Java SDK吗
- 当前不支持合单支付接口的调用,希望更新版本并支持合单支付
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.