Feature/payment module feat(payment): implement direct UPI link generation and QR Code generation and implemented suggestions #118
Conversation
|
Ok I have done my best. I hope my work will be helpful for the community. Thank You for the opportunity to work on a great issue. |
| # =============================== | ||
| security.jwt.secret=test-secret-key-for-testing-purposes-only-256-bits | ||
| security.jwt.expiration=3600000 | ||
| security.jwt.secret=${JWT_SECRET} |
|
Hi @SOUVIK-D10 , |
…0/RestroHub-GSSoC-2026 into feature/payment-module
|
Implemented changes see if any more modifications needed |
|
Hi @SOUVIK-D10 , We have UI to add Upid in admin panel we will store it in T_branch_master and for now 1 branch has only accept payment in 1 upid
|
|
Controller is ment only for testing and OrderController is updated |

Issue Link
Closes #97
Changes Made
Totally independent and follows a plug and play architecture. It is intended to be used as a independent module. This module generates QR Code in PNG format and UPI Payment links for receiving payment. UPI ID needed to be passed along with some other parameters to generate the required resource. As instructed(https://github.com/vivekkushwaha66/upi-deeplink-builder) payment tracking are not much focused and left for the future only DB storage methods are built.
Type of Change
Testing Performed
Link generation : perfectly ok -> UPI payable link
QR Code generation : perfectly ok -> QR Code image in PNG format
Mobile Phone test -> Links are opening in payment apps when sent via whatsapp
DB tests -> Working as intended
Backend Testing (if applicable)
Functionality Demo
(Recording is no possible for security reasons and in-app restrictions)
Generate the link and send it to mobile having a payment app on whatsapp. Then click on the link you will be redirected to payment page.
Future Improvements needed :
- Real Payment tracking.
- 3rd party Gateway intregation