Example #1
0
        public string DoRecharge(ServiceOrder order)
        {
            int mode = Configuration._joloAPIMode;

            string result = string.Empty;
            //string parameterString = "http://jolo.in/api/recharge.php?mode=1&key=" + Key + "&operator=" + order.OperatorCode + "&service=" + order.ItemCode + "&amount=" + order.Amount + "&orderid=" + order.OrderNumber;
            string parameterString = "http://joloapi.com/api/recharge2.php?mode=" + mode + "&userid=" + MerchantId.Trim() + "&key=" + Key.Trim() + "&operator=" + order.OperatorCode.Trim() + "&service=" + order.ItemCode.Trim() + "&amount=" + order.Amount.ToString().Trim() + "&orderid=" + order.OrderNumber.Trim();

            result = CallJoloService(parameterString);
            return(result);
        }