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

Re: AIM: Transactions by ID always returns "An error occurred during processing. Please try

Haven't read anybody having issue with the java SDK.

But you could try debug it

https://github.com/AuthorizeNet/sdk-java/blob/master/src/main/java/net/authorize/util/HttpClient.jav...

look like it build the aim data in method and see what is getting generated

private static HttpPost createHttpPost(Environment env, Transaction transaction)

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

Re: AIM: Transactions by ID always returns "An error occurred during processing. Please try

[ Edited ]

Did you set the setDeviceType and setMarketType? that only use for card present.

Highlighted
Contributor
Posts: 12
Registered: ‎09-15-2014

Re: AIM: Transactions by ID always returns "An error occurred during processing. Please try

As suggested, I have debugged the code and the data is posting to URL : https://sandbox.authorize.net/gateway/transact.dll

 

and I am seeing the response as HTTP/1.1 404 Not Found 

So sdk returning as RRC_3_22

 

I am sending environment as SANDBOX.

 

Is above post url the sdk making correct?

 

Thanks

 

 

Highlighted
Contributor
Posts: 12
Registered: ‎09-15-2014

Re: AIM: Transactions by ID always returns "An error occurred during processing. Please try

No I am not setting any devicetype and markettype.

 

Thanks

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

Re: AIM: Transactions by ID always returns "An error occurred during processing. Please try

That is, look like the master branch on github was wrong, use the sdk-fixes branch.

https://github.com/AuthorizeNet/sdk-java/blob/sdk-fixes/src/main/java/net/authorize/Environment.java