Skip to content

SDS712/Android-Payment-Gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Android E-Commerce app - PayTM Gateway

Android simple e-commerce with PayTM payment gateway integrated.

Tutorial Apk Video Demo

Android Ecommerce PayTM integration

Android Ecommerce PayTM integration

Backend REST API

This app uses the REST API built in Laravel to list down the products, manage orders and handling PayTM payment transactions.

Refer the Laravel PayTM project to know the REST API used for this project.

Changing the REST endpoint

Currenlty this repo uses the demo REST API provided. You can build the backend project and change the base url in app/build.gradle file.

productFlavors {
        dev {
            buildConfigField "String", "BASE_URL", "\"https://demo.androidhive.info/paytm/public/api/\""
            buildConfigField "String", "PAYTM_CALLBACK_URL", "\"https://securegw-stage.paytm.in/theia/paytmCallback?ORDER_ID=%s\""
            buildConfigField "boolean", "IS_PATM_STAGIN", "true"
        }

        prod {
            buildConfigField "String", "BASE_URL", "\"https://demo.androidhive.info/paytm/public/api/\""
            buildConfigField "String", "PAYTM_CALLBACK_URL", "\"https://securegw.paytm.in/theia/paytmCallback?ORDER_ID=%s\""
            buildConfigField "boolean", "IS_PATM_STAGIN", "false"
        }
    }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published