Git Product home page Git Product logo

paytm-django's Introduction

Paytm-Python-Django (For python 3)

Paytm-Payment Gateway Example On Python-Django

  • First clone the project, open your terminal and enter the command
git clone https://github.com/harishbisht/paytm-django.git
  • Now create a virtual environment
virtualenv paytm
  • Now activate the virtual environment
source paytm/bin/activate
  • Now enter into the project folder
cd paytm-django/payments/
  • Now install the requirements
pip install -r requirements.txt
  • Now go to payments ->settings.py and enter your credentials
PAYTM_MERCHANT_KEY=  "<YOUR-PAYTM-MERCHANT-KEY>"
PAYTM_MERCHANT_ID = "<YOUR-PAYTM-MERCHANT-ID>"
PAYTM_CALLBACK_URL = "http://localhost:8000/response/"

*Staging Credentials

PAYTM_MERCHANT_KEY = "bKMfNxPPf_QdZppa"
PAYTM_MERCHANT_ID = "DIY12386817555501617"
PAYTM_WEBSITE = 'WEB_STAGING'

*Make Migrations

python manage.py makemigrations

*Migrate paytm app for transactions details

python manage.py migrate paytm

*Create Super user

python manage.py createsuperuser
python manange.py runserver

*Go to

1) http://localhost:8000/admin
    - Log in using superuser credentials
2) http://localhost:8000/paytm

This should redirect you to Paytm Page.
Test Credentials to use for login:
Mobile Number – 7777777777
Password – Paytm12345
OTP – 489871

Stuff used to make this:

paytm-django's People

Contributors

harishbisht avatar nareshchaudhary37 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.