解决支付宝错误

This commit is contained in:
wanyongkang
2020-10-12 18:08:24 +08:00
parent 3a4bfb28eb
commit 20474cd13f
11 changed files with 154 additions and 16 deletions

View File

@@ -295,7 +295,7 @@ namespace Home.Controllers
{
Body = request.PackageName,
Subject = oName,
TotalAmount = request.OtherPayAmount.ToString(),
TotalAmount = decimal.Round(decimal.Parse(request.OtherPayAmount.ToString()),2).ToString(),
OutTradeNo = request.OrderNo,
ProductCode = "FAST_INSTANT_TRADE_PAY",//QUICK_WAP_PAY
TimeoutExpress="15m"