Qattah Pay Android SDK Library

Qattah Pay Android SDK Library is a payment integration library that allows merchants to accept payments in their Android applications.

Getting Started

To include the Qattah Pay Android SDK Library in your Android application, follow these steps:

  1. Add the following to your project-level build.gradlefile:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

or add this to your project settings.gradle:

dependencyResolutionManagement {
    ...
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}
  1. Add the following to your app-level build.gradle file:

dependencies {
    implementation 'com.github.QattahPay:qattahpay-android-sdk:3.2.0@aar'
}

Usage

To use the QattahPay Android SDK Library, you need to initialize it in your application's onCreate() method:

To make a payment request, you need to create a PaymentRequest object and call the startPayment() method:

You can handle all callbacks by creating a local object for the Qattah Pay Callback Service in your activity by following the below steps

License

This library is licensed under the MIT License.

Last updated