Flask Instamojo Payment Gateway Integration Using Python 3 SDK Full Tutorial For Beginners 2020

You are currently viewing Flask Instamojo Payment Gateway Integration Using Python 3 SDK Full Tutorial For Beginners 2020

 

 

Welcome folks today in this tutorial we will be integrating instamojo payment gateway in python 3 using python sdk and web framework called as flask. The full source code of the application is given below. A step by step youtube video is also shown below.

 

 

 

 

 

 

 

Get Started

 

 

In order to get started we need to first of all install this dependency which is given below

 

pip install instamojo-wrapper

 

 

 

 

 

 

 

After installing this make a app.py file and copy paste the following code which is shown below

 

 

 

 

 

 

Here you need to replace your own private api key and private auth token from your instamojo dashboard and copy paste inside this script.

 

Now we need to create the templates home.html and success.html for the home route and success route respectively.

 

 

home.html

 

 

 

 

 

 

success.html

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DOWNLOAD SOURCE CODE

 

 

 

Leave a Reply