修复支付金额单位为分时导致微信扫码支付失败的bug
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -93,7 +93,7 @@ class Service extends PayAbstract | @@ -93,7 +93,7 @@ class Service extends PayAbstract | ||
93 | $rsp->bankName = "WX"; | 93 | $rsp->bankName = "WX"; |
94 | $rsp->orderCode = $data['orderCode']; | 94 | $rsp->orderCode = $data['orderCode']; |
95 | $rsp->payTime = $result["time_end"]; | 95 | $rsp->payTime = $result["time_end"]; |
96 | - $rsp->totalFee = $result["total_fee"]; | 96 | + $rsp->totalFee = $result["total_fee"] / 100; |
97 | $rsp->resultMsg = '支付成功'; | 97 | $rsp->resultMsg = '支付成功'; |
98 | //添加支付订单号和交易号 | 98 | //添加支付订单号和交易号 |
99 | $rsp->payOrderCode = $data["orderCode"]; | 99 | $rsp->payOrderCode = $data["orderCode"]; |
-
Please register or login to post a comment