public void Pay(string productId, string productName, double price) { string order = SDKManager.GetOrder(productId, productName, price); NativeCallManager.CallSdkApi("pay", new object[] { order }); }
public void CheckBalanceOnPay(string productId, string productName, double price) { if (this.HasSDK()) { this.m_productId = productId; this.m_productName = productName; this.m_price = price; string order = SDKManager.GetOrder(productId, productName, price); this.SubmitExtendData(null, SDKManager.SubmitTypeCheckBalanceOnPay, order); } }