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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-paytm-checkout-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08af52a370785b96866f0113bb2e9d494d3babe93c45a5c0e9c10eb2939fa3c2 |
|
MD5 | eb263963a3eba179797abfefa2b918f6 |
|
BLAKE2b-256 | 03364c3b09c9b5bf00850e7de80b2798f507605f3fa8321f98372579fc5223c2 |
Close
Hashes for django_paytm_checkout-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11910220dda038c01fb8d746bf4d61b53f23ed230a4bc421be7fd7feaf3623b0 |
|
MD5 | 7f34a873607c13c2434a9ce535234464 |
|
BLAKE2b-256 | 4816c5662a9360444ba3c903e5e57307c5361b924da28d21542d705c78547559 |