mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 15:43:27 +08:00
【修复】修复支付宝退款判断支付类型错误的问题。
This commit is contained in:
@@ -282,7 +282,7 @@ namespace CoreCms.Net.Services
|
||||
{
|
||||
var jObj = (JObject)JsonConvert.DeserializeObject(paymentInfo.parameters);
|
||||
if (jObj != null && jObj.TryGetValue("trade_type", out var value))
|
||||
tradeType = PayHelper.GetWeiChatPayTradeType(value.ObjectToString());
|
||||
tradeType = PayHelper.GetAliPayPayTradeType(value.ObjectToString());
|
||||
}
|
||||
|
||||
var config = await _alipayConfigServices.QueryByClauseAsync(p => p.isDefault == true && p.isEnable == true && p.appType == tradeType);
|
||||
|
||||
Reference in New Issue
Block a user