Exemple #1
0
        public void CheckPaymentStatus_TinkoffPaymentResultIsCorrect_ReturnedTinkoffPaymentResultNew()
        {
            //TinkoffPayment payment = new TinkoffPayment();

            TinkoffPayment.TinkoffPaymentOperationResult result = TinkoffPayment.CheckPaymentStatus(32449219);

            Assert.AreEqual(result.PaymentResult, TinkoffPaymentResult.InProgress);
        }
Exemple #2
0
        public void CheckPaymentStatus_TinkoffPaymentResultIsCorrect_ReturnedTinkoffPaymentResultSuccess()
        {
            //TinkoffPayment payment = new TinkoffPayment();

            TinkoffPayment.TinkoffPaymentOperationResult result = TinkoffPayment.CheckPaymentStatus(32446948);

            Assert.AreEqual(result.PaymentResult, TinkoffPaymentResult.Confirmed);
        }
Exemple #3
0
        public void CheckPaymentStatus_TinkoffPaymentResultIsCorrect_ReturnedTinkoffPaymentResultRejected()
        {
            //TinkoffPayment payment = new TinkoffPayment();

            TinkoffPayment.TinkoffPaymentOperationResult result = TinkoffPayment.CheckPaymentStatus(32447980);

            Assert.AreEqual(result.PaymentResult, TinkoffPaymentResult.Failure);
        }