5 posts / 0 new
Last post
vinmai4092
Java GitHub sample - Not Working

So I have imported this into eclipse and made all the changes for api secret, api key, and token to the file:

/firstapi-client/src/main/resources/META-INF/spring/core-rest-client-v2-context.xml

I will get Error Code 400 every time I run with Junit.

testMethod = doAuthorizePayment@FirstDataAPIClientV2Test, testException = org.springframework.web.client.HttpClientErrorException: 400 Bad Request, mergedContextConfiguration = [MergedContextConfiguration@34dea091 testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].

What am I missing here?


pramodrao2872
Re: Java GitHub sample - Not Working

Hi Vin,

Error Code of 400 - Bad request indicates that your request payload is incorrect. 

Please verify the request payload generated from Java.

Also, please pull the Spring context file from Payeezy github. The default settings has been modified to point them to CERT/SANDBOX region.

Once you resync this file from Payeezy github, please execute the Junit tests for all payment methods. 

FileName --> core-rest-client-v2-context.xml

FilePath --> https://github.com/payeezy/payeezy_direct_API/tree/master/payeezy_java/example/src/main/resources/META-INF/spring

Next Steps:

 

1) Please re-synch this file into your eclipse environment.

2) Execute Junit tests for authorize, payment and reversals to verify that Java sample works as expected.

3) Modify the core-rest-client-v2-context.xml file with your api keys created under MY APIS section and run JUnit tests.

 

Let us know if you have any questions.

 

Best Regards,

Payeezy Team


vinmai4092
Re: Java GitHub sample - Not Working

I followed your instructions.....Still does not work!!!

