コード例 #1
0
        public bool VerifyCard(string authtoken,string cardnumber, int cvvNumber,DateTime dateOfExpiry)
        {
            bool flag = false;
            var dbcheck = new SDProject();

            string returnValue= dbcheck.SP_CheckAuthenticateTranscation(authtoken, cardnumber, cvvNumber, dateOfExpiry).FirstOrDefault();
            if (returnValue=="Passed")
            {
                flag = true;
            }
            return flag;
        }
コード例 #2
0
        public bool VerifyCard(string authtoken, string cardnumber, int cvvNumber, DateTime dateOfExpiry)
        {
            bool flag    = false;
            var  dbcheck = new SDProject();

            string returnValue = dbcheck.SP_CheckAuthenticateTranscation(authtoken, cardnumber, cvvNumber, dateOfExpiry).FirstOrDefault();

            if (returnValue == "Passed")
            {
                flag = true;
            }
            return(flag);
        }