Hi ,
I am doing an integration of my android with authorize.net sdk to accept card present transactions. Every thing works fine except to the ponit when we submit the transaction for processing, we are getting an error E00000 - Unknown error. We are not able to find the root cause of this error.
Can you please help? I have already spent 3 days trying to debug this.
Regards,
Ritesh
05-30-2014 05:45 AM
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.
10-16-2014 10:16 PM
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,
10-16-2014 10:57 PM
Have you looked at the sample Android application on GitHub?
10-17-2014 08:52 AM
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.
10-18-2014 12:09 AM
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
11-26-2014 04:20 PM
Hi,
Swipe is working fine after i added the line in the code.
CreditCard creditCard = CreditCard.createCreditCard();
creditCard.setCardPresent(true);
Thanks
03-16-2015 12:45 AM