This is a demo app that guides Android developers on how to integrate several popular payment platforms into their apps. This project is dedicated to all Open-Source Developers in the Milky Way. You guys are the real heroes!!!
Apart from the aforementioned platforms, there are several other platforms still in the works, feel free to contribute (to their respective branches) to hasten the release. They are:
If there's a popular payment platform you have experience with that's not included, fork the repo, create a new branch, write your awesome code and hit that pull request button.
Simply clone this repository and follow the code guides. Emphasis was put in making sure the code was well commented. Also, this app is simply a guide and wasn't built for direct installation; however, if you want to test-run any of the activities, simply place a launcher-type intent filter inside the activity tag in the manifest.
- Fork this repository.
- Navigate to the branch representing the payment platform you want to contribute to. If you want to add your own payment platform, simply create a new branch.
- Write your super awesome code with super detailed commenting.
- Test your code and ascertain that it is working fine.
- Get a cup of coffee (Ginger tea works fine too)
- Create a pull request while sipping from the cup.
- Android SDK 16 and above
- A completely registered account on The Official Paystack website
- A public key generated from the Paystack website
Before you proceed to do anything, make sure you have the following set up:
- Add the line: implementation 'co.paystack.android:paystack:3.0.10' to your app-level gradle dependency.
- Add the line: uses-permission android:name="android.permission.INTERNET" to your manifest.
After all of these have been satisfied, clone this repository, open it up in your android studio and follow the steps. They are well commented!
- Android Studio 3.0 and above
- Android 4.4 (KitKat) and above
- Google Play services version 11.4.0 or newer installed on the device.
- Add a payment method to your Google Account
Before you proceed to do anything, make sure you have the following set up:
- Add the following lines to your build.gradle (app) file:
- implementation 'com.google.android.gms:play-services-wallet:15.0.1'
- implementation 'com.android.support:support-v4:27.1.1'
- implementation 'com.android.support:appcompat-v7:27.1.1'
- Add the line: uses-permission android:name="android.permission.INTERNET" to your manifest.
After all of these have been satisfied, clone this repository, open it up in your android studio and follow the steps. They are well commented!