Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Jeepay
Commits
2aa6c194
Commit
2aa6c194
authored
Feb 28, 2022
by
dingzhiwei
Browse files
修改微信v2接口退款bug
parent
4e64d785
Changes
1
Hide whitespace changes
Inline
Side-by-side
jeepay-payment/src/main/java/com/jeequan/jeepay/pay/channel/wxpay/WxpayRefundService.java
View file @
2aa6c194
...
@@ -84,8 +84,8 @@ public class WxpayRefundService extends AbstractRefundService {
...
@@ -84,8 +84,8 @@ public class WxpayRefundService extends AbstractRefundService {
setCretPath
(
mchAppConfigContext
,
wxPayService
);
// 证书路径
setCretPath
(
mchAppConfigContext
,
wxPayService
);
// 证书路径
WxPayRefundResult
result
=
wxPayService
.
refundV2
(
req
);
WxPayRefundResult
result
=
wxPayService
.
refundV2
(
req
);
if
(
"SUCCESS"
.
equals
(
result
.
getResultCode
())){
//
支付成功
if
(
"SUCCESS"
.
equals
(
result
.
getResultCode
())){
//
退款发起成功,结果主动查询
channelRetMsg
.
setChannelState
(
ChannelRetMsg
.
ChannelState
.
CONFIRM_SUCCESS
);
channelRetMsg
.
setChannelState
(
ChannelRetMsg
.
ChannelState
.
WAITING
);
channelRetMsg
.
setChannelOrderId
(
result
.
getRefundId
());
channelRetMsg
.
setChannelOrderId
(
result
.
getRefundId
());
}
else
{
}
else
{
channelRetMsg
.
setChannelState
(
ChannelRetMsg
.
ChannelState
.
CONFIRM_FAIL
);
channelRetMsg
.
setChannelState
(
ChannelRetMsg
.
ChannelState
.
CONFIRM_FAIL
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment