Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nonesubham/razorpay-flask-integration
A simple flask (python) code to integrate Razorpay using it's SDK. On successful transaction it uses Callback URL redirection after getting True on payment signature verification.
https://github.com/nonesubham/razorpay-flask-integration
razorpay razorpay-api razorpay-flask razorpay-payment razorpay-python
Last synced: about 1 month ago
JSON representation
A simple flask (python) code to integrate Razorpay using it's SDK. On successful transaction it uses Callback URL redirection after getting True on payment signature verification.
- Host: GitHub
- URL: https://github.com/nonesubham/razorpay-flask-integration
- Owner: nonesubham
- Created: 2023-04-16T13:09:06.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-04-16T13:11:49.000Z (over 1 year ago)
- Last Synced: 2023-08-26T14:53:05.377Z (over 1 year ago)
- Topics: razorpay, razorpay-api, razorpay-flask, razorpay-payment, razorpay-python
- Language: Python
- Homepage: https://razorpay.com/docs/payments/payment-gateway/web-integration/standard/
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# RazorPay Integration In Flask (Python)
Razorpay SDK based payment integration in Flask (Python) with Callback URL Redirection on payment signature verification.
## Installation
```
pip install razorpay
```## Update Your Razorpay Credentials
##### [Main.py]("https://github.com/Subhamsaurav/razorpay-flask-integration/blob/master/main.py") Line 5```
client = razorpay.Client(auth=("rzp_id", "rzp_secret key"))
```
##### [Index.html]("https://github.com/Subhamsaurav/razorpay-flask-integration/blob/master/templates/index.html") Line 5```
"key": "rzp_id"
```
## Change User Data
##### [Index.html]("https://github.com/Subhamsaurav/razorpay-flask-integration/blob/master/templates/index.html") Line 13-17
```
"prefill": {
"name": "Gaurav Kumar",
"email": "[email protected]",
"contact": "9000090000"
},
```## Running Tests
```
python main.py
```## Issues? Changes?
Just open an issue/pull requests