Commit Graph

141 Commits

Author SHA1 Message Date
yansongda
6db99832ae
feat: 增加支付宝 分账关系维护/分账查询 插件 (#874) 2023-11-28 20:52:54 +08:00
woodong
d3a85f954d
optimize: 支付宝公钥使用公共函数获取 (#835)
* Use the get_public_cert function in Alipay to obtain the content of the public key.

* update

---------

Co-authored-by: yansongda <me@yansongda.cn>
2023-07-28 17:33:22 +08:00
yansongda
85143decc3
fix: monolog 不存在时报错问题 (#834)
* fix: monolog 不存在时报错问题

* fix: `\Yansongda\Pay\Provider\AbstractProvider::call` 方法返回值类型错误问题
2023-07-26 11:11:42 +08:00
yansongda
457690529c
fix: changelog 版本错误 (#825) 2023-07-09 19:27:30 +08:00
yansongda
b9cf6ee6f8
fix: destination 的类型约束去掉 array (#824) 2023-07-09 19:24:21 +08:00
yansongda
759ddd8e17
delete: 移除 Yansongda\Pay\Direction\ArrayDirection 类 (#819) 2023-07-01 23:31:22 +08:00
yansongda
25830a9cff
delete: 移除 Yansongda\Pay\Direction\ArrayDirection 类 (#818) 2023-07-01 23:22:37 +08:00
李铭昕
de827f7a59
change: 只支持 hyperf3.x 版本 (#815)
* Only support Hyperf 3.x

* changelog

---------

Co-authored-by: yansongda <me@yansongda.cn>
2023-06-27 17:54:37 +08:00
yansongda
da90865a0e
optimize: 优化预下单失败时错误提示 (#814) 2023-06-24 20:04:08 +08:00
yansongda
8d435d1e3f
chore: 最低支持版本变更为 php8.0 (#801) 2023-06-10 16:18:47 +08:00
yansongda
c5c7432494
change: Exception::INVALID_PARSE 更改为 Exception::INVALID_DIRECTION (#804) 2023-06-10 13:17:32 +08:00
yansongda
fdd544d426
feat: 增加 get_direction 方法获取 Direction 对象 (#803) 2023-06-10 13:11:45 +08:00
yansongda
be18dbe057
style: 优化代码规范 (#802) 2023-06-10 12:58:57 +08:00
caiyaonan
96b205fd0f
fix: 支付宝沙箱地址 (#800)
修改 支付宝沙盒地址变化

---------

Co-authored-by: yansongda <me@yansongda.cn>
2023-06-07 20:07:56 +08:00
yansongda
ead4d7e340
Release v3.3.0 (#757) 2023-05-21 23:02:32 +08:00
yansongda
adbd3f7e24
change: 默认 container 由 php-di/php-di 改为 hyperf/pimple (#786) 2023-04-23 20:55:02 +08:00
yansongda
27e96721e4
chore: 支持 psr/http-message 2.0 版 (#784) 2023-04-20 21:08:25 +08:00
yansongda
a58ed79d0d
change: _type 类型统一定义为渠道id,如: 小程序id,公众号id等;增加 _action 为操作类型用于 shortcut (#781) 2023-04-20 20:32:39 +08:00
yansongda
5baa7a7c05
refactor: 所有参数判断使用 $payload->has() 判断是否存在 (#778) 2023-04-15 00:53:31 +08:00
yansongda
d676442f63
fix: 微信代金券 api 参数错误问题 (#777) 2023-04-15 00:51:00 +08:00
yansongda
db364cc7e3
change: 所有 Parser 更名为 Direction (#774) 2023-04-09 23:45:44 +08:00
yansongda
c76320b238
feat: 增加委托代扣 shortcut (#773) 2023-04-09 23:40:36 +08:00
yansongda
fe19020e91
refactor: 优化现有微信v2插件代码 (#772) 2023-04-09 23:16:10 +08:00
yansongda
2154e0790b
feat: shortcut 支持 _no_common_plugins 参数不使用通用插件 (#771) 2023-04-09 19:34:37 +08:00
yansongda
041b4f0f83
change: 所有 Parser 更名为 Direction (#770) 2023-04-09 18:45:17 +08:00
yansongda
7ef1e68663
refactor: coding style (#769) 2023-04-09 18:28:30 +08:00
yansongda
2d21acc186
feat: 支持微信 v2 版本刷卡支付 (#753) 2023-03-19 22:32:54 +08:00
yansongda
04ea3fea5f
change: 所有的 Find*Plugin 调整为 Query*Plugin (#756) 2023-03-19 22:21:15 +08:00
yansongda
258ff12538
change: 插件开始装载日志由 info 调整为 debug (#755) 2023-03-19 21:49:38 +08:00
yansongda
1103f44c9c
refactor: 重构 ArrayParser 类 (#754) 2023-03-19 19:36:30 +08:00
yansongda
f76777875c
delete: 移除废弃的类 (#752) 2023-03-18 21:17:43 +08:00
yansongda
81df62a863
fix: 微信投诉相关插件响应解析错误 (#746)
* fix: 微信投诉相关插件响应解析错误

* changelog

* style: fix coding style
2023-02-26 19:52:56 +08:00
yansongda
765085bdd1
optimize: 微信退款可取消 notify_url (#741) 2023-02-13 21:35:26 +08:00
yansongda
4c1893d44f
feat: 增加获取微信平台公钥证书方法 (#733) 2023-01-07 21:38:52 +08:00
yansongda
53aa073ccf
docs: 增加微信转账注释方便ide识别 (#725) 2022-12-22 18:04:42 +08:00
yansongda
c084d67273
fix: CallbackReceived 事件在获取到回调参数后触发 (#716) 2022-11-25 19:41:16 +08:00
yansongda
20c3ef48d7
fix: 当配置文件出错微信解密失败后报错的问题 (#698) 2022-10-30 14:14:58 +08:00
Xiaohe
6187ae6474
fix: 微信商家批次单号查询批次单时 query 参数不正确 (#690)
* 微信商家批次单号查询批次单时 query 参数不正确

* 删除空行

* fix: 商家批次单号查询批次单时 query 参数不正确

Co-authored-by: yansongda <me@yansongda.cn>
2022-09-28 12:03:34 +08:00
Xiaohe
cc77cfd279
fix: 微信批次单号查询批次单时 query 参数不正确 (#688)
* 修复微信批次单号查询批次单

* fix: 微信批次单号查询批次单时 query 参数不正确

Co-authored-by: yansongda <me@yansongda.cn>
2022-09-27 23:01:52 +08:00
yansongda
6a730b79c0
fix: json 中有 & 时解析错误 (#687) 2022-09-26 20:20:11 +08:00
yansongda
0f6963a90f
fix: 修复支付宝 subject 中存在 + 号回调验签不通过 (#684) 2022-09-18 13:44:28 +08:00
yansongda
2b460f2169
feat: 银联支付 (#662) 2022-09-17 00:45:33 +08:00
wyzhang
94b775c0bf
feat: 微信 扫码支付 支持关联 mini_app_id (#680)
* feat: 微信 扫码支付 支持关联 mini_app_id

* refactor

Co-authored-by: yansongda <me@yansongda.cn>
2022-09-13 16:04:09 +08:00
yansongda
9412db512f
refactor: 优化支付宝 launch 插件代码 (#678)
* deprecated: 支付宝/微信 `RadarPlugin`, `SignPlugin` 已废弃,使用 `RadarSignPlugin` 代替
2022-09-12 23:11:53 +08:00
李铭昕
ebc939e1d7
Fixed undefined array key wechat_public_cert_path when don't set it. (#674)
* Fixed undefined array key `wechat_public_cert_path` when don't set it.

* refactor: 优化 `wechat_public_cert_path` 配置

Co-authored-by: yansongda <me@yansongda.cn>
2022-09-07 16:42:18 +08:00
yansongda
84682fcaee
perf: 支付宝中支付宝根证书、应用证书序列号在常驻进程中缓存 (#668) 2022-09-04 12:19:33 +08:00
yansongda
849a195dce
change: get_xxx_config 返回类型由 Config 改为 array (#667) 2022-09-04 00:48:24 +08:00
yansongda
894bf4d77d
change: 支付宝转账查询接口由老版本改为为新版本 (#666) 2022-09-03 23:47:34 +08:00
yansongda
6dad3b6252
change: Function 增加命名空间 (#665) 2022-09-03 23:03:28 +08:00
yansongda
a83eae5dd8
delete: Function 中将 get_wechat_authorization 方法移除 (#664) 2022-09-03 22:34:49 +08:00
branll
7ff004f05f
fix: 微信代金券详情 url 不正确 (#663)
* fixed: 微信代金券详情插件

* tests

Co-authored-by: yansongda <me@yansongda.cn>
2022-09-03 13:39:21 +08:00
yansongda
8d4be495df
feat: 微信退款自动增加回调url (#649) 2022-08-20 12:00:17 +08:00
yansongda
e02069503b
feat: 支付宝周期扣款签约接口 (#644) 2022-08-09 21:49:29 +08:00
yansongda
ac29721c5c
fix: 提前读取响应数据造成数据错误的问题 (#634)
* fix: 提前读取响应数据造成数据错误的问题
2022-07-21 22:42:59 +08:00
yansongda
1ad9a4c09a
fix: 提前读取响应数据造成验签错误的问题 (#633)
* fix: 提前读取响应数据造成验签错误的问题
2022-07-21 22:18:15 +08:00
BranchZero Sun
c51793e88a
fix: 微信内网页支付供应商模式 sub_appid 非必填 (#628)
* fixed: 公众号支付供应商模式 sub_appid 非必填
* refactor: 优化代码

Co-authored-by: BranchZero Sun <branchzero@elemenx.com>
Co-authored-by: yansongda <me@yansongda.cn>
2022-07-17 21:54:48 +08:00
yansongda
cc8ad8cafa
fix: 微信注释中返回类型错误 (#630)
* fix: 微信注释中返回类型错误

* fix: 微信注释中返回类型错误
2022-07-14 15:51:15 +08:00
yansongda
d56f0527d6
feat: 微信服务商退款及查询退款支持自动 sub_mchid 参数 (#619)
* feat: 微信服务商退款及查询退款支持自动 sub_mchid 参数

* tests: fix unit tests
2022-06-02 22:03:47 +08:00
yansongda
bf5af92bc5
fix: alipay 中 event dispatch provider 是 wechat 的问题 (#595)
* fix: alipay 中 event dispatch provider 是 wechat 的问题

* changelog
2022-03-29 14:44:46 +08:00
yansongda
afcd6293ac
refactor: v3.1 (#579)
refactor: 去掉 phpdi 依赖 #573
refactor: 完全支持 psr/container 标准 #574
feat: 自动识别 laravel, hyperf, thinkphp 的 container #577
fix: laravel项目安装失败 #571
feat: 兼容 php8.1 解决 deprecated #582
2022-03-05 21:59:11 +08:00
bupthui
8b4db445e8
fix: 添加分账接受人姓名加密字段错误 (#566)
* fix: 添加分账接受人姓名加密字段错误 (#565)

* add unit test: 添加分账接受人姓名加密字段错误 (#565)

* changelog

* styles: fix coding style

Co-authored-by: zhonghuihui <zhonghuihui@example.com>
Co-authored-by: yansongda <me@yansongda.cn>
2022-02-18 21:49:42 +08:00
yansongda
4388309db8
fix: 支持分账传递姓名 (#559) 2022-01-21 12:21:06 +08:00
yansongda
fd921a2b5d
feat: 支持使用小程序等其他类型转账 (#552)
* 支持使用小程序等其他类型转账

* changelog
2022-01-09 17:22:22 +08:00
yansongda
9e29c732d0
fix: 未设置微信公钥证书时,加密不生效的问题 (#549)
* fix: 未设置微信公钥证书时,加密不生效的问题

* changelog
2022-01-09 15:53:12 +08:00
yansongda
e12306a059
fix: 微信分账传递姓名时未加密的问题 (#547)
* fix: 分账传递姓名时未加密的问题

* tests: 增加测试用例

* changelog
2022-01-08 22:58:25 +08:00
yansongda
a1b58e7bab
微信转账快捷方式与加密方式支持 (#542)
* feat: 增加微信转账快捷方式

* feat: 增加微信转账查询快捷方式

* feat: 增加微信敏感信息加密函数

* feat: 收款用户姓名加密

* refactor: 优化代码

* tests: 增加测试用例
2021-12-26 13:04:46 +08:00
yansongda
a1bcd2665f
chore: 完善支付宝响应错误时的异常信息 (#530)
* chore: 完善支付宝响应错误时的异常信息

* changelog
2021-12-04 11:05:48 +08:00
yansongda
f48ec8850a
fix: 支付宝 system.oauth.token 请求参数错误 (#528)
* fix: #527

* changelog
2021-12-02 21:14:22 +08:00
yansongda
1560fc989a
feat: 电商收付通的退款使用 _type 增加多类型 appid (#518)
* feat: 电商收付通的退款使用 _type 增加多类型 appid

* changelog
2021-11-16 21:16:55 +08:00
yansongda
506dcf846a changelog 2021-11-14 23:04:21 +08:00
yansongda
a1269b4518 changelog 2021-11-04 15:25:34 +08:00
yansongda
9a9fd40495 changelog
;
2021-11-04 15:24:36 +08:00
yansongda
0f318fe90e changelog 2021-11-04 14:47:27 +08:00
yansongda
df27f9538d fixed: 下载对账单时响应解析 2021-11-04 14:32:24 +08:00
yansongda
223732dbcc
fix: app 支付调起签名中时间戳参数大小写问题 (#510)
* fix: app 支付调起签名中时间戳参数大小写问题

* changelog
2021-11-04 12:11:13 +08:00
yansongda
796ce44dbc
fixed: 微信小程序支付供应商模式 sub_appid 非必填 (#509) 2021-11-03 22:33:35 +08:00
yansongda
e6f4624503
feat: 微信 h5 支付支持关联 mini_app_id (#506)
* feat: 微信 h5 支付支持关联 mini_app_id

* changelog
2021-10-31 17:01:19 +08:00
yansongda
09a431a2a0 changelog 2021-10-25 00:06:16 +08:00
yansongda
215d5f0696
feat: 服务商批量转账到零钱 (#503)
* feat: #499

* changelog

* fix: 传参 sub_mch_id 可能造成的参数问题
2021-10-25 00:05:36 +08:00
yansongda
c581fb6db7
feat: 支持直连商户批量转账到零钱 (#501)
* feat: #499

* changelog
2021-10-24 00:46:59 +08:00
yansongda
8e9806996e update 2021-09-18 11:25:23 +08:00
yansongda
9898a35002 update changelog 2021-09-10 16:39:57 +08:00
yansongda
660fa5ef12 update to 3.0.6 2021-09-02 20:44:31 +08:00
yansongda
406dbe3907 update to 3.0.6 2021-09-02 20:43:48 +08:00
yansongda
d3e55143be update 2021-08-31 23:09:29 +08:00
yansongda
18cedbaae6 update 2021-08-28 22:36:16 +08:00
yansongda
65639873aa update 2021-08-28 22:32:53 +08:00
yansongda
270229c6b9 update 2021-08-28 22:31:45 +08:00
yansongda
7fd1cc80c4 update 2021-08-28 21:17:16 +08:00
yansongda
d942c3db04 update 2021-08-28 21:16:42 +08:00
yansongda
f01eb8b663 update 2021-08-18 21:43:05 +08:00