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.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

django_paytm_checkout-0.0.2-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-paytm-checkout-0.0.2.tar.gz
  • Upload date:
  • Size: 4.6 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.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.4

File hashes

Hashes for django-paytm-checkout-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d740c30e96bd0873bf223ae2d811f07c25a35a3fd84bd57df4b6ead8c2152738
MD5 8c5a2ca481c92f06a96c4ac9dd072e71
BLAKE2b-256 f796d47d54caf384589b9096950f45da608f19ac62f1e83a6e14077c8d13c4cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_paytm_checkout-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.9 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.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.4

File hashes

Hashes for django_paytm_checkout-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c5444b92d1fedf76a8f38614b37fde63715466829408b7e7731536b32e84e20e
MD5 af658daf8b2e5669536d23020ac37bc6
BLAKE2b-256 ec68bfd4d7a7a21a23b0214d3cf5faecc02ab6d99d0d08b8f851fa00722b60ab

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