public override void Init() { if (SDKManager.IncludeThePayPlatform(StoreName.HuaWei)) { GlobalEvent.AddTypeEvent <PrePay2Client>(OnPrePay); } }
public override void Init() { if (SDKManager.IncludeThePayPlatform(StoreName.m4399)) { Debug.Log("=========4399 PayClass Init==========="); StorePayController.OnPayCallBack += OnPayResultCallBack; } }
public override void Init() { if (SDKManager.IncludeThePayPlatform(StoreName.UC)) { Debug.Log("=========UC PayClass Init==========="); GlobalEvent.AddTypeEvent <PrePay2Client>(OnPrePay); StorePayController.OnPayCallBack += OnPayResultCallBack; } }
public override void Init() { if (SDKManager.IncludeThePayPlatform(StoreName.VIVO)) { Debug.LogWarning("=========vivoPayClass Init==========="); //SDKManagerNew.OnPayCallBack += SetPayResult; GlobalEvent.AddTypeEvent <PrePay2Client>(OnPrePay); appid = SDKManager.GetProperties("vivo", "AppID", appid); mchID = SDKManager.GetProperties("vivo", "MchID", mchID); appSecret = SDKManager.GetProperties("vivo", "AppSecret", appSecret); } }
public override void Init() { base.Init(); if (SDKManager.IncludeThePayPlatform(StoreName.IAppPay)) { m_SDKName = StoreName.IAppPay.ToString(); Debug.LogWarning("=========IAppPayClass Init==========="); //SDKManagerNew.OnPayCallBack += SetPayResult; GlobalEvent.AddTypeEvent <PrePay2Client>(OnPrePay); appid = SDKManager.GetProperties(StoreName.IAppPay.ToString(), "AppID", appid); mchID = SDKManager.GetProperties(StoreName.IAppPay.ToString(), "MchID", mchID); appSecret = SDKManager.GetProperties(StoreName.IAppPay.ToString(), "AppSecret", appSecret); } }
public override void Init() { if (SDKManager.IncludeThePayPlatform(StoreName.WX)) { Debug.LogWarning("=========WXPayClass Init==========="); //SDKManagerNew.OnPayCallBack += SetPayResult; GlobalEvent.AddTypeEvent <PrePay2Client>(OnPrePay); appid = SDKManager.GetProperties("WeiXin", "AppID", appid); mchID = SDKManager.GetProperties("WeiXin", "MchID", mchID); appSecret = SDKManager.GetProperties("WeiXin", "AppSecret", appSecret); } //if ((StoreName)Enum.Parse(typeof(StoreName), SDKManager.GetProperties(SDKInterfaceDefine.PropertiesKey_StoreName, "None")) // == StoreName.WX) //{ //} }