diff --git a/Directory.Packages.props b/Directory.Packages.props
index 7603f22..89162b3 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -33,7 +33,7 @@
-
+
@@ -42,23 +42,23 @@
-
-
-
-
-
+
+
+
+
+
-
+
-
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all
-
+
\ No newline at end of file
diff --git a/Tiku.Infrastructure/Commerce/WechatPayProvider.cs b/Tiku.Infrastructure/Commerce/WechatPayProvider.cs
index c7a16d8..49d58c8 100644
--- a/Tiku.Infrastructure/Commerce/WechatPayProvider.cs
+++ b/Tiku.Infrastructure/Commerce/WechatPayProvider.cs
@@ -1,6 +1,7 @@
using System.Text.Json;
using Senparc.Weixin;
using Senparc.Weixin.Entities;
+using Senparc.Weixin.TenPayV3;
using Senparc.Weixin.TenPayV3.Apis;
using Senparc.Weixin.TenPayV3.Apis.BasePay;
using Senparc.Weixin.TenPayV3.Helpers;
@@ -111,7 +112,11 @@ internal sealed class WechatPayProvider : IPaymentProvider
var clientPayload = string.IsNullOrWhiteSpace(prepayId)
? JsonSerializer.SerializeToElement(new { h5Url })
- : JsonSerializer.SerializeToElement(TenPaySignHelper.GetJsApiUiPackage(appId, prepayId, tenPaySettings));
+ : JsonSerializer.SerializeToElement(
+ TenPaySignHelper.GetJsApiUiPackage(
+ prepayId,
+ new TenPayV3Info(tenPaySettings),
+ JsApiAppType.WxOpen));
var providerPayload = JsonSerializer.SerializeToElement(new
{
PrepayId = prepayId,
@@ -250,4 +255,4 @@ internal sealed class WechatPayProvider : IPaymentProvider
public string TenPayV3_WxOpenTenpayNotify { get; set; } = string.Empty;
public CertType? EncryptionType { get; set; }
}
-}
\ No newline at end of file
+}