cancel
Showing results for 
Search instead for 
Did you mean: 

Java SDK - Unable to get form token using getHostedPaymentPageRequest API

Hi,

I'm trying to test getHostedPaymentPageRequest API using Java SDK. I'm getting the below-mentioned error. I'm using "anet-java-sdk-1.9.4" maven dependency. My JDK version is 1.7.

 

Please help me to resolve this issue.

 

[net.authorize.util.HttpClient] : Use Proxy: 'false'
[org.apache.http.impl.conn.BasicClientConnectionManager] : Get connection for route {s}->https://apitest.authorize.net:443
[org.apache.http.impl.conn.DefaultClientConnectionOperator] : Connecting to apitest.authorize.net:443
[org.apache.http.impl.conn.DefaultClientConnection] : Connection org.apache.http.impl.conn.DefaultClientConnection@5f122d62 closed
[org.apache.http.impl.conn.DefaultClientConnection] : Connection org.apache.http.impl.conn.DefaultClientConnection@5f122d62 shut down
[org.apache.http.impl.conn.BasicClientConnectionManager] : Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@2261adb1
[net.authorize.util.HttpCallTask] : Http request execute failed: 'Received fatal alert: protocol_version'
[net.authorize.util.HttpCallTask] : Adding ErrorMessage: Code: 'javax.net.ssl.SSLException', Text: 'Received fatal alert: protocol_version'
[net.authorize.util.HttpUtility] : Response: 'net.authorize.api.contract.v1.ANetApiResponse@75ae0c29'
[net.authorize.api.controller.base.ApiOperationBase] : Received Response:'net.authorize.api.contract.v1.ANetApiResponse@75ae0c29' for request:'net.authorize.api.contract.v1.GetHostedPaymentPageRequest@17d5176d'
[net.authorize.api.controller.base.ApiOperationBase] : Invalid response:'net.authorize.api.contract.v1.ANetApiResponse@75ae0c29'

Thank you,

Senthil Raja

snagarajan122
Member
0 REPLIES 0