Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Member
Posts: 5
Registered: ‎08-06-2014

authnet-sdk-java.jar

Hello -

 

I am trying to test our connection using Java and the DPM method.  I downloaded the SDK b ut didn't find authnet-sdk-java.jar  in it.  I wasn't able to compile our Servlet code without it as statements like:

 

net.authorize.sim.Result result = net.authorize.sim.Result.createResult(apiLoginId, MD5HashKey, request.getParameterMap());

 

needs it.  Can anyone help?  I have read the docs available and it says download the SDK and out the authnet-sdk-java.jar in the classpath.  Not sure where to get teh jar from.  We have developed the Order and Receipts forms using JSP/Servlet technology.

 

Thanks.

Michael

 

Posts: 2,765
Topics: 57
Kudos: 270
Blog Posts: 67
Registered: ‎12-05-2011

Re: authnet-sdk-java.jar

[ Edited ]

You might look at the updated quick start guide for Java located here: 

 

http://developer.authorize.net/integration/fifteenminutes/java/

 

Richard

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: authnet-sdk-java.jar

The SDK is the source, you will need to build it.

under "Build process" on https://github.com/AuthorizeNet/sdk-java

Member
Posts: 5
Registered: ‎08-06-2014

Re: authnet-sdk-java.jar

Hello -

 

Thanks for your response.  We don't use Marven;  we use JSP/Servlet in an OC4J environment.  Do you have any instructions or link to a doc that shows how to build the Jar file? 

 

better still, does an "already built" version exists anywhere?  We just need to use it to copile our code and test.

 

We are getting a bit desparate to get this working.

 

Thanks for your help.

 

Michael

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: authnet-sdk-java.jar

It been a long while since I touch java, but don't you need to compile a servlet?

Did you try open the SDK by itself as a project in the IDE?

Member
Posts: 5
Registered: ‎08-06-2014

Re: authnet-sdk-java.jar

Hellow -

 

Thanks for your message.  I posted another message a few minutes ago showing the error message I got while trying to build the jar file.  Maybe you can help with that.

 

Thanks.

Michael