update:enjoy-pay 接入

This commit is contained in:
2026-06-03 17:33:34 +08:00
parent ea03c8023f
commit 3da65b8cbd
17 changed files with 704 additions and 61 deletions

View File

@@ -8,6 +8,7 @@ namespace tysdk
{
"Rustore" => "rustore.global.app",
"Flexion" => "flexion.global.app",
"EnjoyPay" => "enjoypay.global.h5.web",
_ => "googleiab.global.app"
};

View File

@@ -59,6 +59,7 @@ namespace tysdk
#elif UNITY_ANDROID
var pType = ChannelConfig.PayType;
Debug.Log($"[TYSdkFacade::Pay] Channel={ChannelConfig.Channel}, PayType={pType}, prodId={prodId}, price={prodPrice}, orderId={orderId}");
var task = TYSDKCallbackManager.Instance.RegisterCallback<PaymentInfo>(TimeSpan.FromSeconds(90));
try
{