Here's the error that I get from mvn:

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building firstapi-client 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ firstapi-client ---
[INFO] Deleting C:\Solupay Documents\Payeezy\payeezy_direct_API-master\payeezy_java\example\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ firstapi-client ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ firstapi-client ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 16 source files to C:\Solupay Documents\Payeezy\payeezy_direct_API-master\payeezy_java\example\target\classes
[WARNING] /C:/Solupay Documents/Payeezy/payeezy_direct_API-master/payeezy_java/example/src/main/java/com/firstdata/firstapi/client/SystemSSLDefaultHttpClient.java: C:\Solupay Documents\Payeezy\payeezy_direct_API-master\payeezy_java\example\src\main\java\com\firstdata\firstapi\client\SystemSSLDefaultHttpClient.java uses or overrides a deprecated API.
[WARNING] /C:/Solupay Documents/Payeezy/payeezy_direct_API-master/payeezy_java/example/src/main/java/com/firstdata/firstapi/client/SystemSSLDefaultHttpClient.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ firstapi-client ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Solupay Documents\Payeezy\payeezy_direct_API-master\payeezy_java\example\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ firstapi-client ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 4 source files to C:\Solupay Documents\Payeezy\payeezy_direct_API-master\payeezy_java\example\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ firstapi-client ---
[INFO] Surefire report directory: C:\Solupay Documents\Payeezy\payeezy_direct_API-master\payeezy_java\example\target\surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.firstdata.firstapi.client.FirstDataAPIClientV2Test
log4j: reset attribute= "false".
log4j: Threshold ="null".
log4j: Level value for root is [DEBUG].
log4j: root level set to DEBUG
log4j: Class name: [org.apache.log4j.ConsoleAppender]
log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
log4j: Setting property [conversionPattern] to [%d{dd MMM yyyy HH:mm:ss} %5p %c{1} - %m%n].
log4j: Adding appender named [consoleAppender] to category [root].
10 Jul 2015 01:24:24 DEBUG SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class com.firstdata.firstapi.client.FirstDataAPIClientV2Test].
10 Jul 2015 01:24:24 DEBUG AbstractDelegatingSmartContextLoader - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@6333e208 declaringClass = 'com.firstdata.firstapi.client.FirstDataAPIClientV2Test', locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', inheritLocations = true, initializers = '{}', inheritInitializers = true, name = [null], contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
10 Jul 2015 01:24:24 DEBUG ContextLoaderUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [com.firstdata.firstapi.client.FirstDataAPIClientV2Test]
10 Jul 2015 01:24:24 DEBUG TestContextManager - @TestExecutionListeners is not present for class [class com.firstdata.firstapi.client.FirstDataAPIClientV2Test]: using defaults.
10 Jul 2015 01:24:24 INFO TestContextManager - Could not instantiate TestExecutionListener class [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their dependencies) available.
10 Jul 2015 01:24:24 INFO TestContextManager - Could not instantiate TestExecutionListener class [org.springframework.test.context.transaction.TransactionalTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their dependencies) available.
10 Jul 2015 01:24:24 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.FirstDataAPIClientV2Test]
10 Jul 2015 01:24:24 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.FirstDataAPIClientV2Test]
10 Jul 2015 01:24:24 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.FirstDataAPIClientV2Test]
10 Jul 2015 01:24:24 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.FirstDataAPIClientV2Test]
10 Jul 2015 01:24:24 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.FirstDataAPIClientV2Test]
10 Jul 2015 01:24:24 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.FirstDataAPIClientV2Test]
10 Jul 2015 01:24:24 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@55356db6 testClass = FirstDataAPIClientV2Test, testInstance = com.firstdata.firstapi.client.FirstDataAPIClientV2Test@26b5f36e, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:24 DEBUG AbstractDelegatingSmartContextLoader - Delegating to GenericXmlContextLoader to load context from [MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]].
10 Jul 2015 01:24:24 DEBUG AbstractGenericContextLoader - Loading ApplicationContext for merged context configuration [[MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:24 DEBUG StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
10 Jul 2015 01:24:24 DEBUG StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
10 Jul 2015 01:24:24 DEBUG StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
10 Jul 2015 01:24:24 INFO XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [META-INF/spring/core-rest-client-v2-context.xml]
10 Jul 2015 01:24:24 DEBUG DefaultDocumentLoader - Using JAXP provider [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl]
10 Jul 2015 01:24:24 DEBUG PluggableSchemaResolver - Loading schema mappings from [META-INF/spring.schemas]
10 Jul 2015 01:24:24 DEBUG PluggableSchemaResolver - Loaded schema mappings: {http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-3.2.xsd, http://www.springframework.org/schema/jee/spring-jee-3.2.xsd=org/springframework/ejb/config/spring-jee-3.2.xsd, http://www.springframework.org/schema/task/spring-task.xsd=org/springframework/scheduling/config/spring-task-3.2.xsd, http://www.springframework.org/schema/beans/spring-beans-3.1.xsd=org/springframework/beans/factory/xml/spring-beans-3.1.xsd, http://www.springframework.org/schema/cache/spring-cache.xsd=org/springframework/cache/config/spring-cache-3.2.xsd, http://www.springframework.org/schema/aop/spring-aop-3.0.xsd=org/springframework/aop/config/spring-aop-3.0.xsd, http://www.springframework.org/schema/task/spring-task-3.1.xsd=org/springframework/scheduling/config/spring-task-3.1.xsd, http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springframework.org/schema/tool/spring-tool-2.5.xsd=org/springframework/beans/factory/xml/spring-tool-2.5.xsd, http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-3.2.xsd, http://www.springframework.org/schema/jee/spring-jee-2.5.xsd=org/springframework/ejb/config/spring-jee-2.5.xsd, http://www.springframework.org/schema/tool/spring-tool-3.1.xsd=org/springframework/beans/factory/xml/spring-tool-3.1.xsd, http://www.springframework.org/schema/jee/spring-jee-3.1.xsd=org/springframework/ejb/config/spring-jee-3.1.xsd, http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-3.2.xsd, http://www.springframework.org/schema/context/spring-context-3.2.xsd=org/springframework/context/config/spring-context-3.2.xsd, http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd, http://www.springframework.org/schema/util/spring-util-3.2.xsd=org/springframework/beans/factory/xml/spring-util-3.2.xsd, http://www.springframework.org/schema/lang/spring-lang-3.2.xsd=org/springframework/scripting/config/spring-lang-3.2.xsd, http://www.springframework.org/schema/beans/spring-beans-3.0.xsd=org/springframework/beans/factory/xml/spring-beans-3.0.xsd, http://www.springframework.org/schema/cache/spring-cache-3.2.xsd=org/springframework/cache/config/spring-cache-3.2.xsd, http://www.springframework.org/schema/task/spring-task-3.0.xsd=org/springframework/scheduling/config/spring-task-3.0.xsd, http://www.springframework.org/schema/context/spring-context-2.5.xsd=org/springframework/context/config/spring-context-2.5.xsd, http://www.springframework.org/schema/tool/spring-tool-3.0.xsd=org/springframework/beans/factory/xml/spring-tool-3.0.xsd, http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-3.2.xsd, http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd, http://www.springframework.org/schema/util/spring-util-2.5.xsd=org/springframework/beans/factory/xml/spring-util-2.5.xsd, http://www.springframework.org/schema/lang/spring-lang-2.5.xsd=org/springframework/scripting/config/spring-lang-2.5.xsd, http://www.springframework.org/schema/aop/spring-aop-3.2.xsd=org/springframework/aop/config/spring-aop-3.2.xsd, http://www.springframework.org/schema/jee/spring-jee-3.0.xsd=org/springframework/ejb/config/spring-jee-3.0.xsd, http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd, http://www.springframework.org/schema/context/spring-context-3.1.xsd=org/springframework/context/config/spring-context-3.1.xsd, http://www.springframework.org/schema/util/spring-util-3.1.xsd=org/springframework/beans/factory/xml/spring-util-3.1.xsd, http://www.springframework.org/schema/lang/spring-lang-3.1.xsd=org/springframework/scripting/config/spring-lang-3.1.xsd, http://www.springframework.org/schema/cache/spring-cache-3.1.xsd=org/springframework/cache/config/spring-cache-3.1.xsd, http://www.springframework.org/schema/context/spring-context.xsd=org/springframework/context/config/spring-context-3.2.xsd, http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-3.2.xsd, http://www.springframework.org/schema/aop/spring-aop-2.5.xsd=org/springframework/aop/config/spring-aop-2.5.xsd, http://www.springframework.org/schema/beans/spring-beans-3.2.xsd=org/springframework/beans/factory/xml/spring-beans-3.2.xsd, http://www.springframework.org/schema/aop/spring-aop-3.1.xsd=org/springframework/aop/config/spring-aop-3.1.xsd, http://www.springframework.org/schema/task/spring-task-3.2.xsd=org/springframework/scheduling/config/spring-task-3.2.xsd, http://www.springframework.org/schema/context/spring-context-3.0.xsd=org/springframework/context/config/spring-context-3.0.xsd, http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-3.2.xsd, http://www.springframework.org/schema/util/spring-util-3.0.xsd=org/springframework/beans/factory/xml/spring-util-3.0.xsd, http://www.springframework.org/schema/lang/spring-lang-3.0.xsd=org/springframework/scripting/config/spring-lang-3.0.xsd, http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd, http://www.springframework.org/schema/tool/spring-tool-3.2.xsd=org/springframework/beans/factory/xml/spring-tool-3.2.xsd, http://www.springframework.org/schema/beans/spring-beans-2.5.xsd=org/springframework/beans/factory/xml/spring-beans-2.5.xsd}
10 Jul 2015 01:24:24 DEBUG PluggableSchemaResolver - Found XML schema [http://www.springframework.org/schema/beans/spring-beans-3.2.xsd] in classpath: org/springframework/beans/factory/xml/spring-beans-3.2.xsd
10 Jul 2015 01:24:25 DEBUG DefaultBeanDefinitionDocumentReader - Loading bean definitions
10 Jul 2015 01:24:25 DEBUG BeanDefinitionParserDelegate - Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.http.converter.xml.SourceHttpMessageConverter#e37df1c]
10 Jul 2015 01:24:25 DEBUG BeanDefinitionParserDelegate - Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.http.converter.FormHttpMessageConverter#2584b4e8]
10 Jul 2015 01:24:25 DEBUG BeanDefinitionParserDelegate - Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter#2b80fe96]
10 Jul 2015 01:24:25 DEBUG BeanDefinitionParserDelegate - Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.http.client.HttpComponentsClientHttpRequestFactory#21ca402a]
10 Jul 2015 01:24:25 DEBUG XmlBeanDefinitionReader - Loaded 2 bean definitions from location pattern [classpath:/META-INF/spring/core-rest-client-v2-context.xml]
10 Jul 2015 01:24:25 INFO GenericApplicationContext - Refreshing org.springframework.context.support.GenericApplicationContext@586c20e1: startup date [Fri Jul 10 01:24:25 CDT 2015]; root of context hierarchy
10 Jul 2015 01:24:25 DEBUG GenericApplicationContext - Bean factory for org.springframework.context.support.GenericApplicationContext@586c20e1: org.springframework.beans.factory.support.DefaultListableBeanFactory@7d20b1ee: defining beans [restTemplate,client,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor]; root of factory hierarchy
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' to allow for resolving potential circular references
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' to allow for resolving potential circular references
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor' to allow for resolving potential circular references
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' to allow for resolving potential circular references
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor' to allow for resolving potential circular references
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
10 Jul 2015 01:24:25 DEBUG GenericApplicationContext - Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@1143c2b6]
10 Jul 2015 01:24:25 DEBUG GenericApplicationContext - Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@1299d847]
10 Jul 2015 01:24:25 INFO DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7d20b1ee: defining beans [restTemplate,client,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating shared instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating instance of bean 'restTemplate'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Eagerly caching bean 'restTemplate' to allow for resolving potential circular references
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating instance of bean 'org.springframework.http.converter.xml.SourceHttpMessageConverter#e37df1c'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.http.converter.xml.SourceHttpMessageConverter#e37df1c'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating instance of bean 'org.springframework.http.converter.FormHttpMessageConverter#2584b4e8'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.http.converter.FormHttpMessageConverter#2584b4e8'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating instance of bean 'org.springframework.http.converter.json.MappingJacksonHttpMessageConverter#2b80fe96'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.http.converter.json.MappingJacksonHttpMessageConverter#2b80fe96'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating instance of bean 'org.springframework.http.client.HttpComponentsClientHttpRequestFactory#21ca402a'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.http.client.HttpComponentsClientHttpRequestFactory#21ca402a'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Finished creating instance of bean 'restTemplate'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating shared instance of singleton bean 'client'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Creating instance of bean 'client'
10 Jul 2015 01:24:25 DEBUG InjectionMetadata - Registered injected element on class [com.firstdata.firstapi.client.FirstAPIClientV2Helper]: AutowiredFieldElement for org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.FirstAPIClientV2Helper.restTemplate
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Eagerly caching bean 'client' to allow for resolving potential circular references
10 Jul 2015 01:24:25 DEBUG InjectionMetadata - Processing injected method of bean 'client': AutowiredFieldElement for org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.FirstAPIClientV2Helper.restTemplate
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:25 DEBUG AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'client' to bean named 'restTemplate'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Finished creating instance of bean 'client'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
10 Jul 2015 01:24:25 DEBUG GenericApplicationContext - Unable to locate LifecycleProcessor with name 'lifecycleProcessor': using default [org.springframework.context.support.DefaultLifecycleProcessor@409e3341]
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'lifecycleProcessor'
10 Jul 2015 01:24:25 DEBUG PropertySourcesPropertyResolver - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemProperties]
10 Jul 2015 01:24:25 DEBUG PropertySourcesPropertyResolver - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemEnvironment]
10 Jul 2015 01:24:25 DEBUG PropertySourcesPropertyResolver - Could not find key 'spring.liveBeansView.mbeanDomain' in any property source. Returning [null]
10 Jul 2015 01:24:25 DEBUG CacheAwareContextLoaderDelegate - Storing ApplicationContext in cache under key [[MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:25 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.FirstDataAPIClientV2Test': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.FirstDataAPIClientV2Test.restTemplate
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:25 DEBUG AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'com.firstdata.firstapi.client.FirstDataAPIClientV2Test' to bean named 'restTemplate'
10 Jul 2015 01:24:25 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.FirstDataAPIClientV2Test': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.FirstDataAPIClientV2Test.client
10 Jul 2015 01:24:25 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:25 DEBUG AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'com.firstdata.firstapi.client.FirstDataAPIClientV2Test' to bean named 'client'
10 Jul 2015 01:24:25 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:1000672109981725986
10 Jul 2015 01:24:25 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:25 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi10006721099817259861436509465691fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"PURCHASE","merchant_ref":null,"method":"credit_card","amount":"1100","currency_code":"USD","transaction_tag":null,"credit_card":{"type":"visa","cardholder_name":"Test data ","card_number":"4788250000028291","exp_date":"1219","cvv":"123"},"billing_address":{"name":null,"street":"sss","state_province":"NY","city":null,"country":"US","email":null,"zip_postal_code":"11747","phone":null},"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":null}
10 Jul 2015 01:24:25 INFO FirstAPIClientV2Helper - MacHAsh:[-94, 34, 124, 3, -105, -15, 92, 63, 24, 72, -112, 105, 112, 110, 42, 85, 15, 101, 58, -128, 51, -38, -75, -58, -88, -89, -101, -44, -104, -40, -83, -35]
10 Jul 2015 01:24:25 INFO FirstAPIClientV2Helper - Apache common value:a2227c0397f15c3f18489069706e2a550f653a8033dab5c6a8a79bd498d8addd
10 Jul 2015 01:24:25 INFO FirstAPIClientV2Helper - Authorize: YTIyMjdjMDM5N2YxNWMzZjE4NDg5MDY5NzA2ZTJhNTUwZjY1M2E4MDMzZGFiNWM2YThhNzliZDQ5OGQ4YWRkZA==
10 Jul 2015 01:24:25 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:25 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:25 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@68a678c3] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:25 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 0 of 5; total allocated: 0 of 100]
10 Jul 2015 01:24:25 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:26 DEBUG DefaultClientConnectionOperator - Connecting to api-cert.payeezy.com:443
10 Jul 2015 01:24:26 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:26 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:26 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:26 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:26 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:26 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:26 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:26 DEBUG wire - >> "timestamp: 1436509465691[\r][\n]"
10 Jul 2015 01:24:26 DEBUG wire - >> "Authorization: YTIyMjdjMDM5N2YxNWMzZjE4NDg5MDY5NzA2ZTJhNTUwZjY1M2E4MDMzZGFiNWM2YThhNzliZDQ5OGQ4YWRkZA==[\r][\n]"
10 Jul 2015 01:24:26 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:26 DEBUG wire - >> "nonce: 1000672109981725986[\r][\n]"
10 Jul 2015 01:24:26 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:26 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:26 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:26 DEBUG wire - >> "Content-Length: 477[\r][\n]"
10 Jul 2015 01:24:26 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:26 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:26 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:26 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:26 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:26 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:26 DEBUG headers - >> timestamp: 1436509465691
10 Jul 2015 01:24:26 DEBUG headers - >> Authorization: YTIyMjdjMDM5N2YxNWMzZjE4NDg5MDY5NzA2ZTJhNTUwZjY1M2E4MDMzZGFiNWM2YThhNzliZDQ5OGQ4YWRkZA==
10 Jul 2015 01:24:26 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:26 DEBUG headers - >> nonce: 1000672109981725986
10 Jul 2015 01:24:26 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:26 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:26 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:26 DEBUG headers - >> Content-Length: 477
10 Jul 2015 01:24:26 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:26 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:26 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:26 DEBUG wire - >> "{"transaction_type":"PURCHASE","merchant_ref":null,"method":"credit_card","amount":"1100","currency_code":"USD","transaction_tag":null,"credit_card":{"type":"visa","cardholder_name":"Test data ","card_number":"4788250000028291","exp_date":"1219","cvv":"123"},"billing_address":{"name":null,"street":"sss","state_province":"NY","city":null,"country":"US","email":null,"zip_postal_code":"11747","phone":null},"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":null}"
10 Jul 2015 01:24:27 DEBUG wire - << "HTTP/1.1 201 Created[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - << "Access-Control-Allow-Headers: Content-Type, apikey, token[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - << "Access-Control-Allow-Methods: GET, PUT, POST, DELETE[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - << "Access-Control-Allow-Origin: http://localhost:8080[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - << "Access-Control-Max-Age: 3628800[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - << "Access-Control-Request-Headers: origin, x-requested-with, accept, content-type[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - << "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:27 GMT[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - << "OPTR_CXT: 01000100001c5d86d2-ca4a-4f27-b1b6-9b0dc3c1547900000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - << "X-Backside-Transport: OK OK,OK OK[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - << "X-Client-IP: 10.191.25.124,107.23.55.229[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - << "Content-Length: 545[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:27 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 201 Created
10 Jul 2015 01:24:27 DEBUG headers - << HTTP/1.1 201 Created
10 Jul 2015 01:24:27 DEBUG headers - << Access-Control-Allow-Headers: Content-Type, apikey, token
10 Jul 2015 01:24:27 DEBUG headers - << Access-Control-Allow-Methods: GET, PUT, POST, DELETE
10 Jul 2015 01:24:27 DEBUG headers - << Access-Control-Allow-Origin: http://localhost:8080
10 Jul 2015 01:24:27 DEBUG headers - << Access-Control-Max-Age: 3628800
10 Jul 2015 01:24:27 DEBUG headers - << Access-Control-Request-Headers: origin, x-requested-with, accept, content-type
10 Jul 2015 01:24:27 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:27 DEBUG headers - << Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:27 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:27 GMT
10 Jul 2015 01:24:27 DEBUG headers - << OPTR_CXT: 01000100001c5d86d2-ca4a-4f27-b1b6-9b0dc3c1547900000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:27 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:27 DEBUG headers - << X-Backside-Transport: OK OK,OK OK
10 Jul 2015 01:24:27 DEBUG headers - << X-Client-IP: 10.191.25.124,107.23.55.229
10 Jul 2015 01:24:27 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:27 DEBUG headers - << Content-Length: 545
10 Jul 2015 01:24:27 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:27 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:27 DEBUG RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 201 (Created)
10 Jul 2015 01:24:27 DEBUG RestTemplate - Reading [class com.firstdata.firstapi.client.domain.v2.TransactionResponse] as "application/json;charset=UTF-8" using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:27 DEBUG wire - << "{"correlation_id":"228.1436509467823","transaction_status":"approved","validation_status":"success","transaction_type":"purchase","transaction_id":"ET107580","transaction_tag":"56677028","method":"credit_card","amount":"1100","currency":"USD","avs":"S","cvv2":"M","token":{"token_type":"FDToken","token_data":{"value":"2324261135948291"}},"card":{"type":"visa","cardholder_name":"Test data ","card_number":"8291","exp_date":"1219"},"bank_resp_code":"100","bank_message":"Approved","gateway_resp_code":"00","gateway_message":"Transaction Normal"}"
10 Jul 2015 01:24:27 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:27 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:27 INFO FirstDataAPIClientV2Test - Transaction Tag:56677028 Transaction id:ET107580
10 Jul 2015 01:24:27 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:1528418529026154693
10 Jul 2015 01:24:27 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:27 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi15284185290261546931436509467576fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"VOID","merchant_ref":null,"method":"credit_card","amount":"1100","currency_code":"USD","transaction_tag":"56677028","credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":null}
10 Jul 2015 01:24:27 INFO FirstAPIClientV2Helper - MacHAsh:[2, 61, 126, -119, -112, -23, 68, -90, -70, 18, -24, -40, 111, 24, 77, -108, -72, 90, 37, 8, -119, 23, -10, 83, 37, 8, -18, -119, -63, 19, 14, -92]
10 Jul 2015 01:24:27 INFO FirstAPIClientV2Helper - Apache common value:023d7e8990e944a6ba12e8d86f184d94b85a25088917f6532508ee89c1130ea4
10 Jul 2015 01:24:27 INFO FirstAPIClientV2Helper - Authorize: MDIzZDdlODk5MGU5NDRhNmJhMTJlOGQ4NmYxODRkOTRiODVhMjUwODg5MTdmNjUzMjUwOGVlODljMTEzMGVhNA==
10 Jul 2015 01:24:27 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions/ET107580"
10 Jul 2015 01:24:27 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:27 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@106f138e] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:27 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:27 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:27 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:27 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:27 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:27 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:27 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:27 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions/ET107580 HTTP/1.1
10 Jul 2015 01:24:27 DEBUG wire - >> "POST /v1/transactions/ET107580 HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - >> "timestamp: 1436509467576[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - >> "Authorization: MDIzZDdlODk5MGU5NDRhNmJhMTJlOGQ4NmYxODRkOTRiODVhMjUwODg5MTdmNjUzMjUwOGVlODljMTEzMGVhNA==[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - >> "nonce: 1528418529026154693[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - >> "Content-Length: 249[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:27 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:27 DEBUG headers - >> POST /v1/transactions/ET107580 HTTP/1.1
10 Jul 2015 01:24:27 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:27 DEBUG headers - >> timestamp: 1436509467576
10 Jul 2015 01:24:27 DEBUG headers - >> Authorization: MDIzZDdlODk5MGU5NDRhNmJhMTJlOGQ4NmYxODRkOTRiODVhMjUwODg5MTdmNjUzMjUwOGVlODljMTEzMGVhNA==
10 Jul 2015 01:24:27 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:27 DEBUG headers - >> nonce: 1528418529026154693
10 Jul 2015 01:24:27 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:27 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:27 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:27 DEBUG headers - >> Content-Length: 249
10 Jul 2015 01:24:27 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:27 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:27 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:27 DEBUG wire - >> "{"transaction_type":"VOID","merchant_ref":null,"method":"credit_card","amount":"1100","currency_code":"USD","transaction_tag":"56677028","credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":null}"
10 Jul 2015 01:24:28 DEBUG wire - << "HTTP/1.1 201 Created[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:28 GMT[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "OPTR_CXT: 010001000074f1fc36-c83a-4f85-b82a-c48de657514f00000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "X-Backside-Transport: OK OK,OK OK[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "X-Client-IP: 10.191.25.124,54.236.202.5[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "Content-Length: 438[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:28 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 201 Created
10 Jul 2015 01:24:28 DEBUG headers - << HTTP/1.1 201 Created
10 Jul 2015 01:24:28 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:28 DEBUG headers - << Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:28 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:28 GMT
10 Jul 2015 01:24:28 DEBUG headers - << OPTR_CXT: 010001000074f1fc36-c83a-4f85-b82a-c48de657514f00000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:28 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:28 DEBUG headers - << X-Backside-Transport: OK OK,OK OK
10 Jul 2015 01:24:28 DEBUG headers - << X-Client-IP: 10.191.25.124,54.236.202.5
10 Jul 2015 01:24:28 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:28 DEBUG headers - << Content-Length: 438
10 Jul 2015 01:24:28 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:28 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:28 DEBUG RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions/ET107580" resulted in 201 (Created)
10 Jul 2015 01:24:28 DEBUG RestTemplate - Reading [class com.firstdata.firstapi.client.domain.v2.TransactionResponse] as "application/json;charset=UTF-8" using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:28 DEBUG wire - << "{"correlation_id":"228.1436509468594","transaction_status":"approved","validation_status":"success","transaction_type":"void","transaction_id":"ET183213","transaction_tag":"56677031","method":"credit_card","amount":"1100","currency":"USD","cvv2":"I","token":{"token_type":"FDToken","token_data":{"value":"2324261135948291"}},"bank_resp_code":"100","bank_message":"Approved","gateway_resp_code":"00","gateway_message":"Transaction Normal"}"
10 Jul 2015 01:24:28 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:28 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:28 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@55356db6 testClass = FirstDataAPIClientV2Test, testInstance = com.firstdata.firstapi.client.FirstDataAPIClientV2Test@26b5f36e, testMethod = doVoidPayment@FirstDataAPIClientV2Test, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:28 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.FirstDataAPIClientV2Test]
10 Jul 2015 01:24:28 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.FirstDataAPIClientV2Test]
10 Jul 2015 01:24:28 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@55356db6 testClass = FirstDataAPIClientV2Test, testInstance = com.firstdata.firstapi.client.FirstDataAPIClientV2Test@1ac7ff95, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:28 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:28 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.FirstDataAPIClientV2Test': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.FirstDataAPIClientV2Test.restTemplate
10 Jul 2015 01:24:28 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:28 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.FirstDataAPIClientV2Test': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.FirstDataAPIClientV2Test.client
10 Jul 2015 01:24:28 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:28 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:4527970059229889895
10 Jul 2015 01:24:28 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:28 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi45279700592298898951436509468215fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"PURCHASE","merchant_ref":null,"method":"credit_card","amount":"1100","currency_code":"USD","transaction_tag":null,"credit_card":{"type":"visa","cardholder_name":"Test data ","card_number":"4788250000028291","exp_date":"1219","cvv":"123"},"billing_address":{"name":null,"street":"sss","state_province":"NY","city":null,"country":"US","email":null,"zip_postal_code":"11747","phone":null},"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":null}
10 Jul 2015 01:24:28 INFO FirstAPIClientV2Helper - MacHAsh:[15, 68, 121, -91, 82, 31, 103, -58, 37, -5, -71, 13, -43, -83, -91, -13, 98, 9, -115, 122, -113, 53, 71, 39, -54, -108, 92, 7, -67, -111, 42, -9]
10 Jul 2015 01:24:28 INFO FirstAPIClientV2Helper - Apache common value:0f4479a5521f67c625fbb90dd5ada5f362098d7a8f354727ca945c07bd912af7
10 Jul 2015 01:24:28 INFO FirstAPIClientV2Helper - Authorize: MGY0NDc5YTU1MjFmNjdjNjI1ZmJiOTBkZDVhZGE1ZjM2MjA5OGQ3YThmMzU0NzI3Y2E5NDVjMDdiZDkxMmFmNw==
10 Jul 2015 01:24:28 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:28 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:28 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@405c9cef] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:28 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:28 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:28 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:28 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:28 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:28 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:28 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:28 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:28 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "timestamp: 1436509468215[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "Authorization: MGY0NDc5YTU1MjFmNjdjNjI1ZmJiOTBkZDVhZGE1ZjM2MjA5OGQ3YThmMzU0NzI3Y2E5NDVjMDdiZDkxMmFmNw==[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "nonce: 4527970059229889895[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "Content-Length: 477[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:28 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:28 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:28 DEBUG headers - >> timestamp: 1436509468215
10 Jul 2015 01:24:28 DEBUG headers - >> Authorization: MGY0NDc5YTU1MjFmNjdjNjI1ZmJiOTBkZDVhZGE1ZjM2MjA5OGQ3YThmMzU0NzI3Y2E5NDVjMDdiZDkxMmFmNw==
10 Jul 2015 01:24:28 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:28 DEBUG headers - >> nonce: 4527970059229889895
10 Jul 2015 01:24:28 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:28 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:28 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:28 DEBUG headers - >> Content-Length: 477
10 Jul 2015 01:24:28 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:28 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:28 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:28 DEBUG wire - >> "{"transaction_type":"PURCHASE","merchant_ref":null,"method":"credit_card","amount":"1100","currency_code":"USD","transaction_tag":null,"credit_card":{"type":"visa","cardholder_name":"Test data ","card_number":"4788250000028291","exp_date":"1219","cvv":"123"},"billing_address":{"name":null,"street":"sss","state_province":"NY","city":null,"country":"US","email":null,"zip_postal_code":"11747","phone":null},"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":null}"
10 Jul 2015 01:24:28 DEBUG wire - << "HTTP/1.1 201 Created[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "Access-Control-Allow-Headers: Content-Type, apikey, token[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "Access-Control-Allow-Methods: GET, PUT, POST, DELETE[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "Access-Control-Allow-Origin: http://localhost:8080[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "Access-Control-Max-Age: 3628800[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "Access-Control-Request-Headers: origin, x-requested-with, accept, content-type[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:27 GMT[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "OPTR_CXT: 0100010000a8b8f89e-8391-426d-ba0f-9f3f5cbda0cb00000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "X-Backside-Transport: OK OK,OK OK[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "X-Client-IP: 10.191.25.124,107.23.55.229[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "Content-Length: 545[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:28 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 201 Created
10 Jul 2015 01:24:28 DEBUG headers - << HTTP/1.1 201 Created
10 Jul 2015 01:24:28 DEBUG headers - << Access-Control-Allow-Headers: Content-Type, apikey, token
10 Jul 2015 01:24:28 DEBUG headers - << Access-Control-Allow-Methods: GET, PUT, POST, DELETE
10 Jul 2015 01:24:28 DEBUG headers - << Access-Control-Allow-Origin: http://localhost:8080
10 Jul 2015 01:24:28 DEBUG headers - << Access-Control-Max-Age: 3628800
10 Jul 2015 01:24:28 DEBUG headers - << Access-Control-Request-Headers: origin, x-requested-with, accept, content-type
10 Jul 2015 01:24:28 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:28 DEBUG headers - << Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:28 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:27 GMT
10 Jul 2015 01:24:28 DEBUG headers - << OPTR_CXT: 0100010000a8b8f89e-8391-426d-ba0f-9f3f5cbda0cb00000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:28 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:28 DEBUG headers - << X-Backside-Transport: OK OK,OK OK
10 Jul 2015 01:24:28 DEBUG headers - << X-Client-IP: 10.191.25.124,107.23.55.229
10 Jul 2015 01:24:28 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:28 DEBUG headers - << Content-Length: 545
10 Jul 2015 01:24:28 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:28 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:28 DEBUG RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 201 (Created)
10 Jul 2015 01:24:28 DEBUG RestTemplate - Reading [class com.firstdata.firstapi.client.domain.v2.TransactionResponse] as "application/json;charset=UTF-8" using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:28 DEBUG wire - << "{"correlation_id":"228.1436509469148","transaction_status":"approved","validation_status":"success","transaction_type":"purchase","transaction_id":"ET119441","transaction_tag":"56677034","method":"credit_card","amount":"1100","currency":"USD","avs":"S","cvv2":"M","token":{"token_type":"FDToken","token_data":{"value":"9008997552408291"}},"card":{"type":"visa","cardholder_name":"Test data ","card_number":"8291","exp_date":"1219"},"bank_resp_code":"100","bank_message":"Approved","gateway_resp_code":"00","gateway_message":"Transaction Normal"}"
10 Jul 2015 01:24:28 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:28 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:28 INFO FirstDataAPIClientV2Test - Transaction Tag:56677034 Transaction id:ET119441
10 Jul 2015 01:24:28 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@55356db6 testClass = FirstDataAPIClientV2Test, testInstance = com.firstdata.firstapi.client.FirstDataAPIClientV2Test@1ac7ff95, testMethod = doPurchase@FirstDataAPIClientV2Test, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:28 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.FirstDataAPIClientV2Test]
10 Jul 2015 01:24:28 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.FirstDataAPIClientV2Test]
10 Jul 2015 01:24:28 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@55356db6 testClass = FirstDataAPIClientV2Test, testInstance = com.firstdata.firstapi.client.FirstDataAPIClientV2Test@3aff2f16, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:28 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:28 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.FirstDataAPIClientV2Test': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.FirstDataAPIClientV2Test.restTemplate
10 Jul 2015 01:24:28 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:28 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.FirstDataAPIClientV2Test': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.FirstDataAPIClientV2Test.client
10 Jul 2015 01:24:28 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:28 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:6496130022350991505
10 Jul 2015 01:24:28 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:28 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi64961300223509915051436509468729fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"AUTHORIZE","merchant_ref":null,"method":"credit_card","amount":"1100","currency_code":"USD","transaction_tag":null,"credit_card":{"type":"visa","cardholder_name":"Test data ","card_number":"4788250000028291","exp_date":"1219","cvv":"123"},"billing_address":{"name":null,"street":"sss","state_province":"NY","city":null,"country":"US","email":null,"zip_postal_code":"11747","phone":null},"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":null}
10 Jul 2015 01:24:28 INFO FirstAPIClientV2Helper - MacHAsh:[56, -63, -57, 111, -13, -42, -28, -31, -12, -64, -46, 73, -120, 47, 96, 124, 15, 73, 24, -31, 101, 81, 116, -40, 74, 99, -85, 80, 18, -3, 45, 0]
10 Jul 2015 01:24:28 INFO FirstAPIClientV2Helper - Apache common value:38c1c76ff3d6e4e1f4c0d249882f607c0f4918e1655174d84a63ab5012fd2d00
10 Jul 2015 01:24:28 INFO FirstAPIClientV2Helper - Authorize: MzhjMWM3NmZmM2Q2ZTRlMWY0YzBkMjQ5ODgyZjYwN2MwZjQ5MThlMTY1NTE3NGQ4NGE2M2FiNTAxMmZkMmQwMA==
10 Jul 2015 01:24:28 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:28 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:28 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@476c6b9c] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:28 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:28 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:28 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:28 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:28 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:28 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:28 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:28 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:28 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "timestamp: 1436509468729[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "Authorization: MzhjMWM3NmZmM2Q2ZTRlMWY0YzBkMjQ5ODgyZjYwN2MwZjQ5MThlMTY1NTE3NGQ4NGE2M2FiNTAxMmZkMmQwMA==[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "nonce: 6496130022350991505[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "Content-Length: 478[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:28 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:28 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:28 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:28 DEBUG headers - >> timestamp: 1436509468729
10 Jul 2015 01:24:28 DEBUG headers - >> Authorization: MzhjMWM3NmZmM2Q2ZTRlMWY0YzBkMjQ5ODgyZjYwN2MwZjQ5MThlMTY1NTE3NGQ4NGE2M2FiNTAxMmZkMmQwMA==
10 Jul 2015 01:24:28 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:28 DEBUG headers - >> nonce: 6496130022350991505
10 Jul 2015 01:24:28 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:28 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:28 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:28 DEBUG headers - >> Content-Length: 478
10 Jul 2015 01:24:28 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:28 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:28 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:28 DEBUG wire - >> "{"transaction_type":"AUTHORIZE","merchant_ref":null,"method":"credit_card","amount":"1100","currency_code":"USD","transaction_tag":null,"credit_card":{"type":"visa","cardholder_name":"Test data ","card_number":"4788250000028291","exp_date":"1219","cvv":"123"},"billing_address":{"name":null,"street":"sss","state_province":"NY","city":null,"country":"US","email":null,"zip_postal_code":"11747","phone":null},"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":null}"
10 Jul 2015 01:24:29 DEBUG wire - << "HTTP/1.1 201 Created[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Access-Control-Allow-Headers: Content-Type, apikey, token[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Access-Control-Allow-Methods: GET, PUT, POST, DELETE[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Access-Control-Allow-Origin: http://localhost:8080[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Access-Control-Max-Age: 3628800[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Access-Control-Request-Headers: origin, x-requested-with, accept, content-type[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:29 GMT[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "OPTR_CXT: 010001000027ed160a-9e86-4213-bb49-28057aeee8ce00000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "X-Backside-Transport: OK OK,OK OK[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "X-Client-IP: 10.191.25.124,54.236.202.5[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Content-Length: 546[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:29 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 201 Created
10 Jul 2015 01:24:29 DEBUG headers - << HTTP/1.1 201 Created
10 Jul 2015 01:24:29 DEBUG headers - << Access-Control-Allow-Headers: Content-Type, apikey, token
10 Jul 2015 01:24:29 DEBUG headers - << Access-Control-Allow-Methods: GET, PUT, POST, DELETE
10 Jul 2015 01:24:29 DEBUG headers - << Access-Control-Allow-Origin: http://localhost:8080
10 Jul 2015 01:24:29 DEBUG headers - << Access-Control-Max-Age: 3628800
10 Jul 2015 01:24:29 DEBUG headers - << Access-Control-Request-Headers: origin, x-requested-with, accept, content-type
10 Jul 2015 01:24:29 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:29 DEBUG headers - << Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:29 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:29 GMT
10 Jul 2015 01:24:29 DEBUG headers - << OPTR_CXT: 010001000027ed160a-9e86-4213-bb49-28057aeee8ce00000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:29 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:29 DEBUG headers - << X-Backside-Transport: OK OK,OK OK
10 Jul 2015 01:24:29 DEBUG headers - << X-Client-IP: 10.191.25.124,54.236.202.5
10 Jul 2015 01:24:29 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:29 DEBUG headers - << Content-Length: 546
10 Jul 2015 01:24:29 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:29 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:29 DEBUG RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 201 (Created)
10 Jul 2015 01:24:29 DEBUG RestTemplate - Reading [class com.firstdata.firstapi.client.domain.v2.TransactionResponse] as "application/json;charset=UTF-8" using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:29 DEBUG wire - << "{"correlation_id":"228.1436509469662","transaction_status":"approved","validation_status":"success","transaction_type":"authorize","transaction_id":"ET110035","transaction_tag":"56677037","method":"credit_card","amount":"1100","currency":"USD","avs":"S","cvv2":"M","token":{"token_type":"FDToken","token_data":{"value":"7984093569028291"}},"card":{"type":"visa","cardholder_name":"Test data ","card_number":"8291","exp_date":"1219"},"bank_resp_code":"100","bank_message":"Approved","gateway_resp_code":"00","gateway_message":"Transaction Normal"}"
10 Jul 2015 01:24:29 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:29 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:29 INFO FirstDataAPIClientV2Test - Transaction Tag:56677037 Transaction id:ET110035
10 Jul 2015 01:24:29 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@55356db6 testClass = FirstDataAPIClientV2Test, testInstance = com.firstdata.firstapi.client.FirstDataAPIClientV2Test@3aff2f16, testMethod = doAuthorizePayment@FirstDataAPIClientV2Test, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:29 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.FirstDataAPIClientV2Test]
10 Jul 2015 01:24:29 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.FirstDataAPIClientV2Test]
10 Jul 2015 01:24:29 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@55356db6 testClass = FirstDataAPIClientV2Test, testInstance = com.firstdata.firstapi.client.FirstDataAPIClientV2Test@5afd566, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:29 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:29 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.FirstDataAPIClientV2Test': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.FirstDataAPIClientV2Test.restTemplate
10 Jul 2015 01:24:29 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:29 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.FirstDataAPIClientV2Test': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.FirstDataAPIClientV2Test.client
10 Jul 2015 01:24:29 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:29 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:8339553813370912885
10 Jul 2015 01:24:29 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:29 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi83395538133709128851436509469217fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"PURCHASE","merchant_ref":null,"method":"credit_card","amount":"1100","currency_code":"USD","transaction_tag":null,"credit_card":{"type":"visa","cardholder_name":"Test data ","card_number":"4788250000028291","exp_date":"1219","cvv":"123"},"billing_address":{"name":null,"street":"sss","state_province":"NY","city":null,"country":"US","email":null,"zip_postal_code":"11747","phone":null},"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":null}
10 Jul 2015 01:24:29 INFO FirstAPIClientV2Helper - MacHAsh:[-112, -49, 10, 95, 12, -77, 121, -40, -24, 13, -19, -75, 59, -115, -93, 4, -91, 77, 126, -93, -3, 7, -116, 15, 92, 33, 102, 5, -62, -69, 65, 15]
10 Jul 2015 01:24:29 INFO FirstAPIClientV2Helper - Apache common value:90cf0a5f0cb379d8e80dedb53b8da304a54d7ea3fd078c0f5c216605c2bb410f
10 Jul 2015 01:24:29 INFO FirstAPIClientV2Helper - Authorize: OTBjZjBhNWYwY2IzNzlkOGU4MGRlZGI1M2I4ZGEzMDRhNTRkN2VhM2ZkMDc4YzBmNWMyMTY2MDVjMmJiNDEwZg==
10 Jul 2015 01:24:29 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:29 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:29 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@5ae31e74] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:29 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:29 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:29 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:29 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:29 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:29 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:29 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:29 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:29 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "timestamp: 1436509469217[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "Authorization: OTBjZjBhNWYwY2IzNzlkOGU4MGRlZGI1M2I4ZGEzMDRhNTRkN2VhM2ZkMDc4YzBmNWMyMTY2MDVjMmJiNDEwZg==[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "nonce: 8339553813370912885[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "Content-Length: 477[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:29 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:29 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:29 DEBUG headers - >> timestamp: 1436509469217
10 Jul 2015 01:24:29 DEBUG headers - >> Authorization: OTBjZjBhNWYwY2IzNzlkOGU4MGRlZGI1M2I4ZGEzMDRhNTRkN2VhM2ZkMDc4YzBmNWMyMTY2MDVjMmJiNDEwZg==
10 Jul 2015 01:24:29 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:29 DEBUG headers - >> nonce: 8339553813370912885
10 Jul 2015 01:24:29 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:29 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:29 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:29 DEBUG headers - >> Content-Length: 477
10 Jul 2015 01:24:29 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:29 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:29 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:29 DEBUG wire - >> "{"transaction_type":"PURCHASE","merchant_ref":null,"method":"credit_card","amount":"1100","currency_code":"USD","transaction_tag":null,"credit_card":{"type":"visa","cardholder_name":"Test data ","card_number":"4788250000028291","exp_date":"1219","cvv":"123"},"billing_address":{"name":null,"street":"sss","state_province":"NY","city":null,"country":"US","email":null,"zip_postal_code":"11747","phone":null},"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":null}"
10 Jul 2015 01:24:29 DEBUG wire - << "HTTP/1.1 201 Created[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Access-Control-Allow-Headers: Content-Type, apikey, token[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Access-Control-Allow-Methods: GET, PUT, POST, DELETE[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Access-Control-Allow-Origin: http://localhost:8080[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Access-Control-Max-Age: 3628800[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Access-Control-Request-Headers: origin, x-requested-with, accept, content-type[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:29 GMT[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "OPTR_CXT: 01000100000caf5099-dfed-4f14-aae5-c013024f6f6c00000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "X-Backside-Transport: OK OK,OK OK[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "X-Client-IP: 10.191.25.124,107.23.55.229[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Content-Length: 545[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:29 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 201 Created
10 Jul 2015 01:24:29 DEBUG headers - << HTTP/1.1 201 Created
10 Jul 2015 01:24:29 DEBUG headers - << Access-Control-Allow-Headers: Content-Type, apikey, token
10 Jul 2015 01:24:29 DEBUG headers - << Access-Control-Allow-Methods: GET, PUT, POST, DELETE
10 Jul 2015 01:24:29 DEBUG headers - << Access-Control-Allow-Origin: http://localhost:8080
10 Jul 2015 01:24:29 DEBUG headers - << Access-Control-Max-Age: 3628800
10 Jul 2015 01:24:29 DEBUG headers - << Access-Control-Request-Headers: origin, x-requested-with, accept, content-type
10 Jul 2015 01:24:29 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:29 DEBUG headers - << Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:29 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:29 GMT
10 Jul 2015 01:24:29 DEBUG headers - << OPTR_CXT: 01000100000caf5099-dfed-4f14-aae5-c013024f6f6c00000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:29 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:29 DEBUG headers - << X-Backside-Transport: OK OK,OK OK
10 Jul 2015 01:24:29 DEBUG headers - << X-Client-IP: 10.191.25.124,107.23.55.229
10 Jul 2015 01:24:29 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:29 DEBUG headers - << Content-Length: 545
10 Jul 2015 01:24:29 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:29 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:29 DEBUG RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 201 (Created)
10 Jul 2015 01:24:29 DEBUG RestTemplate - Reading [class com.firstdata.firstapi.client.domain.v2.TransactionResponse] as "application/json;charset=UTF-8" using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:29 DEBUG wire - << "{"correlation_id":"228.1436509470157","transaction_status":"approved","validation_status":"success","transaction_type":"purchase","transaction_id":"ET112131","transaction_tag":"56677040","method":"credit_card","amount":"1100","currency":"USD","avs":"S","cvv2":"M","token":{"token_type":"FDToken","token_data":{"value":"7404745999988291"}},"card":{"type":"visa","cardholder_name":"Test data ","card_number":"8291","exp_date":"1219"},"bank_resp_code":"100","bank_message":"Approved","gateway_resp_code":"00","gateway_message":"Transaction Normal"}"
10 Jul 2015 01:24:29 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:29 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:29 INFO FirstDataAPIClientV2Test - Transaction Tag:56677040 Transaction id:ET112131
10 Jul 2015 01:24:29 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:4335636875512839668
10 Jul 2015 01:24:29 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:29 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi43356368755128396681436509469634fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"REFUND","merchant_ref":null,"method":"credit_card","amount":"1100","currency_code":"USD","transaction_tag":"56677040","credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":null}
10 Jul 2015 01:24:29 INFO FirstAPIClientV2Helper - MacHAsh:[31, 42, 46, -111, -84, -1, 109, -103, -24, 106, 59, -12, 99, -78, -57, -12, -103, 62, 91, 55, -11, -54, -73, -112, 48, -122, -92, -127, 95, 16, 75, 114]
10 Jul 2015 01:24:29 INFO FirstAPIClientV2Helper - Apache common value:1f2a2e91acff6d99e86a3bf463b2c7f4993e5b37f5cab7903086a4815f104b72
10 Jul 2015 01:24:29 INFO FirstAPIClientV2Helper - Authorize: MWYyYTJlOTFhY2ZmNmQ5OWU4NmEzYmY0NjNiMmM3ZjQ5OTNlNWIzN2Y1Y2FiNzkwMzA4NmE0ODE1ZjEwNGI3Mg==
10 Jul 2015 01:24:29 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions/ET112131"
10 Jul 2015 01:24:29 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:29 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@74e48049] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:29 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:29 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:29 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:29 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:29 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:29 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:29 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:29 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions/ET112131 HTTP/1.1
10 Jul 2015 01:24:29 DEBUG wire - >> "POST /v1/transactions/ET112131 HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "timestamp: 1436509469634[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "Authorization: MWYyYTJlOTFhY2ZmNmQ5OWU4NmEzYmY0NjNiMmM3ZjQ5OTNlNWIzN2Y1Y2FiNzkwMzA4NmE0ODE1ZjEwNGI3Mg==[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "nonce: 4335636875512839668[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "Content-Length: 251[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:29 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:29 DEBUG headers - >> POST /v1/transactions/ET112131 HTTP/1.1
10 Jul 2015 01:24:29 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:29 DEBUG headers - >> timestamp: 1436509469634
10 Jul 2015 01:24:29 DEBUG headers - >> Authorization: MWYyYTJlOTFhY2ZmNmQ5OWU4NmEzYmY0NjNiMmM3ZjQ5OTNlNWIzN2Y1Y2FiNzkwMzA4NmE0ODE1ZjEwNGI3Mg==
10 Jul 2015 01:24:29 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:29 DEBUG headers - >> nonce: 4335636875512839668
10 Jul 2015 01:24:29 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:29 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:29 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:29 DEBUG headers - >> Content-Length: 251
10 Jul 2015 01:24:29 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:29 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:29 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:29 DEBUG wire - >> "{"transaction_type":"REFUND","merchant_ref":null,"method":"credit_card","amount":"1100","currency_code":"USD","transaction_tag":"56677040","credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":null}"
10 Jul 2015 01:24:30 DEBUG wire - << "HTTP/1.1 201 Created[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:29 GMT[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "OPTR_CXT: 01000100001062a376-fe42-4655-a5f2-67b1eed37a6c00000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "X-Backside-Transport: OK OK,OK OK[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "X-Client-IP: 10.191.25.124,54.236.202.5[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "Content-Length: 440[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:30 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 201 Created
10 Jul 2015 01:24:30 DEBUG headers - << HTTP/1.1 201 Created
10 Jul 2015 01:24:30 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:30 DEBUG headers - << Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:30 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:29 GMT
10 Jul 2015 01:24:30 DEBUG headers - << OPTR_CXT: 01000100001062a376-fe42-4655-a5f2-67b1eed37a6c00000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:30 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:30 DEBUG headers - << X-Backside-Transport: OK OK,OK OK
10 Jul 2015 01:24:30 DEBUG headers - << X-Client-IP: 10.191.25.124,54.236.202.5
10 Jul 2015 01:24:30 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:30 DEBUG headers - << Content-Length: 440
10 Jul 2015 01:24:30 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:30 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:30 DEBUG RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions/ET112131" resulted in 201 (Created)
10 Jul 2015 01:24:30 DEBUG RestTemplate - Reading [class com.firstdata.firstapi.client.domain.v2.TransactionResponse] as "application/json;charset=UTF-8" using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:30 DEBUG wire - << "{"correlation_id":"228.1436509470576","transaction_status":"approved","validation_status":"success","transaction_type":"refund","transaction_id":"56677046","transaction_tag":"56677046","method":"credit_card","amount":"1100","currency":"USD","cvv2":"I","token":{"token_type":"FDToken","token_data":{"value":"7404745999988291"}},"bank_resp_code":"100","bank_message":"Approved","gateway_resp_code":"00","gateway_message":"Transaction Normal"}"
10 Jul 2015 01:24:30 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:30 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:30 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@55356db6 testClass = FirstDataAPIClientV2Test, testInstance = com.firstdata.firstapi.client.FirstDataAPIClientV2Test@5afd566, testMethod = doRefundPayment@FirstDataAPIClientV2Test, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:30 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.FirstDataAPIClientV2Test]
10 Jul 2015 01:24:30 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.FirstDataAPIClientV2Test]
10 Jul 2015 01:24:30 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@55356db6 testClass = FirstDataAPIClientV2Test, testInstance = com.firstdata.firstapi.client.FirstDataAPIClientV2Test@45a27493, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:30 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:30 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.FirstDataAPIClientV2Test': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.FirstDataAPIClientV2Test.restTemplate
10 Jul 2015 01:24:30 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:30 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.FirstDataAPIClientV2Test': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.FirstDataAPIClientV2Test.client
10 Jul 2015 01:24:30 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:30 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:7177209651149922043
10 Jul 2015 01:24:30 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:30 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi71772096511499220431436509470142fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"AUTHORIZE","merchant_ref":null,"method":"credit_card","amount":"1100","currency_code":"USD","transaction_tag":null,"credit_card":{"type":"visa","cardholder_name":"Test data ","card_number":"4788250000028291","exp_date":"1219","cvv":"123"},"billing_address":{"name":null,"street":"sss","state_province":"NY","city":null,"country":"US","email":null,"zip_postal_code":"11747","phone":null},"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":null}
10 Jul 2015 01:24:30 INFO FirstAPIClientV2Helper - MacHAsh:[-96, 52, -17, -37, 59, 23, 6, 21, -3, 55, 91, -24, 46, -48, -85, 56, -66, 94, -71, 76, -41, -19, -98, -80, 55, -4, 114, 114, -84, -95, 1, 84]
10 Jul 2015 01:24:30 INFO FirstAPIClientV2Helper - Apache common value:a034efdb3b170615fd375be82ed0ab38be5eb94cd7ed9eb037fc7272aca10154
10 Jul 2015 01:24:30 INFO FirstAPIClientV2Helper - Authorize: YTAzNGVmZGIzYjE3MDYxNWZkMzc1YmU4MmVkMGFiMzhiZTVlYjk0Y2Q3ZWQ5ZWIwMzdmYzcyNzJhY2ExMDE1NA==
10 Jul 2015 01:24:30 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:30 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:30 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@2c93829c] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:30 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:30 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:30 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:30 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:30 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:30 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:30 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:30 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:30 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "timestamp: 1436509470142[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "Authorization: YTAzNGVmZGIzYjE3MDYxNWZkMzc1YmU4MmVkMGFiMzhiZTVlYjk0Y2Q3ZWQ5ZWIwMzdmYzcyNzJhY2ExMDE1NA==[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "nonce: 7177209651149922043[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "Content-Length: 478[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:30 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:30 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:30 DEBUG headers - >> timestamp: 1436509470142
10 Jul 2015 01:24:30 DEBUG headers - >> Authorization: YTAzNGVmZGIzYjE3MDYxNWZkMzc1YmU4MmVkMGFiMzhiZTVlYjk0Y2Q3ZWQ5ZWIwMzdmYzcyNzJhY2ExMDE1NA==
10 Jul 2015 01:24:30 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:30 DEBUG headers - >> nonce: 7177209651149922043
10 Jul 2015 01:24:30 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:30 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:30 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:30 DEBUG headers - >> Content-Length: 478
10 Jul 2015 01:24:30 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:30 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:30 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:30 DEBUG wire - >> "{"transaction_type":"AUTHORIZE","merchant_ref":null,"method":"credit_card","amount":"1100","currency_code":"USD","transaction_tag":null,"credit_card":{"type":"visa","cardholder_name":"Test data ","card_number":"4788250000028291","exp_date":"1219","cvv":"123"},"billing_address":{"name":null,"street":"sss","state_province":"NY","city":null,"country":"US","email":null,"zip_postal_code":"11747","phone":null},"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":null}"
10 Jul 2015 01:24:30 DEBUG wire - << "HTTP/1.1 201 Created[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "Access-Control-Allow-Headers: Content-Type, apikey, token[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "Access-Control-Allow-Methods: GET, PUT, POST, DELETE[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "Access-Control-Allow-Origin: http://localhost:8080[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "Access-Control-Max-Age: 3628800[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "Access-Control-Request-Headers: origin, x-requested-with, accept, content-type[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:29 GMT[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "OPTR_CXT: 0100010000ad3dff92-2944-47c7-abff-7a73cc3bcc2400000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "X-Backside-Transport: OK OK,OK OK[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "X-Client-IP: 10.191.25.124,107.23.55.229[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "Content-Length: 546[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:30 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 201 Created
10 Jul 2015 01:24:30 DEBUG headers - << HTTP/1.1 201 Created
10 Jul 2015 01:24:30 DEBUG headers - << Access-Control-Allow-Headers: Content-Type, apikey, token
10 Jul 2015 01:24:30 DEBUG headers - << Access-Control-Allow-Methods: GET, PUT, POST, DELETE
10 Jul 2015 01:24:30 DEBUG headers - << Access-Control-Allow-Origin: http://localhost:8080
10 Jul 2015 01:24:30 DEBUG headers - << Access-Control-Max-Age: 3628800
10 Jul 2015 01:24:30 DEBUG headers - << Access-Control-Request-Headers: origin, x-requested-with, accept, content-type
10 Jul 2015 01:24:30 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:30 DEBUG headers - << Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:30 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:29 GMT
10 Jul 2015 01:24:30 DEBUG headers - << OPTR_CXT: 0100010000ad3dff92-2944-47c7-abff-7a73cc3bcc2400000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:30 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:30 DEBUG headers - << X-Backside-Transport: OK OK,OK OK
10 Jul 2015 01:24:30 DEBUG headers - << X-Client-IP: 10.191.25.124,107.23.55.229
10 Jul 2015 01:24:30 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:30 DEBUG headers - << Content-Length: 546
10 Jul 2015 01:24:30 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:30 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:30 DEBUG RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 201 (Created)
10 Jul 2015 01:24:30 DEBUG RestTemplate - Reading [class com.firstdata.firstapi.client.domain.v2.TransactionResponse] as "application/json;charset=UTF-8" using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:30 DEBUG wire - << "{"correlation_id":"228.1436509471084","transaction_status":"approved","validation_status":"success","transaction_type":"authorize","transaction_id":"ET135261","transaction_tag":"56677049","method":"credit_card","amount":"1100","currency":"USD","avs":"S","cvv2":"M","token":{"token_type":"FDToken","token_data":{"value":"9899423307358291"}},"card":{"type":"visa","cardholder_name":"Test data ","card_number":"8291","exp_date":"1219"},"bank_resp_code":"100","bank_message":"Approved","gateway_resp_code":"00","gateway_message":"Transaction Normal"}"
10 Jul 2015 01:24:30 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:30 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:30 INFO FirstDataAPIClientV2Test - Transaction Tag:56677049 Transaction id:ET135261
10 Jul 2015 01:24:30 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:7610493744258129457
10 Jul 2015 01:24:30 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:30 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi76104937442581294571436509470757fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"CAPTURE","merchant_ref":null,"method":"credit_card","amount":"1100","currency_code":"USD","transaction_tag":"56677049","credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":null}
10 Jul 2015 01:24:30 INFO FirstAPIClientV2Helper - MacHAsh:[-36, 73, -84, -40, -10, 104, 61, -65, -56, -54, 103, 110, -51, -26, 90, 33, 32, 17, 20, -82, 110, -123, -99, 56, 38, -69, 48, 92, -117, 90, 41, -100]
10 Jul 2015 01:24:30 INFO FirstAPIClientV2Helper - Apache common value:dc49acd8f6683dbfc8ca676ecde65a21201114ae6e859d3826bb305c8b5a299c
10 Jul 2015 01:24:30 INFO FirstAPIClientV2Helper - Authorize: ZGM0OWFjZDhmNjY4M2RiZmM4Y2E2NzZlY2RlNjVhMjEyMDExMTRhZTZlODU5ZDM4MjZiYjMwNWM4YjVhMjk5Yw==
10 Jul 2015 01:24:30 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions/ET135261"
10 Jul 2015 01:24:30 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:30 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@56ba5854] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:30 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:30 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:30 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:30 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:30 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:30 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:30 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:30 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions/ET135261 HTTP/1.1
10 Jul 2015 01:24:30 DEBUG wire - >> "POST /v1/transactions/ET135261 HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "timestamp: 1436509470757[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "Authorization: ZGM0OWFjZDhmNjY4M2RiZmM4Y2E2NzZlY2RlNjVhMjEyMDExMTRhZTZlODU5ZDM4MjZiYjMwNWM4YjVhMjk5Yw==[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "nonce: 7610493744258129457[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "Content-Length: 252[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:30 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:30 DEBUG headers - >> POST /v1/transactions/ET135261 HTTP/1.1
10 Jul 2015 01:24:30 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:30 DEBUG headers - >> timestamp: 1436509470757
10 Jul 2015 01:24:30 DEBUG headers - >> Authorization: ZGM0OWFjZDhmNjY4M2RiZmM4Y2E2NzZlY2RlNjVhMjEyMDExMTRhZTZlODU5ZDM4MjZiYjMwNWM4YjVhMjk5Yw==
10 Jul 2015 01:24:30 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:30 DEBUG headers - >> nonce: 7610493744258129457
10 Jul 2015 01:24:30 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:30 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:30 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:30 DEBUG headers - >> Content-Length: 252
10 Jul 2015 01:24:30 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:30 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:30 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:30 DEBUG wire - >> "{"transaction_type":"CAPTURE","merchant_ref":null,"method":"credit_card","amount":"1100","currency_code":"USD","transaction_tag":"56677049","credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":null}"
10 Jul 2015 01:24:31 DEBUG wire - << "HTTP/1.1 201 Created[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:31 GMT[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "OPTR_CXT: 0100010000a2817cad-804c-4db5-a1aa-95f73d2d6eda00000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "X-Backside-Transport: OK OK,OK OK[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "X-Client-IP: 10.191.25.124,54.236.202.5[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Content-Length: 441[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:31 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 201 Created
10 Jul 2015 01:24:31 DEBUG headers - << HTTP/1.1 201 Created
10 Jul 2015 01:24:31 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:31 DEBUG headers - << Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:31 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:31 GMT
10 Jul 2015 01:24:31 DEBUG headers - << OPTR_CXT: 0100010000a2817cad-804c-4db5-a1aa-95f73d2d6eda00000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:31 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:31 DEBUG headers - << X-Backside-Transport: OK OK,OK OK
10 Jul 2015 01:24:31 DEBUG headers - << X-Client-IP: 10.191.25.124,54.236.202.5
10 Jul 2015 01:24:31 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:31 DEBUG headers - << Content-Length: 441
10 Jul 2015 01:24:31 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:31 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:31 DEBUG RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions/ET135261" resulted in 201 (Created)
10 Jul 2015 01:24:31 DEBUG RestTemplate - Reading [class com.firstdata.firstapi.client.domain.v2.TransactionResponse] as "application/json;charset=UTF-8" using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:31 DEBUG wire - << "{"correlation_id":"228.1436509471699","transaction_status":"approved","validation_status":"success","transaction_type":"capture","transaction_id":"ET149260","transaction_tag":"56677052","method":"credit_card","amount":"1100","currency":"USD","cvv2":"I","token":{"token_type":"FDToken","token_data":{"value":"9899423307358291"}},"bank_resp_code":"100","bank_message":"Approved","gateway_resp_code":"00","gateway_message":"Transaction Normal"}"
10 Jul 2015 01:24:31 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:31 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:31 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@55356db6 testClass = FirstDataAPIClientV2Test, testInstance = com.firstdata.firstapi.client.FirstDataAPIClientV2Test@45a27493, testMethod = doCapturePayment@FirstDataAPIClientV2Test, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:31 DEBUG DirtiesContextTestExecutionListener - After test class: context [[TestContext@55356db6 testClass = FirstDataAPIClientV2Test, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@7380ce9c testClass = FirstDataAPIClientV2Test, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], dirtiesContext [false].
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.554 sec
Running com.firstdata.firstapi.client.TeleCheckClientTest
10 Jul 2015 01:24:31 DEBUG SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class com.firstdata.firstapi.client.TeleCheckClientTest].
10 Jul 2015 01:24:31 DEBUG AbstractDelegatingSmartContextLoader - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@45c1f1eb declaringClass = 'com.firstdata.firstapi.client.AbstractClientTest', locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', inheritLocations = true, initializers = '{}', inheritInitializers = true, name = [null], contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
10 Jul 2015 01:24:31 DEBUG ContextLoaderUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [com.firstdata.firstapi.client.TeleCheckClientTest]
10 Jul 2015 01:24:31 DEBUG TestContextManager - @TestExecutionListeners is not present for class [class com.firstdata.firstapi.client.TeleCheckClientTest]: using defaults.
10 Jul 2015 01:24:31 INFO TestContextManager - Could not instantiate TestExecutionListener class [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their dependencies) available.
10 Jul 2015 01:24:31 INFO TestContextManager - Could not instantiate TestExecutionListener class [org.springframework.test.context.transaction.TransactionalTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their dependencies) available.
10 Jul 2015 01:24:31 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.TeleCheckClientTest]
10 Jul 2015 01:24:31 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.TeleCheckClientTest]
10 Jul 2015 01:24:31 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.TeleCheckClientTest]
10 Jul 2015 01:24:31 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.TeleCheckClientTest]
10 Jul 2015 01:24:31 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.TeleCheckClientTest]
10 Jul 2015 01:24:31 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.TeleCheckClientTest]
10 Jul 2015 01:24:31 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@3ff19f14 testClass = TeleCheckClientTest, testInstance = com.firstdata.firstapi.client.TeleCheckClientTest@1002fad8, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@33a2831e testClass = TeleCheckClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:31 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@33a2831e testClass = TeleCheckClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:31 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.TeleCheckClientTest': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.AbstractClientTest.restTemplate
10 Jul 2015 01:24:31 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:31 DEBUG AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'com.firstdata.firstapi.client.TeleCheckClientTest' to bean named 'restTemplate'
10 Jul 2015 01:24:31 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.TeleCheckClientTest': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.AbstractClientTest.client
10 Jul 2015 01:24:31 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:31 DEBUG AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'com.firstdata.firstapi.client.TeleCheckClientTest' to bean named 'client'
10 Jul 2015 01:24:31 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:6637744135860866099
10 Jul 2015 01:24:31 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:31 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi66377441358608660991436509471207fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"VOID","merchant_ref":"Telecheck_12345","method":"tele_check","amount":"3700","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":{"name":null,"street":"225 Liberty Street","state_province":"NY","city":"NYC","country":"US","email":null,"zip_postal_code":"10281","phone":null},"soft_descriptors":null,"3DS":null,"tele_check":{"accountholder_name":"Tom Eck","check_number":"0101","check_type":"P","account_number":"I7101874","routing_number":"BN1234567801234567890","customer_id_type":"0","customer_id_number":"TX10531769","client_email":"rajan.veeramani@firstdata.com","release_type":"X","gift_card_amount":"100","date_of_birth":"01012010","vip":"n","registration_number":"12345","registration_date":"01012014","clerk_id":"RVK_001","device_id":"jkhsdfjkhsk","micr":null},"valuelink":null}
10 Jul 2015 01:24:31 INFO FirstAPIClientV2Helper - MacHAsh:[-105, -40, -104, -40, 10, -21, -74, -46, -72, 119, 98, -57, 76, -27, -38, -60, -29, 120, -41, 26, 7, 86, -40, 15, 113, -36, 106, 6, -18, 3, -121, 11]
10 Jul 2015 01:24:31 INFO FirstAPIClientV2Helper - Apache common value:97d898d80aebb6d2b87762c74ce5dac4e378d71a0756d80f71dc6a06ee03870b
10 Jul 2015 01:24:31 INFO FirstAPIClientV2Helper - Authorize: OTdkODk4ZDgwYWViYjZkMmI4Nzc2MmM3NGNlNWRhYzRlMzc4ZDcxYTA3NTZkODBmNzFkYzZhMDZlZTAzODcwYg==
10 Jul 2015 01:24:31 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:31 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:31 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@10816b21] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:31 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:31 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:31 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:31 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:31 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:31 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:31 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:31 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:31 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "timestamp: 1436509471207[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Authorization: OTdkODk4ZDgwYWViYjZkMmI4Nzc2MmM3NGNlNWRhYzRlMzc4ZDcxYTA3NTZkODBmNzFkYzZhMDZlZTAzODcwYg==[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "nonce: 6637744135860866099[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Content-Length: 837[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:31 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:31 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:31 DEBUG headers - >> timestamp: 1436509471207
10 Jul 2015 01:24:31 DEBUG headers - >> Authorization: OTdkODk4ZDgwYWViYjZkMmI4Nzc2MmM3NGNlNWRhYzRlMzc4ZDcxYTA3NTZkODBmNzFkYzZhMDZlZTAzODcwYg==
10 Jul 2015 01:24:31 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:31 DEBUG headers - >> nonce: 6637744135860866099
10 Jul 2015 01:24:31 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:31 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:31 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:31 DEBUG headers - >> Content-Length: 837
10 Jul 2015 01:24:31 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:31 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:31 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:31 DEBUG wire - >> "{"transaction_type":"VOID","merchant_ref":"Telecheck_12345","method":"tele_check","amount":"3700","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":{"name":null,"street":"225 Liberty Street","state_province":"NY","city":"NYC","country":"US","email":null,"zip_postal_code":"10281","phone":null},"soft_descriptors":null,"3DS":null,"tele_check":{"accountholder_name":"Tom Eck","check_number":"0101","check_type":"P","account_number":"I7101874","routing_number":"BN1234567801234567890","customer_id_type":"0","customer_id_number":"TX10531769","client_email":"rajan.veeramani@firstdata.com","release_type":"X","gift_card_amount":"100","date_of_birth":"01012010","vip":"n","registration_number":"12345","registration_date":"01012014","clerk_id":"RVK_001","device_id":"jkhsdfjkhsk","micr":null},"valuelink":null}"
10 Jul 2015 01:24:31 DEBUG wire - << "HTTP/1.1 400 Bad Request[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:31 GMT[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "OPTR_CXT: 0100010000a4c93bd6-d040-4182-a687-cb6a0893506f00000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "X-Backside-Transport: FAIL FAIL,FAIL FAIL[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "X-Client-IP: 10.191.25.124,107.23.55.229[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Content-Length: 310[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:31 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:31 DEBUG headers - << HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:31 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:31 DEBUG headers - << Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:31 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:31 GMT
10 Jul 2015 01:24:31 DEBUG headers - << OPTR_CXT: 0100010000a4c93bd6-d040-4182-a687-cb6a0893506f00000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:31 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:31 DEBUG headers - << X-Backside-Transport: FAIL FAIL,FAIL FAIL
10 Jul 2015 01:24:31 DEBUG headers - << X-Client-IP: 10.191.25.124,107.23.55.229
10 Jul 2015 01:24:31 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:31 DEBUG headers - << Content-Length: 310
10 Jul 2015 01:24:31 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:31 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:31 WARN RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 400 (Bad Request); invoking error handler
10 Jul 2015 01:24:31 DEBUG wire - << "{"correlation_id":"228.1436509472149","Error":{"messages":[{"code":"invalid_auth_number","description":"Authorization Number should be provided as part of URL"}]},"transaction_status":"Not Processed","validation_status":"failed","transaction_type":"void","method":"tele_check","amount":"3700","currency":"USD"}"
10 Jul 2015 01:24:31 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:31 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:31 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@3ff19f14 testClass = TeleCheckClientTest, testInstance = com.firstdata.firstapi.client.TeleCheckClientTest@1002fad8, testMethod = doVoidTest@TeleCheckClientTest, testException = org.springframework.web.client.HttpClientErrorException: 400 Bad Request, mergedContextConfiguration = [MergedContextConfiguration@33a2831e testClass = TeleCheckClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:31 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.TeleCheckClientTest]
10 Jul 2015 01:24:31 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.TeleCheckClientTest]
10 Jul 2015 01:24:31 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@3ff19f14 testClass = TeleCheckClientTest, testInstance = com.firstdata.firstapi.client.TeleCheckClientTest@1483117a, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@33a2831e testClass = TeleCheckClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:31 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@33a2831e testClass = TeleCheckClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:31 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.TeleCheckClientTest': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.AbstractClientTest.restTemplate
10 Jul 2015 01:24:31 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:31 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.TeleCheckClientTest': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.AbstractClientTest.client
10 Jul 2015 01:24:31 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:31 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:4899966974304715454
10 Jul 2015 01:24:31 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:31 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi48999669743047154541436509471427fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"REFUND","merchant_ref":null,"method":"tele_check","amount":"3700","currency_code":"USD","transaction_tag":"1845156","credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":{"accountholder_name":null,"check_number":null,"check_type":null,"account_number":null,"routing_number":null,"customer_id_type":null,"customer_id_number":null,"client_email":null,"release_type":null,"gift_card_amount":null,"date_of_birth":null,"vip":null,"registration_number":null,"registration_date":null,"clerk_id":null,"device_id":null,"micr":null},"valuelink":null}
10 Jul 2015 01:24:31 INFO FirstAPIClientV2Helper - MacHAsh:[-2, 67, -74, 99, 55, -52, 107, 83, -37, 102, 13, 68, 84, 90, -110, 22, 74, 21, -37, -80, -23, 4, -115, -14, 117, 53, 91, -7, -2, -62, -110, 12]
10 Jul 2015 01:24:31 INFO FirstAPIClientV2Helper - Apache common value:fe43b66337cc6b53db660d44545a92164a15dbb0e9048df275355bf9fec2920c
10 Jul 2015 01:24:31 INFO FirstAPIClientV2Helper - Authorize: ZmU0M2I2NjMzN2NjNmI1M2RiNjYwZDQ0NTQ1YTkyMTY0YTE1ZGJiMGU5MDQ4ZGYyNzUzNTViZjlmZWMyOTIwYw==
10 Jul 2015 01:24:31 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:31 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:31 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@28f06b1b] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:31 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:31 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:31 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:31 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:31 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:31 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:31 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:31 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:31 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "timestamp: 1436509471427[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Authorization: ZmU0M2I2NjMzN2NjNmI1M2RiNjYwZDQ0NTQ1YTkyMTY0YTE1ZGJiMGU5MDQ4ZGYyNzUzNTViZjlmZWMyOTIwYw==[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "nonce: 4899966974304715454[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Content-Length: 597[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:31 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:31 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:31 DEBUG headers - >> timestamp: 1436509471427
10 Jul 2015 01:24:31 DEBUG headers - >> Authorization: ZmU0M2I2NjMzN2NjNmI1M2RiNjYwZDQ0NTQ1YTkyMTY0YTE1ZGJiMGU5MDQ4ZGYyNzUzNTViZjlmZWMyOTIwYw==
10 Jul 2015 01:24:31 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:31 DEBUG headers - >> nonce: 4899966974304715454
10 Jul 2015 01:24:31 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:31 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:31 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:31 DEBUG headers - >> Content-Length: 597
10 Jul 2015 01:24:31 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:31 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:31 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:31 DEBUG wire - >> "{"transaction_type":"REFUND","merchant_ref":null,"method":"tele_check","amount":"3700","currency_code":"USD","transaction_tag":"1845156","credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":{"accountholder_name":null,"check_number":null,"check_type":null,"account_number":null,"routing_number":null,"customer_id_type":null,"customer_id_number":null,"client_email":null,"release_type":null,"gift_card_amount":null,"date_of_birth":null,"vip":null,"registration_number":null,"registration_date":null,"clerk_id":null,"device_id":null,"micr":null},"valuelink":null}"
10 Jul 2015 01:24:31 DEBUG wire - << "HTTP/1.1 400 Bad Request[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:31 GMT[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "OPTR_CXT: 0100010000c90cdbe3-3c27-48f8-8baa-7a12289bd2c900000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "X-Backside-Transport: FAIL FAIL,FAIL FAIL[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "X-Client-IP: 10.191.25.124,54.236.202.5[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Content-Length: 629[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:31 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:31 DEBUG headers - << HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:31 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:31 DEBUG headers - << Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:31 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:31 GMT
10 Jul 2015 01:24:31 DEBUG headers - << OPTR_CXT: 0100010000c90cdbe3-3c27-48f8-8baa-7a12289bd2c900000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:31 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:31 DEBUG headers - << X-Backside-Transport: FAIL FAIL,FAIL FAIL
10 Jul 2015 01:24:31 DEBUG headers - << X-Client-IP: 10.191.25.124,54.236.202.5
10 Jul 2015 01:24:31 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:31 DEBUG headers - << Content-Length: 629
10 Jul 2015 01:24:31 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:31 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:31 WARN RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 400 (Bad Request); invoking error handler
10 Jul 2015 01:24:31 DEBUG wire - << "{"correlation_id":"228.1436509472391","Error":{"messages":[{"code":"missing_acctholder_name","description":"The Account holder name cannot be empty"},{"code":"missing_account_number","description":"The Account Number cannot be empty"},{"code":"missing_check_Type","description":"The Check Type cannot be empty"},{"code":"missing_check_number","description":"The Check Number cannot be empty"},{"code":"missing_routing_number","description":"The Routing Number cannot be empty"}]},"transaction_status":"Not Processed","validation_status":"failed","transaction_type":"refund","method":"tele_check","amount":"3700","currency":"USD"}"
10 Jul 2015 01:24:31 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:31 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:31 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@3ff19f14 testClass = TeleCheckClientTest, testInstance = com.firstdata.firstapi.client.TeleCheckClientTest@1483117a, testMethod = doTaggedRefundTest@TeleCheckClientTest, testException = org.springframework.web.client.HttpClientErrorException: 400 Bad Request, mergedContextConfiguration = [MergedContextConfiguration@33a2831e testClass = TeleCheckClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:31 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.TeleCheckClientTest]
10 Jul 2015 01:24:31 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.TeleCheckClientTest]
10 Jul 2015 01:24:31 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@3ff19f14 testClass = TeleCheckClientTest, testInstance = com.firstdata.firstapi.client.TeleCheckClientTest@5b0033e6, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@33a2831e testClass = TeleCheckClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:31 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@33a2831e testClass = TeleCheckClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:31 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.TeleCheckClientTest': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.AbstractClientTest.restTemplate
10 Jul 2015 01:24:31 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:31 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.TeleCheckClientTest': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.AbstractClientTest.client
10 Jul 2015 01:24:31 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:31 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:6095750918790923251
10 Jul 2015 01:24:31 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:31 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi60957509187909232511436509471689fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"VOID","merchant_ref":null,"method":"tele_check","amount":"3700","currency_code":"USD","transaction_tag":"1846059","credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":{"accountholder_name":null,"check_number":null,"check_type":null,"account_number":null,"routing_number":null,"customer_id_type":null,"customer_id_number":null,"client_email":null,"release_type":null,"gift_card_amount":null,"date_of_birth":null,"vip":null,"registration_number":null,"registration_date":null,"clerk_id":null,"device_id":null,"micr":null},"valuelink":null}
10 Jul 2015 01:24:31 INFO FirstAPIClientV2Helper - MacHAsh:[-41, 103, 70, -40, 16, -40, 27, -29, 99, -104, -31, 50, -74, 58, 26, 97, 117, 62, 17, -58, 119, 114, -12, -21, 15, 12, -93, 98, 40, 66, -57, 109]
10 Jul 2015 01:24:31 INFO FirstAPIClientV2Helper - Apache common value:d76746d810d81be36398e132b63a1a61753e11c67772f4eb0f0ca3622842c76d
10 Jul 2015 01:24:31 INFO FirstAPIClientV2Helper - Authorize: ZDc2NzQ2ZDgxMGQ4MWJlMzYzOThlMTMyYjYzYTFhNjE3NTNlMTFjNjc3NzJmNGViMGYwY2EzNjIyODQyYzc2ZA==
10 Jul 2015 01:24:31 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:31 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:31 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@6a4f6fb6] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:31 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:31 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:31 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:31 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:31 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:31 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:31 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:31 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:31 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "timestamp: 1436509471689[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Authorization: ZDc2NzQ2ZDgxMGQ4MWJlMzYzOThlMTMyYjYzYTFhNjE3NTNlMTFjNjc3NzJmNGViMGYwY2EzNjIyODQyYzc2ZA==[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "nonce: 6095750918790923251[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Content-Length: 595[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:31 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:31 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:31 DEBUG headers - >> timestamp: 1436509471689
10 Jul 2015 01:24:31 DEBUG headers - >> Authorization: ZDc2NzQ2ZDgxMGQ4MWJlMzYzOThlMTMyYjYzYTFhNjE3NTNlMTFjNjc3NzJmNGViMGYwY2EzNjIyODQyYzc2ZA==
10 Jul 2015 01:24:31 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:31 DEBUG headers - >> nonce: 6095750918790923251
10 Jul 2015 01:24:31 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:31 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:31 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:31 DEBUG headers - >> Content-Length: 595
10 Jul 2015 01:24:31 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:31 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:31 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:31 DEBUG wire - >> "{"transaction_type":"VOID","merchant_ref":null,"method":"tele_check","amount":"3700","currency_code":"USD","transaction_tag":"1846059","credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":{"accountholder_name":null,"check_number":null,"check_type":null,"account_number":null,"routing_number":null,"customer_id_type":null,"customer_id_number":null,"client_email":null,"release_type":null,"gift_card_amount":null,"date_of_birth":null,"vip":null,"registration_number":null,"registration_date":null,"clerk_id":null,"device_id":null,"micr":null},"valuelink":null}"
10 Jul 2015 01:24:31 DEBUG wire - << "HTTP/1.1 400 Bad Request[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:31 GMT[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "OPTR_CXT: 01000100000f7146ce-028a-4662-ab0e-890fad0add5600000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "X-Backside-Transport: FAIL FAIL,FAIL FAIL[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "X-Client-IP: 10.191.25.124,107.23.55.229[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Content-Length: 627[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:31 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:31 DEBUG headers - << HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:31 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:31 DEBUG headers - << Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:31 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:31 GMT
10 Jul 2015 01:24:31 DEBUG headers - << OPTR_CXT: 01000100000f7146ce-028a-4662-ab0e-890fad0add5600000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:31 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:31 DEBUG headers - << X-Backside-Transport: FAIL FAIL,FAIL FAIL
10 Jul 2015 01:24:31 DEBUG headers - << X-Client-IP: 10.191.25.124,107.23.55.229
10 Jul 2015 01:24:31 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:31 DEBUG headers - << Content-Length: 627
10 Jul 2015 01:24:31 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:31 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:31 WARN RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 400 (Bad Request); invoking error handler
10 Jul 2015 01:24:31 DEBUG wire - << "{"correlation_id":"228.1436509472646","Error":{"messages":[{"code":"missing_account_number","description":"The Account Number cannot be empty"},{"code":"missing_check_Type","description":"The Check Type cannot be empty"},{"code":"missing_check_number","description":"The Check Number cannot be empty"},{"code":"missing_routing_number","description":"The Routing Number cannot be empty"},{"code":"missing_acctholder_name","description":"The Account holder name cannot be empty"}]},"transaction_status":"Not Processed","validation_status":"failed","transaction_type":"void","method":"tele_check","amount":"3700","currency":"USD"}"
10 Jul 2015 01:24:31 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:31 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:31 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@3ff19f14 testClass = TeleCheckClientTest, testInstance = com.firstdata.firstapi.client.TeleCheckClientTest@5b0033e6, testMethod = doTaggedVoidTest@TeleCheckClientTest, testException = org.springframework.web.client.HttpClientErrorException: 400 Bad Request, mergedContextConfiguration = [MergedContextConfiguration@33a2831e testClass = TeleCheckClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:31 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.TeleCheckClientTest]
10 Jul 2015 01:24:31 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.TeleCheckClientTest]
10 Jul 2015 01:24:31 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@3ff19f14 testClass = TeleCheckClientTest, testInstance = com.firstdata.firstapi.client.TeleCheckClientTest@6437420f, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@33a2831e testClass = TeleCheckClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:31 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@33a2831e testClass = TeleCheckClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:31 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.TeleCheckClientTest': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.AbstractClientTest.restTemplate
10 Jul 2015 01:24:31 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:31 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.TeleCheckClientTest': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.AbstractClientTest.client
10 Jul 2015 01:24:31 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:31 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:7869475553344042018
10 Jul 2015 01:24:31 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:31 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi78694755533440420181436509471884fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"PURCHASE","merchant_ref":"Telecheck_12345","method":"tele_check","amount":"3700","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":{"name":null,"street":"225 Liberty Street","state_province":"NY","city":"NYC","country":"US","email":null,"zip_postal_code":"10281","phone":null},"soft_descriptors":null,"3DS":null,"tele_check":{"accountholder_name":"Tom Eck","check_number":"0101","check_type":"P","account_number":"I7101874","routing_number":"BN1234567801234567890","customer_id_type":"0","customer_id_number":"TX10531769","client_email":"rajan.veeramani@firstdata.com","release_type":"X","gift_card_amount":"100","date_of_birth":"01012010","vip":"n","registration_number":"12345","registration_date":"01012014","clerk_id":"RVK_001","device_id":"jkhsdfjkhsk","micr":null},"valuelink":null}
10 Jul 2015 01:24:31 INFO FirstAPIClientV2Helper - MacHAsh:[58, 115, -124, 6, 96, -61, 89, -109, 63, 55, -69, -112, -72, 71, 27, -85, 8, -77, -72, 11, 63, 38, -56, -27, 100, 22, -123, -69, 58, 4, -20, 104]
10 Jul 2015 01:24:31 INFO FirstAPIClientV2Helper - Apache common value:3a73840660c359933f37bb90b8471bab08b3b80b3f26c8e5641685bb3a04ec68
10 Jul 2015 01:24:31 INFO FirstAPIClientV2Helper - Authorize: M2E3Mzg0MDY2MGMzNTk5MzNmMzdiYjkwYjg0NzFiYWIwOGIzYjgwYjNmMjZjOGU1NjQxNjg1YmIzYTA0ZWM2OA==
10 Jul 2015 01:24:31 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:31 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:31 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@37ab5297] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:31 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:31 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:31 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:31 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:31 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:31 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:31 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:31 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:31 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "timestamp: 1436509471884[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Authorization: M2E3Mzg0MDY2MGMzNTk5MzNmMzdiYjkwYjg0NzFiYWIwOGIzYjgwYjNmMjZjOGU1NjQxNjg1YmIzYTA0ZWM2OA==[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "nonce: 7869475553344042018[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Content-Length: 841[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:31 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:31 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:31 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:31 DEBUG headers - >> timestamp: 1436509471884
10 Jul 2015 01:24:31 DEBUG headers - >> Authorization: M2E3Mzg0MDY2MGMzNTk5MzNmMzdiYjkwYjg0NzFiYWIwOGIzYjgwYjNmMjZjOGU1NjQxNjg1YmIzYTA0ZWM2OA==
10 Jul 2015 01:24:31 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:31 DEBUG headers - >> nonce: 7869475553344042018
10 Jul 2015 01:24:31 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:31 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:31 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:31 DEBUG headers - >> Content-Length: 841
10 Jul 2015 01:24:31 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:31 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:31 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:31 DEBUG wire - >> "{"transaction_type":"PURCHASE","merchant_ref":"Telecheck_12345","method":"tele_check","amount":"3700","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":{"name":null,"street":"225 Liberty Street","state_province":"NY","city":"NYC","country":"US","email":null,"zip_postal_code":"10281","phone":null},"soft_descriptors":null,"3DS":null,"tele_check":{"accountholder_name":"Tom Eck","check_number":"0101","check_type":"P","account_number":"I7101874","routing_number":"BN1234567801234567890","customer_id_type":"0","customer_id_number":"TX10531769","client_email":"rajan.veeramani@firstdata.com","release_type":"X","gift_card_amount":"100","date_of_birth":"01012010","vip":"n","registration_number":"12345","registration_date":"01012014","clerk_id":"RVK_001","device_id":"jkhsdfjkhsk","micr":null},"valuelink":null}"
10 Jul 2015 01:24:32 DEBUG wire - << "HTTP/1.1 201 Created[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Access-Control-Allow-Headers: Content-Type, apikey, token[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Access-Control-Allow-Methods: GET, PUT, POST, DELETE[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Access-Control-Allow-Origin: http://localhost:8080[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Access-Control-Max-Age: 3628800[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Access-Control-Request-Headers: origin, x-requested-with, accept, content-type[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:31 GMT[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "OPTR_CXT: 010001000072ba5263-987e-4ed5-8fb3-a9c877a5fa8800000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "X-Backside-Transport: OK OK,OK OK[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "X-Client-IP: 10.191.25.124,54.236.202.5[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Content-Length: 798[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:32 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 201 Created
10 Jul 2015 01:24:32 DEBUG headers - << HTTP/1.1 201 Created
10 Jul 2015 01:24:32 DEBUG headers - << Access-Control-Allow-Headers: Content-Type, apikey, token
10 Jul 2015 01:24:32 DEBUG headers - << Access-Control-Allow-Methods: GET, PUT, POST, DELETE
10 Jul 2015 01:24:32 DEBUG headers - << Access-Control-Allow-Origin: http://localhost:8080
10 Jul 2015 01:24:32 DEBUG headers - << Access-Control-Max-Age: 3628800
10 Jul 2015 01:24:32 DEBUG headers - << Access-Control-Request-Headers: origin, x-requested-with, accept, content-type
10 Jul 2015 01:24:32 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:32 DEBUG headers - << Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:32 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:31 GMT
10 Jul 2015 01:24:32 DEBUG headers - << OPTR_CXT: 010001000072ba5263-987e-4ed5-8fb3-a9c877a5fa8800000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:32 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:32 DEBUG headers - << X-Backside-Transport: OK OK,OK OK
10 Jul 2015 01:24:32 DEBUG headers - << X-Client-IP: 10.191.25.124,54.236.202.5
10 Jul 2015 01:24:32 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:32 DEBUG headers - << Content-Length: 798
10 Jul 2015 01:24:32 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:32 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:32 DEBUG RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 201 (Created)
10 Jul 2015 01:24:32 DEBUG RestTemplate - Reading [class com.firstdata.firstapi.client.domain.v2.TransactionResponse] as "application/json;charset=UTF-8" using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:32 DEBUG wire - << "{"correlation_id":"228.1436509472828","transaction_status":"approved","validation_status":"success","transaction_type":"purchase","transaction_id":"ET174038","transaction_tag":"56677055","method":"tele_check","amount":"3700","currency":"USD","bank_resp_code":"100","bank_message":"Approved","gateway_resp_code":"00","gateway_message":"Transaction Normal","tele_check":{"accountholder_name":"Tom Eck","check_number":"0101","check_type":"P","account_number":"1874","routing_number":"BN1234567801234567890","customer_id_type":"0","customer_id_number":"TX10531769","client_email":"rajan.veeramani@firstdata.com","release_type":"X","gift_card_amount":"100","date_of_birth":"01012010","vip":"n","registration_number":"12345","registration_date":"01012014","clerk_id":"RVK_001","device_id":"jkhsdfjkhsk"}}"
10 Jul 2015 01:24:32 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:32 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:32 INFO AbstractClientTest - Transaction Tag:56677055 Transaction id:ET174038
10 Jul 2015 01:24:32 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@3ff19f14 testClass = TeleCheckClientTest, testInstance = com.firstdata.firstapi.client.TeleCheckClientTest@6437420f, testMethod = doPurchaseTest@TeleCheckClientTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@33a2831e testClass = TeleCheckClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:32 DEBUG DirtiesContextTestExecutionListener - After test class: context [[TestContext@3ff19f14 testClass = TeleCheckClientTest, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@33a2831e testClass = TeleCheckClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], dirtiesContext [false].
Tests run: 4, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 1.118 sec <<< FAILURE!
doVoidTest(com.firstdata.firstapi.client.TeleCheckClientTest) Time elapsed: 0.237 sec <<< ERROR!
org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:556)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:514)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:472)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:420)
at com.firstdata.firstapi.client.FirstAPIClientV2Helper.doPrimaryTransaction(FirstAPIClientV2Helper.java:193)
at com.firstdata.firstapi.client.AbstractClientTest.doPrimaryTransaction(AbstractClientTest.java:71)
at com.firstdata.firstapi.client.TeleCheckClientTest.doVoidTest(TeleCheckClientTest.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

doTaggedRefundTest(com.firstdata.firstapi.client.TeleCheckClientTest) Time elapsed: 0.236 sec <<< ERROR!
org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:556)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:514)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:472)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:420)
at com.firstdata.firstapi.client.FirstAPIClientV2Helper.doPrimaryTransaction(FirstAPIClientV2Helper.java:193)
at com.firstdata.firstapi.client.AbstractClientTest.doPrimaryTransaction(AbstractClientTest.java:71)
at com.firstdata.firstapi.client.TeleCheckClientTest.doTaggedRefundTest(TeleCheckClientTest.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

doTaggedVoidTest(com.firstdata.firstapi.client.TeleCheckClientTest) Time elapsed: 0.206 sec <<< ERROR!
org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:556)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:514)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:472)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:420)
at com.firstdata.firstapi.client.FirstAPIClientV2Helper.doPrimaryTransaction(FirstAPIClientV2Helper.java:193)
at com.firstdata.firstapi.client.AbstractClientTest.doPrimaryTransaction(AbstractClientTest.java:71)
at com.firstdata.firstapi.client.TeleCheckClientTest.doTaggedVoidTest(TeleCheckClientTest.java:107)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

