Skip to content
This repository has been archived by the owner. It is now read-only.
The open-source code for the provides fast, easy credit card scanning in mobile apps
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Standardize Feb 25, 2017
SampleApp Remove unnecessary logging Mar 17, 2017 Remove unused TAG Apr 26, 2018
gradle/wrapper Remove defined wrapper task and update gradle wrapper Mar 14, 2017
opencv Upgrade OpenCV to 2.4.13 Jan 20, 2017
sdk Fix missing punctuation in Mar 17, 2017
.gitignore Clean up .gitignore Sep 15, 2017
.gitmodules compile NDK with gradle Jan 2, 2015
.releasinator.rb Fix incorrect docs task Sep 16, 2017
.travis.yml Remove invalid travis webhook Sep 16, 2017
Gemfile Releasinator changes Aug 8, 2016
Gemfile.lock update releasinator gemfile Sep 20, 2016 Update license year and company May 16, 2016 Add automated card scanning tests Oct 20, 2016
Rakefile Releasinator changes Aug 8, 2016
build.gradle Remove defined wrapper task and update gradle wrapper Mar 14, 2017 Releasinator changes Aug 8, 2016
gradlew Remove defined wrapper task and update gradle wrapper Mar 14, 2017
gradlew.bat Remove defined wrapper task and update gradle wrapper Mar 14, 2017 clean up release process docs May 12, 2016
settings.gradle reformat gradle files Apr 2, 2015

Build Status logo

Credit card scanning for Android apps

This repository contains everything needed to build the library for Android.

What it does not yet contain is much in the way of documentation. 😿 So please feel free to ask any questions by creating github issues -- we'll gradually build our documentation based on the discussions there.

Note that this is actual production code, which has been iterated upon by multiple developers over several years. If you see something that could benefit from being tidied up, rewritten, or otherwise improved, your Pull Requests will be welcome! See for details.

Brought to you by PayPal logo


If you merely wish to incorporate within your Android app, simply download the latest official release from That repository includes complete integration instructions and sample code.

Dev Setup


  • Current version of the Android SDK. (obviously)
  • Android NDK. We've tested with r10e. At minimum, the Clang toolchain is required.

First build

There are a few bugs in the build process, so these steps are required for the first build:

  1. clone this repo
  2. $ cd
  3. init its dmz submodule: git submodule sync; git submodule update --init --recursive
  4. $ cp
  5. Edit with your env (Assuming you've defined $ANDROID_NDK correctly, run $ echo "$ANDROID_NDK" "$ANDROID_SDK"
  6. $ ./gradlew clean assembleDebug

Hints & tricks.



  1. Connect an Android 18 (or better) device.
  2. $ ./gradlew connectedAndroidTest

You should see the app open and run through some tests.

Un-official Release

$ ./gradlew clean Cleans and builds an aar file for distribution.

The official release process is described separately.

Contributors was created by Josh Bleecher Snyder.

Subsequent help has come from Brent Fitzgerald, Tom Whipple, Dave Goldman, Jeff Brateman, Roman Punskyy, Matt Jacunski, Dan Nizri, and Zach Sweigart.

And from you! Pull requests and new issues are welcome. See for details.

You can’t perform that action at this time.