Zbiór zmian 978 dla trunk

Pokaż
Ignoruj:
Data:
2009-12-23 13:09:28 (16 years ago)
Autor:
marek
Opis:

re #215

Pliki:
1 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • trunk/eCard/eCardMVC/adMoto.Payments.Web/Controllers/PlatnoscController.cs

    r977 r978  
    135135        } 
    136136 
    137         //public ActionResult Status() 
    138         //{ 
    139         //    if (System.Web.HttpContext.Current != null) 
    140         //        ErrorSignal.FromCurrentContext().Raise(new Exception(), System.Web.HttpContext.Current); 
    141  
    142         //    var potwierdzenie = new PotwierdzeniaEcard(); 
    143         //    var content = new ContentResult(); 
    144         //    try 
    145         //    { 
    146         //        if (!String.IsNullOrEmpty(Request["APPROVALCODE"])) 
    147         //            potwierdzenie.APPROVALCODE = Request["APPROVALCODE"]; 
    148         //        if (!String.IsNullOrEmpty(Request["AUTHTIME"])) 
    149         //            potwierdzenie.AUTHTIME = Convert.ToDateTime(Request["AUTHTIME"]); 
    150         //        if (!String.IsNullOrEmpty(Request["BIN"])) potwierdzenie.BIN = Request["BIN"]; 
    151         //        if (!String.IsNullOrEmpty(Request["COMMTYPE"])) potwierdzenie.COMMTYPE = Request["COMMTYPE"]; 
    152         //        if (!String.IsNullOrEmpty(Request["CURRENTSTATE"])) 
    153         //            potwierdzenie.CURRENTSTATE = Request["CURRENTSTATE"]; 
    154         //        if (!String.IsNullOrEmpty(Request["DATATRANSMISJI"])) 
    155         //            potwierdzenie.DATATRANSMISJI = Convert.ToDateTime(Request["DATATRANSMISJI"]); 
    156         //        if (!String.IsNullOrEmpty(Request["EVENTTYPE"])) 
    157         //            potwierdzenie.EVENTTYPE = Convert.ToBoolean(Request["EVENTTYPE"]); 
    158         //        if (!String.IsNullOrEmpty(Request["MERCHANTNUMBER"])) 
    159         //            potwierdzenie.MERCHANTNUMBER = Request["MERCHANTNUMBER"]; 
    160         //        if (!String.IsNullOrEmpty(Request["ORDERNUMBER"])) 
    161         //            potwierdzenie.ORDERNUMBER = Convert.ToInt32(Request["ORDERNUMBER"]); 
    162         //        if (!String.IsNullOrEmpty(Request["PAYMENTNUMBER"])) 
    163         //            potwierdzenie.PAYMENTNUMBER = Convert.ToBoolean(Request["PAYMENTNUMBER"]); 
    164         //        if (!String.IsNullOrEmpty(Request["PAYMENTTYPE"])) 
    165         //            potwierdzenie.PAYMENTTYPE = Convert.ToBoolean(Request["PAYMENTTYPE"]); 
    166         //        if (!String.IsNullOrEmpty(Request["PREVIOUSSTATE"])) 
    167         //            potwierdzenie.PREVIOUSSTATE = Request["PREVIOUSSTATE"]; 
    168         //        if (!String.IsNullOrEmpty(Request["TYPE"])) potwierdzenie.TYPE = Request["TYPE"]; 
    169         //        if (!String.IsNullOrEmpty(Request["VALIDATIONCODE"])) 
    170         //            potwierdzenie.VALIDATIONCODE = Request["VALIDATIONCODE"]; 
    171         //        if (!String.IsNullOrEmpty(Request["WITHCVC"])) potwierdzenie.WITHCVC = Request["WITHCVC"]; 
    172  
    173         //        if (!potwierdzenie.ORDERNUMBER.HasValue || potwierdzenie.ORDERNUMBER.Value <= 0) 
    174         //        { 
    175         //            content.Content = "FALSE"; 
    176         //            return content; 
    177         //        } 
    178  
    179         //        _repConfirm.Insert(potwierdzenie); 
    180  
    181         //        if (potwierdzenie.ORDERNUMBER.HasValue) 
    182         //            UpdateStatus(potwierdzenie.ORDERNUMBER.Value, potwierdzenie.CURRENTSTATE); 
    183  
    184         //        content.Content = "OK"; 
    185         //    } 
    186         //    catch (Exception ex) 
    187         //    { 
    188         //        ErrorSignal.FromCurrentContext().Raise(ex); 
    189  
    190         //        content.Content = "FALSE " + ex.Message + " " + ex.GetType(); 
    191         //    } 
    192  
    193         //    return content; 
    194         //} 
    195  
    196137        private static Payer InitPayer(int idFaktury) 
    197138        {