PaymentKit-Droid is an Open Source Android library that allows developers to create sleek payment forms like those made popular by StubHub, Stripe, Uber, and Postmates. The library provides support for as far back as 2.1.
The PKExample provides an example implementation pattern you may follow.
Right now you'll need to add this project as a submodule project to Android Studio. For more information see http://www.ipreferjim.com/2013/06/android-studio-and-library-projects/
A sample app will soon be available on the google play store.
Feel free to leave requests and feedback through github (brendanw) or twitter (elbrendan).
You can also find my contact information at http://www.brendanweinstein.me
Things to be added in the future:
- AAR getting added to maven central
- Better handling of spacing for landscape mode
- Support for more cards
- More error messaging ability options
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.