Hi,
I use AIM to integrate into our website. However, as I enter random credit card number...I got result object as null ...How could I got the response code/message.
--------------------
Result<Transaction> result = (Result<Transaction>) Aus.chargeCard(cust,order,creditCard,cart.getTotal());
if ((result != null)&&(result.isApproved()))
{
logger.info("Response :"+result.getResponseText());
}
else
// how I got response code/message here as result == null. I did see message printing out on screen as invalid credit card.
------------------
Thanks
07-26-2012 11:59 AM
FYi.
AuthorizeService Aus = new AuthorizeService();
...
07-26-2012 12:06 PM
Which language SDKs is this?
07-26-2012 12:37 PM - edited 07-26-2012 12:37 PM
This is in Java...
07-26-2012 07:17 PM
Not seeing where this chargeCard method is, it that custom code?
07-27-2012 04:25 AM
should be there...I got from sample code somewhere..and dont know where it is at now...but if I put the right credit card number, process go through....
07-27-2012 05:32 PM
You might be using a early version that might been fixed in the latest version.
07-27-2012 05:48 PM