Running com.firstdata.firstapi.client.ValueLinkClientTest
10 Jul 2015 01:24:32 DEBUG SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class com.firstdata.firstapi.client.ValueLinkClientTest].
10 Jul 2015 01:24:32 DEBUG AbstractDelegatingSmartContextLoader - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@1fb7d60d declaringClass = 'com.firstdata.firstapi.client.AbstractClientTest', locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', inheritLocations = true, initializers = '{}', inheritInitializers = true, name = [null], contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
10 Jul 2015 01:24:32 DEBUG ContextLoaderUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:32 DEBUG TestContextManager - @TestExecutionListeners is not present for class [class com.firstdata.firstapi.client.ValueLinkClientTest]: using defaults.
10 Jul 2015 01:24:32 INFO TestContextManager - Could not instantiate TestExecutionListener class [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their dependencies) available.
10 Jul 2015 01:24:32 INFO TestContextManager - Could not instantiate TestExecutionListener class [org.springframework.test.context.transaction.TransactionalTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their dependencies) available.
10 Jul 2015 01:24:32 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:32 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:32 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:32 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:32 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:32 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:32 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@459984f3, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:32 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:32 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.AbstractClientTest.restTemplate
10 Jul 2015 01:24:32 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:32 DEBUG AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'com.firstdata.firstapi.client.ValueLinkClientTest' to bean named 'restTemplate'
10 Jul 2015 01:24:32 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.AbstractClientTest.client
10 Jul 2015 01:24:32 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:32 DEBUG AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'com.firstdata.firstapi.client.ValueLinkClientTest' to bean named 'client'
10 Jul 2015 01:24:32 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:5470687890919253863
10 Jul 2015 01:24:32 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:32 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi54706878909192538631436509472323fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"BALANCE_INQUIRY","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}
10 Jul 2015 01:24:32 INFO FirstAPIClientV2Helper - MacHAsh:[-36, -106, -108, -60, 80, 118, -33, -58, 45, -21, 28, 126, -57, 90, -85, 47, -74, -7, 69, 51, 102, 1, -123, -13, -91, -47, -27, 25, -100, 54, -63, 60]
10 Jul 2015 01:24:32 INFO FirstAPIClientV2Helper - Apache common value:dc9694c45076dfc62deb1c7ec75aab2fb6f94533660185f3a5d1e5199c36c13c
10 Jul 2015 01:24:32 INFO FirstAPIClientV2Helper - Authorize: ZGM5Njk0YzQ1MDc2ZGZjNjJkZWIxYzdlYzc1YWFiMmZiNmY5NDUzMzY2MDE4NWYzYTVkMWU1MTk5YzM2YzEzYw==
10 Jul 2015 01:24:32 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:32 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:32 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@2f4c2eee] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:32 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:32 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:32 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:32 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:32 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:32 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:32 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:32 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:32 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "timestamp: 1436509472323[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Authorization: ZGM5Njk0YzQ1MDc2ZGZjNjJkZWIxYzdlYzc1YWFiMmZiNmY5NDUzMzY2MDE4NWYzYTVkMWU1MTk5YzM2YzEzYw==[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "nonce: 5470687890919253863[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Content-Length: 677[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:32 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:32 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:32 DEBUG headers - >> timestamp: 1436509472323
10 Jul 2015 01:24:32 DEBUG headers - >> Authorization: ZGM5Njk0YzQ1MDc2ZGZjNjJkZWIxYzdlYzc1YWFiMmZiNmY5NDUzMzY2MDE4NWYzYTVkMWU1MTk5YzM2YzEzYw==
10 Jul 2015 01:24:32 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:32 DEBUG headers - >> nonce: 5470687890919253863
10 Jul 2015 01:24:32 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:32 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:32 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:32 DEBUG headers - >> Content-Length: 677
10 Jul 2015 01:24:32 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:32 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:32 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:32 DEBUG wire - >> "{"transaction_type":"BALANCE_INQUIRY","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}"
10 Jul 2015 01:24:32 DEBUG wire - << "HTTP/1.1 400 Bad Request[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "$WSEP: [\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Content-Type: text/html;charset=ISO-8859-1[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:31 GMT[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "OPTR_CXT: 01000100002719ec12-4dd1-4552-abd9-69ae5245693700000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "X-Backside-Transport: FAIL FAIL,FAIL FAIL[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "X-Client-IP: 10.191.25.124,107.23.55.229[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Content-Length: 42[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:32 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:32 DEBUG headers - << HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:32 DEBUG headers - << $WSEP:
10 Jul 2015 01:24:32 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:32 DEBUG headers - << Content-Type: text/html;charset=ISO-8859-1
10 Jul 2015 01:24:32 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:31 GMT
10 Jul 2015 01:24:32 DEBUG headers - << OPTR_CXT: 01000100002719ec12-4dd1-4552-abd9-69ae5245693700000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:32 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:32 DEBUG headers - << X-Backside-Transport: FAIL FAIL,FAIL FAIL
10 Jul 2015 01:24:32 DEBUG headers - << X-Client-IP: 10.191.25.124,107.23.55.229
10 Jul 2015 01:24:32 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:32 DEBUG headers - << Content-Length: 42
10 Jul 2015 01:24:32 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:32 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:32 WARN RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 400 (Bad Request); invoking error handler
10 Jul 2015 01:24:32 DEBUG wire - << "Error 400: SRVE0295E: Error reported: 400[\n]"
10 Jul 2015 01:24:32 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:32 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:32 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@459984f3, testMethod = doVoidTest@ValueLinkClientTest, testException = org.springframework.web.client.HttpClientErrorException: 400 Bad Request, mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:32 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:32 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:32 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@36fab1ba, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:32 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:32 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.AbstractClientTest.restTemplate
10 Jul 2015 01:24:32 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:32 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.AbstractClientTest.client
10 Jul 2015 01:24:32 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:32 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:4914069698767004867
10 Jul 2015 01:24:32 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:32 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi49140696987670048671436509472519fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"BALANCE_INQUIRY","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}
10 Jul 2015 01:24:32 INFO FirstAPIClientV2Helper - MacHAsh:[-83, -44, -16, 18, 47, -115, 57, -128, -83, 40, 92, -36, 86, -92, -118, -66, 19, -15, -17, 50, 96, 32, -41, 70, -65, 6, -116, -71, -25, -71, 96, -112]
10 Jul 2015 01:24:32 INFO FirstAPIClientV2Helper - Apache common value:add4f0122f8d3980ad285cdc56a48abe13f1ef326020d746bf068cb9e7b96090
10 Jul 2015 01:24:32 INFO FirstAPIClientV2Helper - Authorize: YWRkNGYwMTIyZjhkMzk4MGFkMjg1Y2RjNTZhNDhhYmUxM2YxZWYzMjYwMjBkNzQ2YmYwNjhjYjllN2I5NjA5MA==
10 Jul 2015 01:24:32 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:32 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:32 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@7f6a889d] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:32 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:32 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:32 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:32 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:32 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:32 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:32 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:32 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:32 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "timestamp: 1436509472519[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Authorization: YWRkNGYwMTIyZjhkMzk4MGFkMjg1Y2RjNTZhNDhhYmUxM2YxZWYzMjYwMjBkNzQ2YmYwNjhjYjllN2I5NjA5MA==[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "nonce: 4914069698767004867[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Content-Length: 677[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:32 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:32 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:32 DEBUG headers - >> timestamp: 1436509472519
10 Jul 2015 01:24:32 DEBUG headers - >> Authorization: YWRkNGYwMTIyZjhkMzk4MGFkMjg1Y2RjNTZhNDhhYmUxM2YxZWYzMjYwMjBkNzQ2YmYwNjhjYjllN2I5NjA5MA==
10 Jul 2015 01:24:32 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:32 DEBUG headers - >> nonce: 4914069698767004867
10 Jul 2015 01:24:32 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:32 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:32 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:32 DEBUG headers - >> Content-Length: 677
10 Jul 2015 01:24:32 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:32 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:32 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:32 DEBUG wire - >> "{"transaction_type":"BALANCE_INQUIRY","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}"
10 Jul 2015 01:24:32 DEBUG wire - << "HTTP/1.1 400 Bad Request[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "$WSEP: [\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Content-Type: text/html;charset=ISO-8859-1[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:31 GMT[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "OPTR_CXT: 0100010000c620044b-fc03-48a9-957c-a1b6a8ce0c8300000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "X-Backside-Transport: FAIL FAIL,FAIL FAIL[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "X-Client-IP: 10.191.25.124,54.236.202.5[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Content-Length: 42[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:32 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:32 DEBUG headers - << HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:32 DEBUG headers - << $WSEP:
10 Jul 2015 01:24:32 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:32 DEBUG headers - << Content-Type: text/html;charset=ISO-8859-1
10 Jul 2015 01:24:32 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:31 GMT
10 Jul 2015 01:24:32 DEBUG headers - << OPTR_CXT: 0100010000c620044b-fc03-48a9-957c-a1b6a8ce0c8300000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:32 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:32 DEBUG headers - << X-Backside-Transport: FAIL FAIL,FAIL FAIL
10 Jul 2015 01:24:32 DEBUG headers - << X-Client-IP: 10.191.25.124,54.236.202.5
10 Jul 2015 01:24:32 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:32 DEBUG headers - << Content-Length: 42
10 Jul 2015 01:24:32 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:32 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:32 WARN RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 400 (Bad Request); invoking error handler
10 Jul 2015 01:24:32 DEBUG wire - << "Error 400: SRVE0295E: Error reported: 400[\n]"
10 Jul 2015 01:24:32 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:32 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:32 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@36fab1ba, testMethod = doPurchaseTest@ValueLinkClientTest, testException = org.springframework.web.client.HttpClientErrorException: 400 Bad Request, mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:32 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:32 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:32 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@2a3ebfa9, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:32 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:32 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.AbstractClientTest.restTemplate
10 Jul 2015 01:24:32 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:32 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.AbstractClientTest.client
10 Jul 2015 01:24:32 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:32 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:2846785843738191888
10 Jul 2015 01:24:32 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:32 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi28467858437381918881436509472729fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"BALANCE_INQUIRY","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}
10 Jul 2015 01:24:32 INFO FirstAPIClientV2Helper - MacHAsh:[-59, -69, -37, 50, -89, -34, -56, -74, 0, 92, -51, 31, -107, -114, 23, -94, 45, -68, 114, 78, 122, 35, -51, -79, -32, 1, -108, -39, 91, 88, 60, 93]
10 Jul 2015 01:24:32 INFO FirstAPIClientV2Helper - Apache common value:c5bbdb32a7dec8b6005ccd1f958e17a22dbc724e7a23cdb1e00194d95b583c5d
10 Jul 2015 01:24:32 INFO FirstAPIClientV2Helper - Authorize: YzViYmRiMzJhN2RlYzhiNjAwNWNjZDFmOTU4ZTE3YTIyZGJjNzI0ZTdhMjNjZGIxZTAwMTk0ZDk1YjU4M2M1ZA==
10 Jul 2015 01:24:32 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:32 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:32 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@79b0b0c1] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:32 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:32 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:32 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:32 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:32 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:32 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:32 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:32 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:32 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "timestamp: 1436509472729[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Authorization: YzViYmRiMzJhN2RlYzhiNjAwNWNjZDFmOTU4ZTE3YTIyZGJjNzI0ZTdhMjNjZGIxZTAwMTk0ZDk1YjU4M2M1ZA==[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "nonce: 2846785843738191888[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Content-Length: 677[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:32 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:32 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:32 DEBUG headers - >> timestamp: 1436509472729
10 Jul 2015 01:24:32 DEBUG headers - >> Authorization: YzViYmRiMzJhN2RlYzhiNjAwNWNjZDFmOTU4ZTE3YTIyZGJjNzI0ZTdhMjNjZGIxZTAwMTk0ZDk1YjU4M2M1ZA==
10 Jul 2015 01:24:32 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:32 DEBUG headers - >> nonce: 2846785843738191888
10 Jul 2015 01:24:32 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:32 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:32 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:32 DEBUG headers - >> Content-Length: 677
10 Jul 2015 01:24:32 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:32 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:32 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:32 DEBUG wire - >> "{"transaction_type":"BALANCE_INQUIRY","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}"
10 Jul 2015 01:24:32 DEBUG wire - << "HTTP/1.1 400 Bad Request[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "$WSEP: [\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Content-Type: text/html;charset=ISO-8859-1[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:31 GMT[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "OPTR_CXT: 0100010000e415c438-f9be-4a6e-a0a9-d1e8c4b6af2a00000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "X-Backside-Transport: FAIL FAIL,FAIL FAIL[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "X-Client-IP: 10.191.25.124,107.23.55.229[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Content-Length: 42[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:32 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:32 DEBUG headers - << HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:32 DEBUG headers - << $WSEP:
10 Jul 2015 01:24:32 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:32 DEBUG headers - << Content-Type: text/html;charset=ISO-8859-1
10 Jul 2015 01:24:32 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:31 GMT
10 Jul 2015 01:24:32 DEBUG headers - << OPTR_CXT: 0100010000e415c438-f9be-4a6e-a0a9-d1e8c4b6af2a00000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:32 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:32 DEBUG headers - << X-Backside-Transport: FAIL FAIL,FAIL FAIL
10 Jul 2015 01:24:32 DEBUG headers - << X-Client-IP: 10.191.25.124,107.23.55.229
10 Jul 2015 01:24:32 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:32 DEBUG headers - << Content-Length: 42
10 Jul 2015 01:24:32 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:32 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:32 WARN RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 400 (Bad Request); invoking error handler
10 Jul 2015 01:24:32 DEBUG wire - << "Error 400: SRVE0295E: Error reported: 400[\n]"
10 Jul 2015 01:24:32 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:32 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:32 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@2a3ebfa9, testMethod = doNakedRefundTest@ValueLinkClientTest, testException = org.springframework.web.client.HttpClientErrorException: 400 Bad Request, mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:32 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:32 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:32 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@78b9e139, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:32 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:32 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.AbstractClientTest.restTemplate
10 Jul 2015 01:24:32 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:32 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.AbstractClientTest.client
10 Jul 2015 01:24:32 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:32 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:894056848116998310
10 Jul 2015 01:24:32 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:32 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi8940568481169983101436509472918fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"BALANCE_INQUIRY","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}
10 Jul 2015 01:24:32 INFO FirstAPIClientV2Helper - MacHAsh:[-64, 103, -85, 75, -80, 18, 15, 44, -94, -70, 14, 2, 73, -67, -74, -110, 14, 1, 7, -51, -36, -63, 35, -36, -15, 75, 66, -93, 5, -3, -37, 39]
10 Jul 2015 01:24:32 INFO FirstAPIClientV2Helper - Apache common value:c067ab4bb0120f2ca2ba0e0249bdb6920e0107cddcc123dcf14b42a305fddb27
10 Jul 2015 01:24:32 INFO FirstAPIClientV2Helper - Authorize: YzA2N2FiNGJiMDEyMGYyY2EyYmEwZTAyNDliZGI2OTIwZTAxMDdjZGRjYzEyM2RjZjE0YjQyYTMwNWZkZGIyNw==
10 Jul 2015 01:24:32 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:32 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:32 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@73d9db02] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:32 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:32 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:32 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:32 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:32 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:32 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:32 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:32 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:32 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "timestamp: 1436509472918[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Authorization: YzA2N2FiNGJiMDEyMGYyY2EyYmEwZTAyNDliZGI2OTIwZTAxMDdjZGRjYzEyM2RjZjE0YjQyYTMwNWZkZGIyNw==[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "nonce: 894056848116998310[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Content-Length: 677[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:32 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:32 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:32 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:32 DEBUG headers - >> timestamp: 1436509472918
10 Jul 2015 01:24:32 DEBUG headers - >> Authorization: YzA2N2FiNGJiMDEyMGYyY2EyYmEwZTAyNDliZGI2OTIwZTAxMDdjZGRjYzEyM2RjZjE0YjQyYTMwNWZkZGIyNw==
10 Jul 2015 01:24:32 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:32 DEBUG headers - >> nonce: 894056848116998310
10 Jul 2015 01:24:32 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:32 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:32 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:32 DEBUG headers - >> Content-Length: 677
10 Jul 2015 01:24:32 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:32 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:32 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:32 DEBUG wire - >> "{"transaction_type":"BALANCE_INQUIRY","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}"
10 Jul 2015 01:24:33 DEBUG wire - << "HTTP/1.1 400 Bad Request[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "$WSEP: [\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Content-Type: text/html;charset=ISO-8859-1[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:33 GMT[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "OPTR_CXT: 010001000025390d90-216a-41a0-97e3-fe2f91f0e55800000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Backside-Transport: FAIL FAIL,FAIL FAIL[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Client-IP: 10.191.25.124,54.236.202.5[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Content-Length: 42[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:33 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:33 DEBUG headers - << HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:33 DEBUG headers - << $WSEP:
10 Jul 2015 01:24:33 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:33 DEBUG headers - << Content-Type: text/html;charset=ISO-8859-1
10 Jul 2015 01:24:33 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:33 GMT
10 Jul 2015 01:24:33 DEBUG headers - << OPTR_CXT: 010001000025390d90-216a-41a0-97e3-fe2f91f0e55800000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:33 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:33 DEBUG headers - << X-Backside-Transport: FAIL FAIL,FAIL FAIL
10 Jul 2015 01:24:33 DEBUG headers - << X-Client-IP: 10.191.25.124,54.236.202.5
10 Jul 2015 01:24:33 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:33 DEBUG headers - << Content-Length: 42
10 Jul 2015 01:24:33 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:33 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:33 WARN RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 400 (Bad Request); invoking error handler
10 Jul 2015 01:24:33 DEBUG wire - << "Error 400: SRVE0295E: Error reported: 400[\n]"
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:33 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@78b9e139, testMethod = doNakedVoidTest@ValueLinkClientTest, testException = org.springframework.web.client.HttpClientErrorException: 400 Bad Request, mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:33 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:33 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:33 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@7a1ca9b2, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:33 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:33 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.AbstractClientTest.restTemplate
10 Jul 2015 01:24:33 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:33 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.AbstractClientTest.client
10 Jul 2015 01:24:33 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:33 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:4990497230297343580
10 Jul 2015 01:24:33 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:33 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi49904972302973435801436509473216fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"PURCHASE","merchant_ref":null,"method":"valuelink","amount":"60000","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}
10 Jul 2015 01:24:33 INFO FirstAPIClientV2Helper - MacHAsh:[56, 97, 80, -111, 92, -8, 90, -115, 37, 37, 113, 64, 29, 66, -65, 47, -1, -42, 0, 0, -63, 100, -86, 11, 7, -24, 112, 106, -15, 14, -128, 5]
10 Jul 2015 01:24:33 INFO FirstAPIClientV2Helper - Apache common value:386150915cf85a8d252571401d42bf2fffd60000c164aa0b07e8706af10e8005
10 Jul 2015 01:24:33 INFO FirstAPIClientV2Helper - Authorize: Mzg2MTUwOTE1Y2Y4NWE4ZDI1MjU3MTQwMWQ0MmJmMmZmZmQ2MDAwMGMxNjRhYTBiMDdlODcwNmFmMTBlODAwNQ==
10 Jul 2015 01:24:33 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:33 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:33 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@6fc923bf] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:33 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:33 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:33 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:33 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:33 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:33 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:33 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "timestamp: 1436509473216[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Authorization: Mzg2MTUwOTE1Y2Y4NWE4ZDI1MjU3MTQwMWQ0MmJmMmZmZmQ2MDAwMGMxNjRhYTBiMDdlODcwNmFmMTBlODAwNQ==[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "nonce: 4990497230297343580[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Content-Length: 672[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:33 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:33 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:33 DEBUG headers - >> timestamp: 1436509473216
10 Jul 2015 01:24:33 DEBUG headers - >> Authorization: Mzg2MTUwOTE1Y2Y4NWE4ZDI1MjU3MTQwMWQ0MmJmMmZmZmQ2MDAwMGMxNjRhYTBiMDdlODcwNmFmMTBlODAwNQ==
10 Jul 2015 01:24:33 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:33 DEBUG headers - >> nonce: 4990497230297343580
10 Jul 2015 01:24:33 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:33 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:33 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:33 DEBUG headers - >> Content-Length: 672
10 Jul 2015 01:24:33 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:33 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:33 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:33 DEBUG wire - >> "{"transaction_type":"PURCHASE","merchant_ref":null,"method":"valuelink","amount":"60000","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}"
10 Jul 2015 01:24:33 DEBUG wire - << "HTTP/1.1 400 Bad Request[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "$WSEP: [\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Content-Type: text/html;charset=ISO-8859-1[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:33 GMT[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "OPTR_CXT: 0100010000825590f3-82ff-4397-8434-9ad6c6b1069a00000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Backside-Transport: FAIL FAIL,FAIL FAIL[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Client-IP: 10.191.25.124,107.23.55.229[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Content-Length: 42[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:33 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:33 DEBUG headers - << HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:33 DEBUG headers - << $WSEP:
10 Jul 2015 01:24:33 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:33 DEBUG headers - << Content-Type: text/html;charset=ISO-8859-1
10 Jul 2015 01:24:33 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:33 GMT
10 Jul 2015 01:24:33 DEBUG headers - << OPTR_CXT: 0100010000825590f3-82ff-4397-8434-9ad6c6b1069a00000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:33 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:33 DEBUG headers - << X-Backside-Transport: FAIL FAIL,FAIL FAIL
10 Jul 2015 01:24:33 DEBUG headers - << X-Client-IP: 10.191.25.124,107.23.55.229
10 Jul 2015 01:24:33 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:33 DEBUG headers - << Content-Length: 42
10 Jul 2015 01:24:33 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:33 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:33 WARN RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 400 (Bad Request); invoking error handler
10 Jul 2015 01:24:33 DEBUG wire - << "Error 400: SRVE0295E: Error reported: 400[\n]"
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:33 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@7a1ca9b2, testMethod = doPartialPurchaseTest@ValueLinkClientTest, testException = org.springframework.web.client.HttpClientErrorException: 400 Bad Request, mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:33 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:33 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:33 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@2ed22908, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:33 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:33 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.AbstractClientTest.restTemplate
10 Jul 2015 01:24:33 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:33 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.AbstractClientTest.client
10 Jul 2015 01:24:33 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:33 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:5459345313649591271
10 Jul 2015 01:24:33 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:33 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi54593453136495912711436509473401fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"DEACTIVATION","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}
10 Jul 2015 01:24:33 INFO FirstAPIClientV2Helper - MacHAsh:[-75, -55, -96, 81, -75, -30, 55, -71, -58, 45, 99, -51, 106, -118, -114, -88, -59, 65, -24, 59, 92, -33, 124, 103, -48, 113, 7, -108, -23, 24, 121, -94]
10 Jul 2015 01:24:33 INFO FirstAPIClientV2Helper - Apache common value:b5c9a051b5e237b9c62d63cd6a8a8ea8c541e83b5cdf7c67d0710794e91879a2
10 Jul 2015 01:24:33 INFO FirstAPIClientV2Helper - Authorize: YjVjOWEwNTFiNWUyMzdiOWM2MmQ2M2NkNmE4YThlYThjNTQxZTgzYjVjZGY3YzY3ZDA3MTA3OTRlOTE4NzlhMg==
10 Jul 2015 01:24:33 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:33 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:33 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@6783e43b] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:33 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:33 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:33 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:33 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:33 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:33 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:33 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "timestamp: 1436509473401[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Authorization: YjVjOWEwNTFiNWUyMzdiOWM2MmQ2M2NkNmE4YThlYThjNTQxZTgzYjVjZGY3YzY3ZDA3MTA3OTRlOTE4NzlhMg==[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "nonce: 5459345313649591271[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Content-Length: 674[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:33 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:33 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:33 DEBUG headers - >> timestamp: 1436509473401
10 Jul 2015 01:24:33 DEBUG headers - >> Authorization: YjVjOWEwNTFiNWUyMzdiOWM2MmQ2M2NkNmE4YThlYThjNTQxZTgzYjVjZGY3YzY3ZDA3MTA3OTRlOTE4NzlhMg==
10 Jul 2015 01:24:33 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:33 DEBUG headers - >> nonce: 5459345313649591271
10 Jul 2015 01:24:33 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:33 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:33 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:33 DEBUG headers - >> Content-Length: 674
10 Jul 2015 01:24:33 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:33 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:33 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:33 DEBUG wire - >> "{"transaction_type":"DEACTIVATION","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}"
10 Jul 2015 01:24:33 DEBUG wire - << "HTTP/1.1 400 Bad Request[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "$WSEP: [\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Content-Type: text/html;charset=ISO-8859-1[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:33 GMT[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "OPTR_CXT: 010001000084c76e9f-a07e-4ecc-a51e-a0460197eded00000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Backside-Transport: FAIL FAIL,FAIL FAIL[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Client-IP: 10.191.25.124,54.236.202.5[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Content-Length: 42[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:33 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:33 DEBUG headers - << HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:33 DEBUG headers - << $WSEP:
10 Jul 2015 01:24:33 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:33 DEBUG headers - << Content-Type: text/html;charset=ISO-8859-1
10 Jul 2015 01:24:33 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:33 GMT
10 Jul 2015 01:24:33 DEBUG headers - << OPTR_CXT: 010001000084c76e9f-a07e-4ecc-a51e-a0460197eded00000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:33 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:33 DEBUG headers - << X-Backside-Transport: FAIL FAIL,FAIL FAIL
10 Jul 2015 01:24:33 DEBUG headers - << X-Client-IP: 10.191.25.124,54.236.202.5
10 Jul 2015 01:24:33 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:33 DEBUG headers - << Content-Length: 42
10 Jul 2015 01:24:33 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:33 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:33 WARN RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 400 (Bad Request); invoking error handler
10 Jul 2015 01:24:33 DEBUG wire - << "Error 400: SRVE0295E: Error reported: 400[\n]"
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:33 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@2ed22908, testMethod = doActivationTest@ValueLinkClientTest, testException = org.springframework.web.client.HttpClientErrorException: 400 Bad Request, mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:33 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:33 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:33 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@70888f88, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:33 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:33 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.AbstractClientTest.restTemplate
10 Jul 2015 01:24:33 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:33 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.AbstractClientTest.client
10 Jul 2015 01:24:33 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:33 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:5397124159429799753
10 Jul 2015 01:24:33 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:33 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi53971241594297997531436509473609fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"DEACTIVATION","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}
10 Jul 2015 01:24:33 INFO FirstAPIClientV2Helper - MacHAsh:[76, 26, 114, 50, -30, -79, 25, -80, 120, 107, 48, 115, -90, -17, 127, -14, -88, -87, 17, 104, -79, -77, -14, 124, -51, 53, -83, -24, 71, 25, 18, -1]
10 Jul 2015 01:24:33 INFO FirstAPIClientV2Helper - Apache common value:4c1a7232e2b119b0786b3073a6ef7ff2a8a91168b1b3f27ccd35ade8471912ff
10 Jul 2015 01:24:33 INFO FirstAPIClientV2Helper - Authorize: NGMxYTcyMzJlMmIxMTliMDc4NmIzMDczYTZlZjdmZjJhOGE5MTE2OGIxYjNmMjdjY2QzNWFkZTg0NzE5MTJmZg==
10 Jul 2015 01:24:33 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:33 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:33 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@5be6f926] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:33 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:33 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:33 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:33 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:33 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:33 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:33 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "timestamp: 1436509473609[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Authorization: NGMxYTcyMzJlMmIxMTliMDc4NmIzMDczYTZlZjdmZjJhOGE5MTE2OGIxYjNmMjdjY2QzNWFkZTg0NzE5MTJmZg==[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "nonce: 5397124159429799753[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Content-Length: 674[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:33 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:33 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:33 DEBUG headers - >> timestamp: 1436509473609
10 Jul 2015 01:24:33 DEBUG headers - >> Authorization: NGMxYTcyMzJlMmIxMTliMDc4NmIzMDczYTZlZjdmZjJhOGE5MTE2OGIxYjNmMjdjY2QzNWFkZTg0NzE5MTJmZg==
10 Jul 2015 01:24:33 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:33 DEBUG headers - >> nonce: 5397124159429799753
10 Jul 2015 01:24:33 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:33 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:33 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:33 DEBUG headers - >> Content-Length: 674
10 Jul 2015 01:24:33 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:33 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:33 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:33 DEBUG wire - >> "{"transaction_type":"DEACTIVATION","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}"
10 Jul 2015 01:24:33 DEBUG wire - << "HTTP/1.1 400 Bad Request[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "$WSEP: [\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Content-Type: text/html;charset=ISO-8859-1[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:33 GMT[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "OPTR_CXT: 0100010000217db65a-7e55-4429-9374-edba20fef7fd00000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Backside-Transport: FAIL FAIL,FAIL FAIL[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Client-IP: 10.191.25.124,107.23.55.229[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Content-Length: 42[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:33 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:33 DEBUG headers - << HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:33 DEBUG headers - << $WSEP:
10 Jul 2015 01:24:33 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:33 DEBUG headers - << Content-Type: text/html;charset=ISO-8859-1
10 Jul 2015 01:24:33 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:33 GMT
10 Jul 2015 01:24:33 DEBUG headers - << OPTR_CXT: 0100010000217db65a-7e55-4429-9374-edba20fef7fd00000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:33 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:33 DEBUG headers - << X-Backside-Transport: FAIL FAIL,FAIL FAIL
10 Jul 2015 01:24:33 DEBUG headers - << X-Client-IP: 10.191.25.124,107.23.55.229
10 Jul 2015 01:24:33 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:33 DEBUG headers - << Content-Length: 42
10 Jul 2015 01:24:33 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:33 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:33 WARN RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 400 (Bad Request); invoking error handler
10 Jul 2015 01:24:33 DEBUG wire - << "Error 400: SRVE0295E: Error reported: 400[\n]"
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:33 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@70888f88, testMethod = doDeactivationTest@ValueLinkClientTest, testException = org.springframework.web.client.HttpClientErrorException: 400 Bad Request, mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:33 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:33 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:33 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@abdd865, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:33 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:33 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.AbstractClientTest.restTemplate
10 Jul 2015 01:24:33 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:33 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.AbstractClientTest.client
10 Jul 2015 01:24:33 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:33 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:3894527717951316510
10 Jul 2015 01:24:33 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:33 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi38945277179513165101436509473805fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"BALANCE_INQUIRY","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}
10 Jul 2015 01:24:33 INFO FirstAPIClientV2Helper - MacHAsh:[77, -64, -21, 124, 24, 33, -61, 60, 77, 89, 48, -16, -17, 111, -24, -54, -110, -88, -6, 87, 110, 100, 49, 121, 40, -80, -88, -105, 107, -85, 76, 45]
10 Jul 2015 01:24:33 INFO FirstAPIClientV2Helper - Apache common value:4dc0eb7c1821c33c4d5930f0ef6fe8ca92a8fa576e64317928b0a8976bab4c2d
10 Jul 2015 01:24:33 INFO FirstAPIClientV2Helper - Authorize: NGRjMGViN2MxODIxYzMzYzRkNTkzMGYwZWY2ZmU4Y2E5MmE4ZmE1NzZlNjQzMTc5MjhiMGE4OTc2YmFiNGMyZA==
10 Jul 2015 01:24:33 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:33 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:33 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@35c9d465] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:33 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:33 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:33 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:33 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:33 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:33 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:33 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "timestamp: 1436509473805[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Authorization: NGRjMGViN2MxODIxYzMzYzRkNTkzMGYwZWY2ZmU4Y2E5MmE4ZmE1NzZlNjQzMTc5MjhiMGE4OTc2YmFiNGMyZA==[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "nonce: 3894527717951316510[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Content-Length: 677[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:33 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:33 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:33 DEBUG headers - >> timestamp: 1436509473805
10 Jul 2015 01:24:33 DEBUG headers - >> Authorization: NGRjMGViN2MxODIxYzMzYzRkNTkzMGYwZWY2ZmU4Y2E5MmE4ZmE1NzZlNjQzMTc5MjhiMGE4OTc2YmFiNGMyZA==
10 Jul 2015 01:24:33 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:33 DEBUG headers - >> nonce: 3894527717951316510
10 Jul 2015 01:24:33 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:33 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:33 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:33 DEBUG headers - >> Content-Length: 677
10 Jul 2015 01:24:33 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:33 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:33 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:33 DEBUG wire - >> "{"transaction_type":"BALANCE_INQUIRY","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}"
10 Jul 2015 01:24:33 DEBUG wire - << "HTTP/1.1 400 Bad Request[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "$WSEP: [\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Content-Type: text/html;charset=ISO-8859-1[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:33 GMT[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "OPTR_CXT: 01000100009e67fde5-1bb6-46f9-9123-bb9a531cd88000000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Backside-Transport: FAIL FAIL,FAIL FAIL[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Client-IP: 10.191.25.124,54.236.202.5[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Content-Length: 42[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:33 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:33 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:33 DEBUG headers - << HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:33 DEBUG headers - << $WSEP:
10 Jul 2015 01:24:33 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:33 DEBUG headers - << Content-Type: text/html;charset=ISO-8859-1
10 Jul 2015 01:24:33 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:33 GMT
10 Jul 2015 01:24:33 DEBUG headers - << OPTR_CXT: 01000100009e67fde5-1bb6-46f9-9123-bb9a531cd88000000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:33 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:33 DEBUG headers - << X-Backside-Transport: FAIL FAIL,FAIL FAIL
10 Jul 2015 01:24:33 DEBUG headers - << X-Client-IP: 10.191.25.124,54.236.202.5
10 Jul 2015 01:24:33 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:33 DEBUG headers - << Content-Length: 42
10 Jul 2015 01:24:33 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:33 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:33 WARN RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 400 (Bad Request); invoking error handler
10 Jul 2015 01:24:33 DEBUG wire - << "Error 400: SRVE0295E: Error reported: 400[\n]"
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:33 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:33 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@abdd865, testMethod = doBalanceInquiryTest@ValueLinkClientTest, testException = org.springframework.web.client.HttpClientErrorException: 400 Bad Request, mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:33 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:33 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:33 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@10aa9f6a, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:33 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:33 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.AbstractClientTest.restTemplate
10 Jul 2015 01:24:33 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:33 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.AbstractClientTest.client
10 Jul 2015 01:24:33 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:34 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:8800486536738229478
10 Jul 2015 01:24:34 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:34 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi88004865367382294781436509474010fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"BALANCE_INQUIRY","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}
10 Jul 2015 01:24:34 INFO FirstAPIClientV2Helper - MacHAsh:[71, -103, -37, -95, -28, 35, -10, 127, 28, 28, -128, -118, 109, 61, 75, -37, -117, -122, -119, -77, 99, 116, 54, 9, 71, -45, 26, -69, 106, 77, 113, -9]
10 Jul 2015 01:24:34 INFO FirstAPIClientV2Helper - Apache common value:4799dba1e423f67f1c1c808a6d3d4bdb8b8689b36374360947d31abb6a4d71f7
10 Jul 2015 01:24:34 INFO FirstAPIClientV2Helper - Authorize: NDc5OWRiYTFlNDIzZjY3ZjFjMWM4MDhhNmQzZDRiZGI4Yjg2ODliMzYzNzQzNjA5NDdkMzFhYmI2YTRkNzFmNw==
10 Jul 2015 01:24:34 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:34 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:34 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@31c7f0b2] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:34 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:34 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:34 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:34 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:34 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:34 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:34 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:34 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:34 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "timestamp: 1436509474010[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Authorization: NDc5OWRiYTFlNDIzZjY3ZjFjMWM4MDhhNmQzZDRiZGI4Yjg2ODliMzYzNzQzNjA5NDdkMzFhYmI2YTRkNzFmNw==[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "nonce: 8800486536738229478[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Content-Length: 677[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:34 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:34 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:34 DEBUG headers - >> timestamp: 1436509474010
10 Jul 2015 01:24:34 DEBUG headers - >> Authorization: NDc5OWRiYTFlNDIzZjY3ZjFjMWM4MDhhNmQzZDRiZGI4Yjg2ODliMzYzNzQzNjA5NDdkMzFhYmI2YTRkNzFmNw==
10 Jul 2015 01:24:34 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:34 DEBUG headers - >> nonce: 8800486536738229478
10 Jul 2015 01:24:34 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:34 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:34 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:34 DEBUG headers - >> Content-Length: 677
10 Jul 2015 01:24:34 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:34 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:34 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:34 DEBUG wire - >> "{"transaction_type":"BALANCE_INQUIRY","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}"
10 Jul 2015 01:24:34 DEBUG wire - << "HTTP/1.1 400 Bad Request[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "$WSEP: [\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "Content-Type: text/html;charset=ISO-8859-1[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:33 GMT[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "OPTR_CXT: 01000100003e2cb350-9988-42d7-99d0-084c16d42f7e00000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "X-Backside-Transport: FAIL FAIL,FAIL FAIL[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "X-Client-IP: 10.191.25.124,107.23.55.229[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "Content-Length: 42[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:34 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:34 DEBUG headers - << HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:34 DEBUG headers - << $WSEP:
10 Jul 2015 01:24:34 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:34 DEBUG headers - << Content-Type: text/html;charset=ISO-8859-1
10 Jul 2015 01:24:34 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:33 GMT
10 Jul 2015 01:24:34 DEBUG headers - << OPTR_CXT: 01000100003e2cb350-9988-42d7-99d0-084c16d42f7e00000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:34 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:34 DEBUG headers - << X-Backside-Transport: FAIL FAIL,FAIL FAIL
10 Jul 2015 01:24:34 DEBUG headers - << X-Client-IP: 10.191.25.124,107.23.55.229
10 Jul 2015 01:24:34 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:34 DEBUG headers - << Content-Length: 42
10 Jul 2015 01:24:34 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:34 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:34 WARN RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 400 (Bad Request); invoking error handler
10 Jul 2015 01:24:34 DEBUG wire - << "Error 400: SRVE0295E: Error reported: 400[\n]"
10 Jul 2015 01:24:34 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:34 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:34 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@10aa9f6a, testMethod = doRefundTest@ValueLinkClientTest, testException = org.springframework.web.client.HttpClientErrorException: 400 Bad Request, mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:34 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:34 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:34 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@51a3adb, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:34 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:34 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.AbstractClientTest.restTemplate
10 Jul 2015 01:24:34 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:34 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.AbstractClientTest.client
10 Jul 2015 01:24:34 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:34 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:7740671878506069857
10 Jul 2015 01:24:34 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:34 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi77406718785060698571436509474210fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"BALANCE_INQUIRY","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}
10 Jul 2015 01:24:34 INFO FirstAPIClientV2Helper - MacHAsh:[-10, 43, 59, 57, -76, 49, -113, -96, 106, -51, -59, 36, -118, -16, 3, 57, 28, -106, -87, 36, 7, 116, -6, 25, 126, 99, 116, -63, 126, -94, -97, 75]
10 Jul 2015 01:24:34 INFO FirstAPIClientV2Helper - Apache common value:f62b3b39b4318fa06acdc5248af003391c96a9240774fa197e6374c17ea29f4b
10 Jul 2015 01:24:34 INFO FirstAPIClientV2Helper - Authorize: ZjYyYjNiMzliNDMxOGZhMDZhY2RjNTI0OGFmMDAzMzkxYzk2YTkyNDA3NzRmYTE5N2U2Mzc0YzE3ZWEyOWY0Yg==
10 Jul 2015 01:24:34 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:34 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:34 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@7d0e027a] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:34 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:34 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:34 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:34 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:34 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:34 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:34 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:34 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:34 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "timestamp: 1436509474210[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Authorization: ZjYyYjNiMzliNDMxOGZhMDZhY2RjNTI0OGFmMDAzMzkxYzk2YTkyNDA3NzRmYTE5N2U2Mzc0YzE3ZWEyOWY0Yg==[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "nonce: 7740671878506069857[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Content-Length: 677[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:34 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:34 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:34 DEBUG headers - >> timestamp: 1436509474210
10 Jul 2015 01:24:34 DEBUG headers - >> Authorization: ZjYyYjNiMzliNDMxOGZhMDZhY2RjNTI0OGFmMDAzMzkxYzk2YTkyNDA3NzRmYTE5N2U2Mzc0YzE3ZWEyOWY0Yg==
10 Jul 2015 01:24:34 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:34 DEBUG headers - >> nonce: 7740671878506069857
10 Jul 2015 01:24:34 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:34 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:34 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:34 DEBUG headers - >> Content-Length: 677
10 Jul 2015 01:24:34 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:34 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:34 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:34 DEBUG wire - >> "{"transaction_type":"BALANCE_INQUIRY","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}"
10 Jul 2015 01:24:34 DEBUG wire - << "HTTP/1.1 400 Bad Request[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "$WSEP: [\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "Content-Type: text/html;charset=ISO-8859-1[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:33 GMT[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "OPTR_CXT: 0100010000ab0784d7-e15c-4f77-9a39-a55943fd116200000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "X-Backside-Transport: FAIL FAIL,FAIL FAIL[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "X-Client-IP: 10.191.25.124,54.236.202.5[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "Content-Length: 42[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:34 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:34 DEBUG headers - << HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:34 DEBUG headers - << $WSEP:
10 Jul 2015 01:24:34 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:34 DEBUG headers - << Content-Type: text/html;charset=ISO-8859-1
10 Jul 2015 01:24:34 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:33 GMT
10 Jul 2015 01:24:34 DEBUG headers - << OPTR_CXT: 0100010000ab0784d7-e15c-4f77-9a39-a55943fd116200000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:34 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:34 DEBUG headers - << X-Backside-Transport: FAIL FAIL,FAIL FAIL
10 Jul 2015 01:24:34 DEBUG headers - << X-Client-IP: 10.191.25.124,54.236.202.5
10 Jul 2015 01:24:34 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:34 DEBUG headers - << Content-Length: 42
10 Jul 2015 01:24:34 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:34 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:34 WARN RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 400 (Bad Request); invoking error handler
10 Jul 2015 01:24:34 DEBUG wire - << "Error 400: SRVE0295E: Error reported: 400[\n]"
10 Jul 2015 01:24:34 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:34 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:34 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@51a3adb, testMethod = doCashoutTest@ValueLinkClientTest, testException = org.springframework.web.client.HttpClientErrorException: 400 Bad Request, mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:34 DEBUG ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:34 DEBUG ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:34 DEBUG DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@292f062b, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
10 Jul 2015 01:24:34 DEBUG CacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
10 Jul 2015 01:24:34 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private org.springframework.web.client.RestTemplate com.firstdata.firstapi.client.AbstractClientTest.restTemplate
10 Jul 2015 01:24:34 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'restTemplate'
10 Jul 2015 01:24:34 DEBUG InjectionMetadata - Processing injected method of bean 'com.firstdata.firstapi.client.ValueLinkClientTest': AutowiredFieldElement for private com.firstdata.firstapi.client.FirstAPIClientV2Helper com.firstdata.firstapi.client.AbstractClientTest.client
10 Jul 2015 01:24:34 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'client'
10 Jul 2015 01:24:34 DEBUG FirstAPIClientV2Helper - SecureRandom nonce:1187795318589661846
10 Jul 2015 01:24:34 DEBUG FirstAPIClientV2Helper - API_SECRET:b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:34 INFO FirstAPIClientV2Helper - T122hkGQRNcqfFMcOka51aqfNyPm8Gmi11877953185896618461436509474476fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6{"transaction_type":"BALANCE_INQUIRY","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}
10 Jul 2015 01:24:34 INFO FirstAPIClientV2Helper - MacHAsh:[-84, -56, -78, 120, -43, -74, -37, -114, 79, -7, 45, 13, -13, 43, 16, 47, -126, -56, -116, -23, 41, 33, 112, -73, 49, 51, 125, -47, -94, 24, -8, -4]
10 Jul 2015 01:24:34 INFO FirstAPIClientV2Helper - Apache common value:acc8b278d5b6db8e4ff92d0df32b102f82c88ce9292170b731337dd1a218f8fc
10 Jul 2015 01:24:34 INFO FirstAPIClientV2Helper - Authorize: YWNjOGIyNzhkNWI2ZGI4ZTRmZjkyZDBkZjMyYjEwMmY4MmM4OGNlOTI5MjE3MGI3MzEzMzdkZDFhMjE4ZjhmYw==
10 Jul 2015 01:24:34 DEBUG RestTemplate - Created POST request for "https://api-cert.payeezy.com/v1/transactions"
10 Jul 2015 01:24:34 DEBUG RestTemplate - Setting request Accept header to [application/json, application/*+json]
10 Jul 2015 01:24:34 DEBUG RestTemplate - Writing [com.firstdata.firstapi.client.domain.v2.TransactionRequest@28dc7beb] using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@9427fe2]
10 Jul 2015 01:24:34 DEBUG PoolingClientConnectionManager - Connection request: [route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:34 DEBUG PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:34 DEBUG DefaultHttpClient - Stale connection check
10 Jul 2015 01:24:34 DEBUG RequestAddCookies - CookieSpec selected: best-match
10 Jul 2015 01:24:34 DEBUG RequestAuthCache - Auth cache not set in the context
10 Jul 2015 01:24:34 DEBUG RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
10 Jul 2015 01:24:34 DEBUG DefaultHttpClient - Attempt 1 to execute request
10 Jul 2015 01:24:34 DEBUG DefaultClientConnection - Sending request: POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:34 DEBUG wire - >> "POST /v1/transactions HTTP/1.1[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Accept: application/json, application/*+json[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "timestamp: 1436509474476[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Authorization: YWNjOGIyNzhkNWI2ZGI4ZTRmZjkyZDBkZjMyYjEwMmY4MmM4OGNlOTI5MjE3MGI3MzEzMzdkZDFhMjE4ZjhmYw==[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "nonce: 1187795318589661846[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Content-Length: 677[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Host: api-cert.payeezy.com[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "Connection: Keep-Alive[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - >> "[\r][\n]"
10 Jul 2015 01:24:34 DEBUG headers - >> POST /v1/transactions HTTP/1.1
10 Jul 2015 01:24:34 DEBUG headers - >> Accept: application/json, application/*+json
10 Jul 2015 01:24:34 DEBUG headers - >> timestamp: 1436509474476
10 Jul 2015 01:24:34 DEBUG headers - >> Authorization: YWNjOGIyNzhkNWI2ZGI4ZTRmZjkyZDBkZjMyYjEwMmY4MmM4OGNlOTI5MjE3MGI3MzEzMzdkZDFhMjE4ZjhmYw==
10 Jul 2015 01:24:34 DEBUG headers - >> token: fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6
10 Jul 2015 01:24:34 DEBUG headers - >> nonce: 1187795318589661846
10 Jul 2015 01:24:34 DEBUG headers - >> pzsecret: b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c
10 Jul 2015 01:24:34 DEBUG headers - >> apikey: T122hkGQRNcqfFMcOka51aqfNyPm8Gmi
10 Jul 2015 01:24:34 DEBUG headers - >> Content-Type: application/json;charset=UTF-8
10 Jul 2015 01:24:34 DEBUG headers - >> Content-Length: 677
10 Jul 2015 01:24:34 DEBUG headers - >> Host: api-cert.payeezy.com
10 Jul 2015 01:24:34 DEBUG headers - >> Connection: Keep-Alive
10 Jul 2015 01:24:34 DEBUG headers - >> User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
10 Jul 2015 01:24:34 DEBUG wire - >> "{"transaction_type":"BALANCE_INQUIRY","merchant_ref":null,"method":"valuelink","amount":"600","currency_code":"USD","transaction_tag":null,"credit_card":null,"billing_address":null,"soft_descriptors":null,"3DS":null,"tele_check":null,"valuelink":{"cardholder_name":"Simulated User","cc_number":"7777042858204660","amount":null,"credit_card_type":"Gift","card_cost":null,"reference_3":null,"virtual_card":null,"previous_balance":null,"current_balance":null,"currentBalance":null,"cardHoldersName":"Simulated User","dollarAmount":null,"virtualCard":null,"prevoiusBalance":null,"cardCost":null,"cardNumber":"7777042858204660","reference3":null,"ean":"71065155","cardType":"Gift"}}"
10 Jul 2015 01:24:34 DEBUG wire - << "HTTP/1.1 400 Bad Request[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "$WSEP: [\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "Content-Language: en-US[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "Content-Type: text/html;charset=ISO-8859-1[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "Date: Fri, 10 Jul 2015 06:24:33 GMT[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "OPTR_CXT: 010001000031f2492e-87b6-4aaa-b638-1663e27259db00000000-0000-0000-0000-000000000000-1 HTTP ;[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "X-Archived-Client-IP: 10.191.25.124[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "X-Backside-Transport: FAIL FAIL,FAIL FAIL[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "X-Client-IP: 10.191.25.124,107.23.55.229[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "X-Powered-By: Servlet/3.0[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "Content-Length: 42[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "Connection: keep-alive[\r][\n]"
10 Jul 2015 01:24:34 DEBUG wire - << "[\r][\n]"
10 Jul 2015 01:24:34 DEBUG DefaultClientConnection - Receiving response: HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:34 DEBUG headers - << HTTP/1.1 400 Bad Request
10 Jul 2015 01:24:34 DEBUG headers - << $WSEP:
10 Jul 2015 01:24:34 DEBUG headers - << Content-Language: en-US
10 Jul 2015 01:24:34 DEBUG headers - << Content-Type: text/html;charset=ISO-8859-1
10 Jul 2015 01:24:34 DEBUG headers - << Date: Fri, 10 Jul 2015 06:24:33 GMT
10 Jul 2015 01:24:34 DEBUG headers - << OPTR_CXT: 010001000031f2492e-87b6-4aaa-b638-1663e27259db00000000-0000-0000-0000-000000000000-1 HTTP ;
10 Jul 2015 01:24:34 DEBUG headers - << X-Archived-Client-IP: 10.191.25.124
10 Jul 2015 01:24:34 DEBUG headers - << X-Backside-Transport: FAIL FAIL,FAIL FAIL
10 Jul 2015 01:24:34 DEBUG headers - << X-Client-IP: 10.191.25.124,107.23.55.229
10 Jul 2015 01:24:34 DEBUG headers - << X-Powered-By: Servlet/3.0
10 Jul 2015 01:24:34 DEBUG headers - << Content-Length: 42
10 Jul 2015 01:24:34 DEBUG headers - << Connection: keep-alive
10 Jul 2015 01:24:34 DEBUG DefaultHttpClient - Connection can be kept alive indefinitely
10 Jul 2015 01:24:34 WARN RestTemplate - POST request for "https://api-cert.payeezy.com/v1/transactions" resulted in 400 (Bad Request); invoking error handler
10 Jul 2015 01:24:34 DEBUG wire - << "Error 400: SRVE0295E: Error reported: 400[\n]"
10 Jul 2015 01:24:34 DEBUG PoolingClientConnectionManager - Connection [id: 0][route: {s}->https://api-cert.payeezy.com] can be kept alive indefinitely
10 Jul 2015 01:24:34 DEBUG PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://api-cert.payeezy.com][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 100]
10 Jul 2015 01:24:34 DEBUG DirtiesContextTestExecutionListener - After test method: context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = com.firstdata.firstapi.client.ValueLinkClientTest@292f062b, testMethod = doReloadTest@ValueLinkClientTest, testException = org.springframework.web.client.HttpClientErrorException: 400 Bad Request, mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
10 Jul 2015 01:24:34 DEBUG DirtiesContextTestExecutionListener - After test class: context [[TestContext@5e45ffbf testClass = ValueLinkClientTest, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@61e79137 testClass = ValueLinkClientTest, locations = '{classpath:/META-INF/spring/core-rest-client-v2-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], dirtiesContext [false].
Tests run: 11, Failures: 0, Errors: 11, Skipped: 0, Time elapsed: 2.305 sec <<< FAILURE!
doVoidTest(com.firstdata.firstapi.client.ValueLinkClientTest) Time elapsed: 0.16 sec <<< ERROR!
org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:556)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:514)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:472)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:420)
at com.firstdata.firstapi.client.FirstAPIClientV2Helper.doPrimaryTransaction(FirstAPIClientV2Helper.java:193)
at com.firstdata.firstapi.client.AbstractClientTest.doPrimaryTransaction(AbstractClientTest.java:71)
at com.firstdata.firstapi.client.ValueLinkClientTest.getCurrentTestCardBalance(ValueLinkClientTest.java:240)
at com.firstdata.firstapi.client.ValueLinkClientTest.doVoidTest(ValueLinkClientTest.java:111)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

doPurchaseTest(com.firstdata.firstapi.client.ValueLinkClientTest) Time elapsed: 0.208 sec <<< ERROR!
org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:556)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:514)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:472)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:420)
at com.firstdata.firstapi.client.FirstAPIClientV2Helper.doPrimaryTransaction(FirstAPIClientV2Helper.java:193)
at com.firstdata.firstapi.client.AbstractClientTest.doPrimaryTransaction(AbstractClientTest.java:71)
at com.firstdata.firstapi.client.ValueLinkClientTest.getCurrentTestCardBalance(ValueLinkClientTest.java:240)
at com.firstdata.firstapi.client.ValueLinkClientTest.doPurchaseTest(ValueLinkClientTest.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

doNakedRefundTest(com.firstdata.firstapi.client.ValueLinkClientTest) Time elapsed: 0.191 sec <<< ERROR!
org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:556)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:514)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:472)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:420)
at com.firstdata.firstapi.client.FirstAPIClientV2Helper.doPrimaryTransaction(FirstAPIClientV2Helper.java:193)
at com.firstdata.firstapi.client.AbstractClientTest.doPrimaryTransaction(AbstractClientTest.java:71)
at com.firstdata.firstapi.client.ValueLinkClientTest.getCurrentTestCardBalance(ValueLinkClientTest.java:240)
at com.firstdata.firstapi.client.ValueLinkClientTest.doNakedRefundTest(ValueLinkClientTest.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

doNakedVoidTest(com.firstdata.firstapi.client.ValueLinkClientTest) Time elapsed: 0.296 sec <<< ERROR!
org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:556)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:514)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:472)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:420)
at com.firstdata.firstapi.client.FirstAPIClientV2Helper.doPrimaryTransaction(FirstAPIClientV2Helper.java:193)
at com.firstdata.firstapi.client.AbstractClientTest.doPrimaryTransaction(AbstractClientTest.java:71)
at com.firstdata.firstapi.client.ValueLinkClientTest.getCurrentTestCardBalance(ValueLinkClientTest.java:240)
at com.firstdata.firstapi.client.ValueLinkClientTest.doNakedVoidTest(ValueLinkClientTest.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

doPartialPurchaseTest(com.firstdata.firstapi.client.ValueLinkClientTest) Time elapsed: 0.188 sec <<< ERROR!
org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:556)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:514)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:472)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:420)
at com.firstdata.firstapi.client.FirstAPIClientV2Helper.doPrimaryTransaction(FirstAPIClientV2Helper.java:193)
at com.firstdata.firstapi.client.FirstAPIClientV2Helper.purchaseTransaction(FirstAPIClientV2Helper.java:219)
at com.firstdata.firstapi.client.AbstractClientTest.doPrimaryTransaction(AbstractClientTest.java:69)
at com.firstdata.firstapi.client.ValueLinkClientTest.doPartialPurchaseTest(ValueLinkClientTest.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

doActivationTest(com.firstdata.firstapi.client.ValueLinkClientTest) Time elapsed: 0.195 sec <<< ERROR!
org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:556)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:514)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:472)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:420)
at com.firstdata.firstapi.client.FirstAPIClientV2Helper.doPrimaryTransaction(FirstAPIClientV2Helper.java:193)
at com.firstdata.firstapi.client.AbstractClientTest.doPrimaryTransaction(AbstractClientTest.java:71)
at com.firstdata.firstapi.client.ValueLinkClientTest.doActivationTest(ValueLinkClientTest.java:198)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

doDeactivationTest(com.firstdata.firstapi.client.ValueLinkClientTest) Time elapsed: 0.204 sec <<< ERROR!
org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:556)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:514)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:472)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:420)
at com.firstdata.firstapi.client.FirstAPIClientV2Helper.doPrimaryTransaction(FirstAPIClientV2Helper.java:193)
at com.firstdata.firstapi.client.AbstractClientTest.doPrimaryTransaction(AbstractClientTest.java:71)
at com.firstdata.firstapi.client.ValueLinkClientTest.doDeactivationTest(ValueLinkClientTest.java:220)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

doBalanceInquiryTest(com.firstdata.firstapi.client.ValueLinkClientTest) Time elapsed: 0.201 sec <<< ERROR!
org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:556)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:514)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:472)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:420)
at com.firstdata.firstapi.client.FirstAPIClientV2Helper.doPrimaryTransaction(FirstAPIClientV2Helper.java:193)
at com.firstdata.firstapi.client.AbstractClientTest.doPrimaryTransaction(AbstractClientTest.java:71)
at com.firstdata.firstapi.client.ValueLinkClientTest.getCurrentTestCardBalance(ValueLinkClientTest.java:240)
at com.firstdata.firstapi.client.ValueLinkClientTest.doBalanceInquiryTest(ValueLinkClientTest.java:234)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

doRefundTest(com.firstdata.firstapi.client.ValueLinkClientTest) Time elapsed: 0.201 sec <<< ERROR!
org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:556)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:514)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:472)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:420)
at com.firstdata.firstapi.client.FirstAPIClientV2Helper.doPrimaryTransaction(FirstAPIClientV2Helper.java:193)
at com.firstdata.firstapi.client.AbstractClientTest.doPrimaryTransaction(AbstractClientTest.java:71)
at com.firstdata.firstapi.client.ValueLinkClientTest.getCurrentTestCardBalance(ValueLinkClientTest.java:240)
at com.firstdata.firstapi.client.ValueLinkClientTest.doRefundTest(ValueLinkClientTest.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

doCashoutTest(com.firstdata.firstapi.client.ValueLinkClientTest) Time elapsed: 0.247 sec <<< ERROR!
org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:556)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:514)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:472)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:420)
at com.firstdata.firstapi.client.FirstAPIClientV2Helper.doPrimaryTransaction(FirstAPIClientV2Helper.java:193)
at com.firstdata.firstapi.client.AbstractClientTest.doPrimaryTransaction(AbstractClientTest.java:71)
at com.firstdata.firstapi.client.ValueLinkClientTest.getCurrentTestCardBalance(ValueLinkClientTest.java:240)
at com.firstdata.firstapi.client.ValueLinkClientTest.doCashoutTest(ValueLinkClientTest.java:147)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

doReloadTest(com.firstdata.firstapi.client.ValueLinkClientTest) Time elapsed: 0.203 sec <<< ERROR!
org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88)
at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:556)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:514)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:472)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:420)
at com.firstdata.firstapi.client.FirstAPIClientV2Helper.doPrimaryTransaction(FirstAPIClientV2Helper.java:193)
at com.firstdata.firstapi.client.AbstractClientTest.doPrimaryTransaction(AbstractClientTest.java:71)
at com.firstdata.firstapi.client.ValueLinkClientTest.getCurrentTestCardBalance(ValueLinkClientTest.java:240)
at com.firstdata.firstapi.client.ValueLinkClientTest.doReloadTest(ValueLinkClientTest.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

10 Jul 2015 01:24:34 INFO GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@586c20e1: startup date [Fri Jul 10 01:24:25 CDT 2015]; root of context hierarchy
10 Jul 2015 01:24:34 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'lifecycleProcessor'
10 Jul 2015 01:24:34 INFO DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7d20b1ee: defining beans [restTemplate,client,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy
10 Jul 2015 01:24:34 DEBUG DefaultListableBeanFactory - Retrieved dependent beans for bean 'client': [com.firstdata.firstapi.client.FirstDataAPIClientV2Test, com.firstdata.firstapi.client.TeleCheckClientTest, com.firstdata.firstapi.client.ValueLinkClientTest]
10 Jul 2015 01:24:34 DEBUG DefaultListableBeanFactory - Retrieved dependent beans for bean 'org.springframework.http.converter.xml.SourceHttpMessageConverter#e37df1c': [restTemplate]
10 Jul 2015 01:24:34 DEBUG DisposableBeanAdapter - Invoking destroy() on bean with name 'org.springframework.http.client.HttpComponentsClientHttpRequestFactory#21ca402a'
10 Jul 2015 01:24:34 DEBUG PoolingClientConnectionManager - Connection manager is shutting down
10 Jul 2015 01:24:34 DEBUG DefaultClientConnection - Connection 0.0.0.0:64248<->54.86.75.121:443 closed
10 Jul 2015 01:24:34 DEBUG DefaultClientConnection - Connection 0.0.0.0:64248<->54.86.75.121:443 closed
10 Jul 2015 01:24:34 DEBUG PoolingClientConnectionManager - Connection manager shut down

Results :

Tests in error:
doVoidTest(com.firstdata.firstapi.client.TeleCheckClientTest): 400 Bad Request
doTaggedRefundTest(com.firstdata.firstapi.client.TeleCheckClientTest): 400 Bad Request
doTaggedVoidTest(com.firstdata.firstapi.client.TeleCheckClientTest): 400 Bad Request
doVoidTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doPurchaseTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doNakedRefundTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doNakedVoidTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doPartialPurchaseTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doActivationTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doDeactivationTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doBalanceInquiryTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doRefundTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doCashoutTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doReloadTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request

Tests run: 20, Failures: 0, Errors: 14, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.570 s
[INFO] Finished at: 2015-07-10T01:24:34-05:00
[INFO] Final Memory: 15M/218M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project firstapi-client: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Solupay Documents\Payeezy\payeezy_direct_API-master\payeezy_java\example\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException


vinmai4092
Re: Java GitHub sample - Not Working

I followed your directions but it still does not compile via mvn. Here is my core-rest-client-v2-context.xml entries:
<property name="appId" value="T122hkGQRNcqfFMcOka51aqfNyPm8Gmi" />
<property name="securedSecret" value="b4862542ee0d81c9b433c409ee8cfa0d2b520da5dedb6bc98a3815721b4fcb1c" />
<property name="token" value="fdoa-a480ce8951daa73262734cf102641994c1e55e7cdf4c02b6" />

Here's the error:

Tests in error:
doVoidTest(com.firstdata.firstapi.client.TeleCheckClientTest): 400 Bad Request
doTaggedRefundTest(com.firstdata.firstapi.client.TeleCheckClientTest): 400 Bad Request
doTaggedVoidTest(com.firstdata.firstapi.client.TeleCheckClientTest): 400 Bad Request
doVoidTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doPurchaseTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doNakedRefundTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doNakedVoidTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doPartialPurchaseTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doActivationTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doDeactivationTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doBalanceInquiryTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doRefundTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doCashoutTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request
doReloadTest(com.firstdata.firstapi.client.ValueLinkClientTest): 400 Bad Request

Tests run: 20, Failures: 0, Errors: 14, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.570 s
[INFO] Finished at: 2015-07-10T01:24:34-05:00
[INFO] Final Memory: 15M/218M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project firstapi-client: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Solupay Documents\Payeezy\payeezy_direct_API-master\payeezy_java\example\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException


rohitrajagopal3402
Re: Java GitHub sample - Not Working

Hi Vin,

I see that your valuelink transactions are 11 out of the 13 failed tests. It could probably be because the test gift card is not valid anymore. Our test gift cards expire every 15 days, so if you need to test payment methods related to gift cards, please reach out to us and we will create a new test gift card for you. For now, until Jul 14, you can use these test cards:

Simulated Card #1

"cardholder_name":"Simulated User",

"cc_number":"1932876544569988",

 

Simulated Card #2

"cardholder_name":"Simulated User",

"cc_number":"7777041716811963",

 

Could you please try the following:

1. Download the Java SDK, use the test gift cards above and run the JUnit tests without changing the apikey, apisecret, etc.

2. If step 1 is successful, use your apikey and apisecret and re-run the tests.

Let us know how it goes.

 

Best Regards,

Payeezy Team