private void PostCardDetails()
        {
            if (log.IsInfoEnabled) log.Info("Postcarddetails started");

            try
            {
                CardRequest request = new CardRequest
                {
                    Ac = this.TransactionContext.AC,
                    AcInfo = this.TransactionContext.ACInfo,
                    AID = this.TransactionContext.AID,
                    AppName = this.TransactionContext.AppName,
                    AuthNum = this.TransactionContext.AuthNum,
                    KioskTxnRefNum = this.TransactionContext.Id,
                    MerchantId = this.TransactionContext.MerchantID,
                    TerminalId = this.TransactionContext.TerminalID,
                    TSI = this.TransactionContext.TSI,
                    TVR = this.TransactionContext.TVR,
                    CardNumber = this.TransactionContext.CardNo
                };

                if (Boolean.Parse(ConfigurationManager.AppSettings["StandAloneMode"]))
                {
                    Thread.Sleep(1000);
                    this.TransactionContext.AppliedFee = 2.35;
                    if (log.IsInfoEnabled) log.InfoFormat("Post Card Details in Stimulation Mode : {0}", TransactionContext.Id);
                }
                else
                {
                    using (CardServiceClient client = new CardServiceClient())
                    {
                        int result = client.PostCardDetails(request);

                        if (result > 1)
                        {
                            if (log.IsInfoEnabled) log.InfoFormat("Card Details posted successfully for TxnRefnum : {0}", TransactionContext.Id);

                        }
                        else
                        {
                            if (log.IsInfoEnabled) log.InfoFormat("Card Details Posting failed for TxnRefnum : {0}", TransactionContext.Id);
                        }
                    }
                }
            }
            catch (Exception ex)
            {
                if (log.IsErrorEnabled) log.ErrorFormat("Error while Posting card details : {0}", ex.Message);
            }

            if (log.IsInfoEnabled) log.Info("Postcarddetails completed");
        }