feat(tenpayv3): 适配微信支付平台公钥认证方案

This commit is contained in:
Fu Diwei
2024-11-05 21:19:50 +08:00
parent cb32782476
commit 4203fe6111
15 changed files with 753 additions and 169 deletions

View File

@@ -22,7 +22,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests
Assert.NotNull(response.WechatpayTimestamp);
Assert.NotNull(response.WechatpaySignature);
Assert.NotNull(response.WechatpaySignatureType);
Assert.NotNull(response.WechatpayCertificateSerialNumber);
Assert.NotNull(response.WechatpaySerialNumber);
}
[Fact(DisplayName = "测试用例:验证响应签名(基于 SM2")]
@@ -41,7 +41,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests
Assert.NotNull(response.WechatpayTimestamp);
Assert.NotNull(response.WechatpaySignature);
Assert.NotNull(response.WechatpaySignatureType);
Assert.NotNull(response.WechatpayCertificateSerialNumber);
Assert.NotNull(response.WechatpaySerialNumber);
}
}
}