Skip to content

Android e-commerce with PayTM payment gateway integration

Notifications You must be signed in to change notification settings

dbMundada/Android-E-Commerce-PayTM

 
 

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

Android e-commerce with PayTM payment gateway integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%