Example #1
0
    public void Pay(string productId, string productName, double price)
    {
        string order = SDKManager.GetOrder(productId, productName, price);

        NativeCallManager.CallSdkApi("pay", new object[]
        {
            order
        });
    }
Example #2
0
 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);
     }
 }