/P-integrate

A demo app that guides Android developers on how to integrate any of several popular payment platforms into their apps.

Primary LanguageJava

P-integrate

Overview

This is a demo app that guides Android developers on how to integrate several popular payment platforms into their apps.

Supported payment platforms

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.

Usage

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.

How to Contribute

  • 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.


Paystack

Documentation

Requirement:

Usage

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!



Google Pay

Documentation

Requirements:

Usage

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!



Acknowledgement

Special thanks to my siblings, Tawakalt and Abdul-salaam Oseni. Most times, a phone call to you guys is all the inspiration I need.