Esempio n. 1
0
        public static string Create3DSVerification(BraintreeService service, string merchantAccountId, ThreeDSecureRequestForTests request)
        {
            string      url      = "/three_d_secure/create_verification/" + merchantAccountId;
            NodeWrapper response = new NodeWrapper(service.Post(service.MerchantPath() + url, request));

            Assert.IsTrue(response.IsSuccess());
            return(response.GetString("three-d-secure-token"));
        }
Esempio n. 2
0
 public static string Create3DSVerification(BraintreeService service, string merchantAccountId, ThreeDSecureRequestForTests request)
 {
     string url = "/three_d_secure/create_verification/" + merchantAccountId;
     NodeWrapper response = new NodeWrapper(service.Post(service.MerchantPath() + url, request));
     Assert.IsTrue(response.IsSuccess());
     return response.GetString("three-d-secure-token");
 }