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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d740c30e96bd0873bf223ae2d811f07c25a35a3fd84bd57df4b6ead8c2152738 |
|
MD5 | 8c5a2ca481c92f06a96c4ac9dd072e71 |
|
BLAKE2b-256 | f796d47d54caf384589b9096950f45da608f19ac62f1e83a6e14077c8d13c4cb |
Close
Hashes for django_paytm_checkout-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5444b92d1fedf76a8f38614b37fde63715466829408b7e7731536b32e84e20e |
|
MD5 | af658daf8b2e5669536d23020ac37bc6 |
|
BLAKE2b-256 | ec68bfd4d7a7a21a23b0214d3cf5faecc02ab6d99d0d08b8f851fa00722b60ab |