Reply
Highlighted
Member
Posts: 6
Registered: ‎10-16-2014

Re: Android Card Present AIM Intergration : Error E00000

Hi, 

   I am also facing same issue. I  have tried sending both track1 and track2 data, but it is throwing Unknown error. If your problem is solved. please help me with this. I am using IDTECH Unipay Card reader.

Highlighted
Member
Posts: 6
Registered: ‎10-16-2014

Re: Android Card Present AIM Intergration : Error E00000

Hi RiteshMishra,

    Is your problem Solved. If, so please give me the details how you solved it. I am also getting the same issue.

 

Thanks in Advance,

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

Re: Android Card Present AIM Intergration : Error E00000

Have you looked at the sample Android application on GitHub?

Highlighted
Member
Posts: 6
Registered: ‎10-16-2014

Re: Android Card Present AIM Intergration : Error E00000

Hi Richard,

     

     There is no integration of card swipe in the sample application. So, i am setting track info like this

 

String refId = Long.toString(System.currentTimeMillis());
BigDecimal totalAmount = new BigDecimal(pay_now_total);

CreditCard creditCard = CreditCard.createCreditCard();
creditCard.setTrack2(trac2_details);

 

Order order = Order.createOrder();
order.setTotalAmount(new BigDecimal(pay_now_total));
order.setDescription("Android Test Order");

Customer customer = null;
Address shippingAddress = null;
ShippingCharges shippingCharges = null;
EmailReceipt emailReceipt = null;
HashMap<String, String> merchantDefinedFields = new HashMap<String, String>();
merchantDefinedFields.put("notes", "sent from SampleActivity");

 

Intent authNetIntent = authNetObj.createAIMAuthOnlyIntent(DashBoard.this, refId,totalAmount,
creditCard, order, customer, shippingAddress,shippingCharges, emailReceipt,
merchantDefinedFields);
launchSubActivity(authNetIntent, createPaymentIntentResultCallback());

 

I have removed first and last character of track2 and sent it. It is throwing me E00000: Unknown error.

 

Highlighted
Contributor
Posts: 16
Registered: ‎11-14-2014

Re: Android Card Present AIM Intergration : Error E00000

Your correct, there is no example of the using the swipe in such sample stated above ! Right now i am only able to use the Shuttle both Production and Developer version using the production Authorize.net app from Play Store. I have not been able to get the swipe to work using the sample app in Github.

 

If anyone has a sample app that has been able to get the swipe to work please share it in Github. Thank you

Highlighted
Member
Posts: 6
Registered: ‎10-16-2014

Re: Android Card Present AIM Intergration : Error E00000

Hi,

 Swipe is working fine after i added the line in the code.

 

CreditCard creditCard = CreditCard.createCreditCard();
creditCard.setCardPresent(true);

 

Thanks