Пример #1
0
        public void Tokenize_UsingCreditCard_ReturnsTokenInformation()
        {
            var tokenResponse = clearTextCredit.Verify()
                                .WithAddress(address)
                                .WithCustomerData(customer)
                                .WithRequestMultiUseToken(true)
                                .Execute();

            clearTextCredit.Token = tokenResponse.Token;
            var tokenInfoResponse = clearTextCredit.GetTokenInformation();

            Assert.IsNotNull(tokenInfoResponse);
            Assert.IsNotNull(tokenInfoResponse.TokenData);
        }