public void CreateCardToken_Test() { dynamic response = _client.CreateCardToken(_card); Assert.NotNull(response); Assert.False(response.IsError); }
public void CreateCardToken_Test() { var response = _client.CreateCardToken(_card); Assert.IsNotNull(response); Assert.IsFalse(response.IsError); }
public void CreateCharge_Using_Token() { dynamic token = _client.CreateCardToken(_card); dynamic response = _client.CreateChargeWithToken(100M, token.Id); Assert.NotNull(response); Assert.False(response.IsError); Assert.True(response.Paid); }