1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-04 12:52:27 +08:00
Commit Graph

43 Commits

Author SHA1 Message Date
silenceper
01addecd53 Revert "fix #417: CouponFeed0 CouponFeed1 CouponFeed2字段映射失败 (#424)" (#426)
This reverts commit 4433fc18a6.
2021-07-30 14:19:52 +08:00
silenceper
4433fc18a6 fix #417: CouponFeed0 CouponFeed1 CouponFeed2字段映射失败 (#424) 2021-07-30 14:16:49 +08:00
faith
0e8fc3f88b [付款] pay.go 增加 GetTransfer 方法 (#400) 2021-05-28 09:39:32 +08:00
Alfred
813684e555 fix: 微信支付退款请求参数签名类型不可选 (#383)
* fix: 微信支付退款请求参数签名类型不可选

* fix: 修复微信退款请求参数问题,out_trade_no OR transaction_id 不可选

* fix: 误删NotifyURL

* fix: 误删SignType

* fix: 修复 golangci-lint 失败

* refactor: 增加GetSignParam方法

* chore: 调整 go.mod

* refactor: 调整参数
2021-03-10 17:26:01 +08:00
Alfred
7ca0317d84 feat: 新增微信支付查询结果 (#380)
* feat: 增加微信支付查询结果

* feat: 增加微信支付查询结果

* fix: 修复golangci-lint失败

* fix: 修复golangci-lint失败

* refactor: 微信支付结果查询错误友好提示
2021-03-05 15:34:46 +08:00
baiyuxiong
ad3cc913b0 修改退款 bug 及增加付款到零钱的支付 (#373)
* fix refund bug and add transfer to wallet support

* fmt code

* fix golangci-lint

* fix golangci-lint
2021-03-05 11:46:13 +08:00
LouGaZen
d5a67eaf29 微信支付 - 退款通知 (#359)
* 🆕 发起退款 - 添加notify_url参数

* 🆕 退款通知
2021-02-07 09:49:43 +08:00
silenceper
c0da806e03 update golangci (#349)
* update golangci
2020-11-26 12:25:57 +08:00
Elvin
430277c947 #330 PreOrder增加H5支付的mweb_url字段 (#335) 2020-10-21 15:08:36 +08:00
silenceper
7fe7e21cb2 add GetRefund (#286) 2020-06-24 17:43:35 +08:00
huang wei
c14c020a3c fix some bugs (#277)
* fix payRequset xml marshal: root element should be xml

* support HMAC-SHA256 for unifiedorder api

* support HMAC-SHA256 for PaidVerifySign

* fix SignType is nil

* fix code style

* constantize SignType

* add comments

* fix code style
2020-06-14 23:23:58 +08:00
silenceper
340e1a3c5b merge #221 2020-05-23 12:38:35 +08:00
silenceper
b6bba6ab66 将import path改为v2 2020-05-22 14:37:58 +08:00
silenceper
15ebd71a04 规范目录 2020-01-20 13:54:04 +08:00
ciel yu
1dbe3f60ea 验签增加 attach 参数 2019-11-20 17:49:09 +08:00
ciel yu
934ca61b3b 支付 增加 接收通知回调,通知签名验证 2019-11-07 01:42:38 +08:00
ciel yu
0c9dd16f1f 支付 新增 BridgeConfig 方法,可获得 prepay ID,及js支付时所需要的参数
统一下单 新增非必传参数
2019-10-14 19:35:08 +08:00
ciel yu
f68f9d6f5e 支付 新增 BridgeConfig 方法,可获得 prepay ID,及js支付时所需要的参数
统一下单 新增非必传参数
2019-10-14 19:28:28 +08:00
ciel yu
09dabb232d 支付 新增 BridgeConfig 方法,可获得 prepay ID,及js支付时所需要的参数
统一下单 新增非必传参数
2019-10-14 19:14:02 +08:00
ciel yu
3ea624f832 支付 新增 BridgeConfig 方法,可获得 prepay ID,及js支付时所需要的参数
统一下单 新增非必传参数
2019-10-14 19:08:35 +08:00
ciel yu
546dce2396 支付 新增 BridgeConfig 方法,可获得 prepay ID,及js支付时所需要的参数
统一下单 新增非必传参数
2019-10-14 18:59:42 +08:00
ciel yu
abd7f512ba 支付 新增 BridgeConfig 方法,可获得 prepay ID,及js支付时所需要的参数 2019-10-14 18:33:50 +08:00
silenceper
1a9600b49f go fmt 2019-07-15 18:25:01 +08:00
silenceper
3005852946 fix import path 2019-04-23 21:19:12 +08:00
sunyaqiu
f4f1860e67 fix some comment and struct field 2019-04-06 15:24:40 +08:00
sunyaqiu
02b3fcc648 add refund 2019-04-06 14:59:38 +08:00
sunyaqiu
4f5945fb0f add refund 2019-04-06 14:52:05 +08:00
song kang
d5302dbfdc 修复统一下单接口签名问题:如果参数值为空值,则不参与签名; 2018-12-19 18:58:51 +08:00
song kang
a6b1c56c25 统一下单接口修改tradeType:可以从param中指定使用什么tradeType;方便使用者根据不同使用场景调用 2018-12-19 17:59:17 +08:00
zuomang
546ffb9155 修改统一下单接口的返回,提供全部返回,不仅仅是 prepay order 2018-11-01 14:47:26 +08:00
wenzl
ae0594cfeb fix golint 2018-02-23 16:28:56 +08:00
Mongo
f7b6cff271 change crypt method to MD5 2017-11-01 21:46:26 +08:00
Mongo
4b67aa76bb change md5 sum to HMAC-SHA256 2017-11-01 21:05:47 +08:00
Mongo
c4ba989322 openid needed when pay with JSAPI 2017-11-01 20:10:14 +08:00
Mongo
610bee53a1 fix sign parameters \n remove openid which not needed 2017-11-01 20:06:33 +08:00
Mongo
a9bfce3fbe fix signature calculate 2017-10-31 19:22:43 +08:00
Mongo
0762d6c249 fix payment params error 2017-10-31 16:51:20 +08:00
Mongo
a87ef15482 fix payment typo 2017-10-31 16:48:04 +08:00
Mongo
1d2f06365e fix payment bug 2017-10-31 16:45:59 +08:00
Mongo
d199cc947b fix parameter trade_type 2017-10-30 21:55:48 +08:00
Mongo
0db6094b24 fix bug 2017-10-30 15:28:41 +08:00
Mongo
a4a567e1d4 add H5 payment support 2017-10-29 21:01:27 +08:00
Mongo
97752d09a6 add jsapi payment demo version 2017-10-28 00:32:08 +08:00