[F] paymethod add usprice arg

This commit is contained in:
2024-08-30 10:34:55 +08:00
parent 959d7d2cce
commit afe2481b5e
2 changed files with 3 additions and 1 deletions

View File

@@ -160,7 +160,7 @@ public class SDKTest : MonoBehaviour
_messageTxt.text = "no product";
return;
}
PaymentInfo payResult = await TYSdkFacade.Instance.Pay(sku, 1);
PaymentInfo payResult = await TYSdkFacade.Instance.Pay(sku, 1, sku.ProdPrice);
_messageTxt.text = "\n" + $"Success : {payResult.isSuccess}";
_messageTxt.text += "\n" + $"message : {payResult.msg}";
}

View File

@@ -3,4 +3,6 @@
<projectSetting name="Google.IOSResolver.VerboseLoggingEnabled" value="False" />
<projectSetting name="Google.PackageManagerResolver.VerboseLoggingEnabled" value="False" />
<projectSetting name="Google.VersionHandler.VerboseLoggingEnabled" value="False" />
<projectSetting name="GooglePlayServices.PromptBeforeAutoResolution" value="False" />
<projectSetting name="GooglePlayServices.UseJetifier" value="True" />
</projectSettings>