https://github.com/ravi8x/android-e-commerce-paytm
Android e-commerce with PayTM payment gateway integration
https://github.com/ravi8x/android-e-commerce-paytm
android e-commerce paytm-payments paytmsdk
Last synced: 11 months ago
JSON representation
Android e-commerce with PayTM payment gateway integration
- Host: GitHub
- URL: https://github.com/ravi8x/android-e-commerce-paytm
- Owner: ravi8x
- Created: 2019-02-26T13:13:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-26T17:58:20.000Z (over 7 years ago)
- Last Synced: 2025-05-03T10:47:00.665Z (about 1 year ago)
- Topics: android, e-commerce, paytm-payments, paytmsdk
- Language: Java
- Size: 330 KB
- Stars: 96
- Watchers: 8
- Forks: 77
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Android E-Commerce app - PayTM Gateway
===================
Android simple e-commerce with PayTM payment gateway integrated.
| [Tutorial](https://www.androidhive.info/2019/02/android-integrating-paytm-payment-gateway-ecommerce-app/) | [Apk](http://download.androidhive.info/apk/mart9-paytm.apk) | [Video Demo](https://www.youtube.com/watch?v=SSgG1t63MjM)|
|----------|--------|------|


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](https://github.com/ravi8x/Laravel-PayTM-Server) 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.
```gradle
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"
}
}
```