copilot-swe-agent[bot]
4e5ccd0947
Add comprehensive test coverage for PEM certificate format fix
...
- Add test for setPrivateCertString() with PEM format content
- Verify that both private key and certificate PEM formats work correctly
- Ensure backward compatibility with Base64 format is maintained
- Complete fix for JDK 21 compatibility issue #3680
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com >
2025-09-22 16:49:11 +00:00
copilot-swe-agent[bot]
6ac60cf640
Fix private key format detection for PEM strings in WeChat Pay config
...
- Add detection for PEM format strings vs Base64 format in loadConfigInputStream
- PEM format strings (with -----BEGIN/-----END headers) are now passed through directly
- Base64 format strings continue to be decoded as before
- Fixes InvalidKeySpecException when using setPrivateKeyString() with PEM content
- Resolves JDK 21 compatibility issue with WeChat Pay v3 API initialization
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com >
2025-09-22 16:47:08 +00:00
水依寒
8447caa75f
🎨 #3694 统一各模块微信接口请求的基础地址字段命名为apiHostUrl,并完善Spring Boot starter配置支持
2025-09-04 09:17:36 +08:00
Copilot
dc46d9de75
🎨 #3640 【微信支付】使用HttpClient发送http请求时调整为使用连接池的形式
2025-08-08 17:47:20 +08:00
Copilot
bc6fb7b58e
🎨 #3656 【微信支付】 修复平台收付通 - 合单支付 - 关闭订单接口,增加缺少的两个参数
2025-08-08 17:40:28 +08:00
Copilot
983e4f1e66
🎨 #3659 【微信支付】新增BaseWxPayV3Result基类,提供rawJsonString字段保存原始API响应
2025-08-08 17:25:40 +08:00
Copilot
262a02b606
📝 为微信支付新增商户转账接口添加全面的文档和示例
2025-07-24 16:43:23 +08:00
Binary Wang
2e952c76c8
🎨 修复错误的变量命名
2025-07-24 15:49:15 +08:00
Binary Wang
62f89987c0
🔖 发布 4.7.7.B 测试版本
2025-07-16 20:05:09 +08:00
ihao
696ce8621e
🆕 #3636【微信支付】增加微信签约、解约结果通知解析的方法
2025-07-12 16:57:50 +08:00
xuxiancan
d52e225626
🎨 #3633【微信支付】创建支付分订单接口请求参数里增加设备信息字段
2025-07-04 15:39:15 +08:00
ihao
686dff6436
🎨 优化微信h5纯签约接口,增加非必填字段判断
2025-07-03 01:55:33 +00:00
Style-lo
92431aabd9
🎨 getConfigKey方法改成public的
2025-07-03 09:53:30 +08:00
Well
172b96444f
🎨 #3626 【微信支付】创建代金券批次接口新增字段,包括背景色、卡包跳转目标、小程序 appid 与 path等
2025-07-02 10:31:26 +08:00
altusea
ccbfa98864
🎨 添加 Apache HttpComponents Client 5.x 为可选的 http client
2025-06-09 14:29:35 +08:00
Binary Wang
b0af2c704e
🔖 发布 4.7.6.B 测试版本
2025-06-05 23:47:01 +08:00
Molzx
388188b694
🎨 【微信支付】调整逻辑:当完全使用公钥模式时,也可从p12证书中读取证书私钥等
2025-06-03 11:53:45 +08:00
altusea
8bacc9425e
🎨 修复CloseableHttpClient相关的误用代码
2025-05-22 15:03:27 +08:00
mengyou
3e1a38a696
🎨 #3591【微信支付】修复只设置privateKeyString或者privateKeyContent时私钥初始化失败的问题
2025-05-16 20:19:19 +08:00
SynchPj
d0b7a526f6
🎨 #3587【微信支付】支持完全公钥模式,新增fullPublicKeyModel字段来控制,默认关闭,关闭时走老逻辑,开启时,只加载公钥所需相关配置,避免下载平台证书使灰度切换无法达到100%覆盖
2025-05-14 16:27:29 +08:00
SynchPj
47051bdf31
🎨 #3586 【微信支付】修复资源上传接口使用POST请求Content-Type不正确导致签名错误的问题
2025-05-14 11:54:30 +08:00
altusea
04c162f03a
🎨 #3574 【微信支付】修复商家券available_day_time字段定义错误
2025-05-13 22:50:35 +08:00
altusea
9a6db34b6a
🎨 #3577 【微信支付】微信分账回退请求接口新增字段:微信订单号transaction_id
2025-05-13 16:18:00 +08:00
altusea
063fbb7f19
🎨 升级部分依赖版本,优化代码,部分代码增加泛型参数
2025-05-13 15:56:14 +08:00
SynchPj
c91a5a8e22
🎨 【微信支付】修复连接池关闭异常问题
2025-05-13 12:49:46 +08:00
Binary Wang
fb57af7409
🔖 发布 4.7.5.B 测试版本
2025-05-08 23:04:32 +08:00
Binary Wang
854b50bd51
🎨 修复日志代码报错问题
2025-04-29 11:33:58 +08:00
Binary Wang
2279105fef
:art: 优化微信支付请求代码,抽取合并重复代码
2025-04-26 11:18:56 +08:00
SynchPj
cbb3b24577
🎨 #3553【微信支付】v3请求统一加上Wechatpay-Serial请求头
2025-04-22 11:08:50 +08:00
HerveyHall
e16e0e9373
🎨 #3548【微信支付】修复公钥模式下V3接口未设置Wechatpay-Serial请求头导致的验签失败
2025-04-15 15:14:12 +08:00
Holy
89280abd00
🎨 #3547【微信支付】修复验证器未正确初始化导致的v3请求构造异常问题
2025-04-14 11:32:34 +08:00
Binary Wang
0423e6849d
🔖 发布 4.7.4.B 测试版本
2025-04-08 08:39:24 +08:00
cloudX
3f0b8d4e2b
🎨 #3538 【微信支付】V3接口增加实名支付参数
2025-04-07 13:03:10 +08:00
SynchPj
dd407141b0
🎨 #3530 【微信支付】修复未设置平台证书引起的v3请求构造异常
2025-04-07 13:01:53 +08:00
yangmengyu2021
b225afbd68
🎨 #3532 【微信支付】修复支付通知回调解析方法报错的问题
2025-03-23 20:07:01 +08:00
Binary Wang
25309e06ad
🔖 发布 4.7.3.B 测试版本
2025-03-18 12:58:09 +08:00
SynchPj
5ac9922f8d
🎨 #3498【微信支付】服务商模式-兼容公钥模式下请求头序列号以及灰度切换
2025-03-17 10:58:50 +08:00
wzl
404102a4c8
🎨 #3493 【微信支付】修复合单支付combineTransactions接口参数错误问题
2025-03-03 15:42:26 +08:00
raven
5decfcb917
🎨 #3505【微信支付】修复微信支付异步通知请求解析失败问题
2025-03-03 15:40:52 +08:00
Binary Wang
22ec3f0eca
🎨 增加注释防止误解,同时优化重构代码
2025-02-17 11:12:32 +08:00
je45
410cc9dfd7
🎨 #3490【微信支付】消费者投诉相关接口补充最新增加的一些参数
2025-02-07 21:22:39 +08:00
Binary Wang
3e48dc7f83
🔖 发布 4.7.2.B 测试版本
2025-01-24 22:18:57 +08:00
Neror
c3b16228c0
🎨 【微信支付】完善微信商家转账功能API !151
2025-01-21 11:49:38 +00:00
Neror
24ebc91dca
🎨 【微信支付】增加多配置切换功能
2025-01-21 19:36:25 +08:00
GadflyFang
1e003ee571
🎨 修复 94aaff4 引入的错误读取证书的问题
2025-01-21 18:44:33 +08:00
julb
704fba4d85
🎨 【微信支付】兼容公钥模式下请求头序列号 !148
2025-01-20 10:52:35 +08:00
潘安
b4b73ad40a
🎨 #3467 【微信支付】商户进件开户意愿接口相关字段调整
2025-01-16 13:47:55 +08:00
allovine
be0dd8b692
🆕 #3474 【微信支付】增加2025.1.15正式上线的商户转账新版本的相关接口
2025-01-16 13:46:02 +08:00
Binary Wang
83bd92d260
🔖 发布 4.7.1.B 测试版本
2025-01-13 08:51:16 +08:00
Jacky Tse
8fe1e6ea86
🆕 #3452 【微信支付】新增消费者投诉2.0的更新退款审批结果的接口
2025-01-02 10:15:45 +08:00