Giter VIP home page Giter VIP logo

sdk-android's Introduction

Authorize.Net Android SDK

The Android SDK is meant to offer an easy approach to collecting payments on the Android mobile devices. It's an addition to the Authorize.Net Java SDK. The Android SDK provides a fast and easy way for Android developers to quickly integrate mobile payments without having to write the boiler plate code themselves that is necessary to communicate with the Authorize.Net gateway.

The SDK is comprised of the following Authorize.Net APIs:

* AIM - Advanced Integration Method
* Transaction Details
* CIM - Customer Information Manager

Examples of implementation and integration will be published shortly. The examples do not cover the app building process, but offer the necessary pieces of information to help the developer add Authorize.Net payment gateway function- ality to their app.

Every example will require that the necessary Authorize.Net SDK components exist in the project (either create a new project, or update a current project).

Here are those steps:

  • Add the Authorize.Net Android SDK library to your project in your environment workspace. If you would like to easily import the SDK project into Eclipse, run 'unzip eclipse_files.zip' from the command line in the anet_android_sdk directory. Make sure the files get unzipped directly into the root SDK directory.

  • If your AndroidManifest.xml file doesn't already allow access to the Internet and your phone state, make sure to add the following snippet in the manifest element.

  <uses-permission android:name="android.permission.INTERNET"/>
  <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
  <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
  • Add the according activity declarations to the AndroidManifest.xml within the application element of your app. Every activity declaration is NOT necessary, only the ones that are explicitly used in the app are required.

  • The developer will need to create a layout that will be used to collect the account login id and password. These two pieces of information should be EditText objects. Additionally a cancel and validate/ok button will need to be placed in the layout as well. They don't have to be visible, but they must exist. The SDK takes the Android id's of these components and uses them when it's necessary to login to the Authorize.Net gateway. The logic is handled by the SDK, but the UI is flexible and must be implemented by the developer.

sdk-android's People

Contributors

fezzubair avatar ncpga avatar hpreslier avatar triciasfu avatar brianmc avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.