Пример #1
0
        public void onPayFailed(string msg)
        {
            var       data   = SimpleJSON.JSONNode.Parse(msg);
            PayResult result = new PayResult();

            result.cpOrderId  = data["cpOrderId"].Value;
            result.orderId    = data["orderId"].Value;
            result.extraParam = data["extraParam"].Value;

            onPayFailed(result);
        }
Пример #2
0
 public abstract void onPayFailed(PayResult payResult);
Пример #3
0
 public abstract void onPayCancel(PayResult payResult);
Пример #4
0
 public abstract void onPaySuccess(PayResult payResult);