Skip to main content

A simple and modular django app to help with Paytm checkout and custom checkout

Project description

Django Paytm Checkout

A simple modular approach for Paytm's checkout and custom checkout

Installation

Use pip to install from PyPI:

pip install django-paytm-checkout

Configuration

Configure your django project by adding the following in your settings:

PAYTM_MERCHANT_ID = 'YOUR_PAYTM_MERCHANT_ID'
PAYTM_MERCHANT_KEY = 'YOUR_PAYTM_MERCHANT_KEY'
PAYTM_INDUSTRY = 'YOUR_INDUSTRY_TYPE'
PAYTM_WEBSITE = 'YOUR_PAYTM_WEBSITE'

Setting the environment:

PAYTM_DEBUG = True 
# default: True (for staging)
# False (for production)

These are optional settings, change if it not the same as default:

PAYTM_CHANNEL_WEBSITE = ''  # default: WEB
PAYTM_CHANNEL_MOBILE_APP = ''  # default: WAP

PAYTM_STAGING_DOMAIN = ''  # default: securegw-stage.paytm.in
PAYTM_PRODUCTION_DOMAIN = ''  # default: securegw.paytm.in

Using Default application

Add the following into your urls.py

from django.urls import path, include

urlpatterns = [
    path('paytm/', include('paytm.urls', namespace='paytm')),
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-paytm-checkout-0.0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

django_paytm_checkout-0.0.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file django-paytm-checkout-0.0.1.tar.gz.

File metadata

  • Download URL: django-paytm-checkout-0.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for django-paytm-checkout-0.0.1.tar.gz
Algorithm Hash digest
SHA256 08af52a370785b96866f0113bb2e9d494d3babe93c45a5c0e9c10eb2939fa3c2
MD5 eb263963a3eba179797abfefa2b918f6
BLAKE2b-256 03364c3b09c9b5bf00850e7de80b2798f507605f3fa8321f98372579fc5223c2

See more details on using hashes here.

File details

Details for the file django_paytm_checkout-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: django_paytm_checkout-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for django_paytm_checkout-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 11910220dda038c01fb8d746bf4d61b53f23ed230a4bc421be7fd7feaf3623b0
MD5 7f34a873607c13c2434a9ce535234464
BLAKE2b-256 4816c5662a9360444ba3c903e5e57307c5361b924da28d21542d705c78547559

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page