Giter Club home page Giter Club logo

paytm_django's Introduction

Paytm Payments Gateway on Django 2.1.7 (Python 3)

Paytm

Paytm payments Gateway example.

Forked from here: paytm-django

Quick Start

  • First open your terminal and clone the project
git clone https://github.com/jaswal72/paytm_django.git
  • Open Project directory
  • Now install the requirements
pip install -r requirements.txt
Django==2.1.7
pkg-resources==0.0.0
pycryptodome==3.8.0
pytz==2018.9
  • Now go to payments ->settings.py and enter your credentials
PAYTM_MERCHANT_KEY = '' # < your production KEY >
PAYTM_MERCHANT_ID = '' # < your production ID >
PAYTM_WEBSITE = 'DEFAULT'
PAYTM_URL = 'https://securegw.paytm.in/theia/processTransaction'
  • Staging Credentials
PAYTM_MERCHANT_KEY = 'GvYRwo%@Vl2Ml19y' # < your staging key >
PAYTM_MERCHANT_ID = 'BiDzIl44175596745392' # < your staging ID >
PAYTM_WEBSITE = 'WEBSTAGING'
PAYTM_URL = 'https://securegw-stage.paytm.in/theia/processTransaction'
  • Make Migrations
python manage.py makemigrations
  • Migrate paytm app for transactions details
python manage.py migrate
  • 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/
    • Click Paytm Pay button to start payment

This should redirect you to Paytm Page. Test Credentials to use for login:

Card:
Card Number : Any Visa or Master Card
Expiration Month & Year : Any Future month and Year
CVV : 123
OTP : 123123

Wallet:
Mobile Number : 7777777777
Password : Paytm12345
OTP: 489871

Net Banking:
Bank : Andhra Bank
User : test
Password : test

Paytm reference Documentation:

For any issues contact me at:

[email protected]

paytm_django's People

Contributors

hashinclude72 avatar tanmayag8958 avatar

Stargazers

 avatar

Watchers

 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.