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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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