feat: 优化支付宝回调通知记录功能
- 新增SignStr字段记录支付宝回调的原始签名字符串 - 修改日志记录格式,使用键值对形式记录回调通知数据 - 更新PayManager.RecordPayNoticeAsync方法支持记录原始签名字符串 - 移除AlipayManager中冗余的注释说明
This commit is contained in:
@@ -55,7 +55,6 @@ public class AlipayManager : DomainService
|
||||
/// <exception cref="AlipayException"></exception>
|
||||
public Task VerifyNotifyAsync(Dictionary<string, string> form)
|
||||
{
|
||||
// 注意:不要对参数进行排序,保持支付宝回调的原始参数顺序
|
||||
// 支付宝的验签需要保持原始参数顺序,排序会导致验签失败
|
||||
var result = Factory.Payment.Common().VerifyNotify(form);
|
||||
if (result == false)
|
||||
|
||||
Reference in New Issue
Block a user