First I tried to integrate Authorize.Net in a simple Android Studio project.
The sample code from github only has the credit charging method.
I would like to implement the createCustomerProfile method, but the api sample codes are not working.
What I tried:
-importing the Authorize.Net sdk from various sites (no helpful article on the gradle components)
with the gradle dependencies added, the error pointed to a noSuchDef - JAXBContext error
-imported the Authorize.Net sdk files manually and imported 2900 other java files to be able to build the project
with this I got an error which said the java.util.Map doesn't have a createContext method....
-tried to make a simple json-api request based on the Authorize.Net JSON examples, but it says:
The element 'transactionRequest' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'amount' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'transactionType' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.
Which is ridiculous, because it works on the website...
03-24-2017 03:02 AM