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
377fc135
Commit
377fc135
authored
Jun 18, 2021
by
terrfly
Browse files
支付宝退款无返回渠道订单号
parent
72751fbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
jeepay-payment/src/main/java/com/jeequan/jeepay/pay/channel/alipay/AlipayRefundService.java
View file @
377fc135
...
...
@@ -71,7 +71,6 @@ public class AlipayRefundService extends AbstractRefundService {
ChannelRetMsg
channelRetMsg
=
new
ChannelRetMsg
();
channelRetMsg
.
setChannelAttach
(
response
.
getBody
());
channelRetMsg
.
setChannelOrderId
(
response
.
getTradeNo
());
// 调用成功
if
(
response
.
isSuccess
()){
...
...
@@ -102,7 +101,6 @@ public class AlipayRefundService extends AbstractRefundService {
ChannelRetMsg
channelRetMsg
=
new
ChannelRetMsg
();
channelRetMsg
.
setChannelAttach
(
response
.
getBody
());
channelRetMsg
.
setChannelOrderId
(
response
.
getTradeNo
());
// 调用成功 & 金额相等 (传入不存在的outRequestNo支付宝仍然返回响应成功只是数据不存在, 调用isSuccess() 仍是成功, 此处需判断金额是否相等)
Long
channelRefundAmount
=
response
.
getRefundAmount
()
==
null
?
null
:
Long
.
parseLong
(
AmountUtil
.
convertDollar2Cent
(
response
.
getRefundAmount
()));
...
...
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