cancel
Showing results for 
Search instead for 
Did you mean: 

ARB integration with Android app

Hi 

 

I am trying to integrate authorize.net with my mobile android application.

 

trying to use ARB(recurring billing) feature.

 

when i am trying to integrate i have ended with jaxb problems.

 

When we populate start Date in the PaymentScheduleType for subscription info, it takes an instane of XML Gregorian calendar which is created from DatatypeFactory.

 

It is by default not present in Android.

 

If include Xerces.jar which has jaxb implementation, android does not get build and errors with  

 

 

Caused by: java.lang.IllegalArgumentException: bad utf-8 byte a0 at offset 00000004
	at com.android.dx.rop.cst.CstString.throwBadUtf8(CstString.java:171)
	at com.android.dx.rop.cst.CstString.utf8BytesToString(CstString.java:143)
	at com.android.dx.rop.cst.CstString.<init>(CstString.java:200)
	at com.android.dx.cf.cst.ConstantPoolParser.parseUtf8(ConstantPoolParser.java:371)
	... 45 more
[2015-12-22 11:50:17 - CX3] Dx 1 error; aborting
[2015-12-22 11:50:17 - CX3] Conversion to Dalvik format failed with error 1

 

I could not find any relevant/related documentation.

So wanted to know, how did any one integrate Android app with authorize.net for ARB feature.

 

Thanks 

amar7556
Member
1 REPLY 1

Hello @amar7556

 

Are you still having problems implementing ARB within your Android app?

 

Richard

RichardH
Administrator Administrator
Administrator