Skip to content

AltaPay/android-payment-app

Repository files navigation

AltaPay - Android SDK (Demo Project & Library)

This repository contains a reusable AltaPay Merchant Android SDK along with a demo android application that demonstrates how to integrate and execute AltaPay payment flows using WebView.

Merchant API flow

Altapay-MobileApp-Setup

Checkout API flow

Altapay-MobileApp-Setup

Repository Overview

This project is structured as a multi-module Android project:

  1. AltaPay Merchant and Checkout SDK (Library Module)

    • Clean, reusable SDK for creating AltaPay payment requests
    • Retrofit + Kotlin + Coroutines based
    • No Android Context dependency
  2. Demo Android Application

    • Shows real-world SDK usage
    • WebView-based payment flow
    • Progress dialog handling

Repository Structure

android-payment-app/
│
├── altapayMerchant/  # Android Library module with merchant API
│   ├── src/main/java/
│   │   └── com.altapay.merchant
│   ├── build.gradle
│   └── consumer-rules.pro
│
├── altapayCheckout/  # Android Library module with Checkout API
│   ├── src/main/java/
│   │   └── com.altapay.merchant
│   ├── build.gradle
│   └── consumer-rules.pro
│
├── app/                     # Demo Android application
│   ├── src/main/java/
│   │   └── com.syeda.paymentdemo
│   ├── src/main/res/layout/
│   └── build.gradle
│
├── gradle/
├── build.gradle
├── settings.gradle
├── README.md
└── wiki.md

Prerequisites

  • Android Studio Hedgehog or newer
  • JDK 17
  • Android SDK 21+
  • Active Internet connection

Documentation

For more details please see docs

License

Distributed under the MIT License. See LICENSE for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •