-
Couldn't load subscription status.
- Fork 1.9k
feat: endpoint to fetch transaction status of an order via paytm #6402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: endpoint to fetch transaction status of an order via paytm #6402
Conversation
|
This PR can be merged only after #6399 is merged. |
Codecov Report
@@ Coverage Diff @@
## development #6402 +/- ##
=============================================
- Coverage 64.49% 64.4% -0.1%
=============================================
Files 288 288
Lines 15039 15056 +17
=============================================
- Hits 9700 9697 -3
- Misses 5339 5359 +20
Continue to review full report at Codecov.
|
5c18b3f to
58804ed
Compare
768c404 to
03299e0
Compare
03299e0 to
1ecac67
Compare
1ecac67 to
f0e7d19
Compare
|
@uds5501 @mrsaicharan1 please review this |
|
@mrsaicharan1 please review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additionally, I've also created a method which serves as a helper to hit the endpoint instead of repeating code in each of the route's mapped functions. Please make use of it :)
open-event-server/app/api/helpers/payment.py
Line 345 in 003bf08
| def hit_paytm_endpoint(url, head, body=None): |
|
@mrsaicharan1 I cannot use the helper |
|
@iamareebjamal please review |
Fixes #6401
Short description of what this resolves:
Implement route to get transaction status of the payment to verify if payment is actually made or not
Changes proposed in this pull request:
Checklist
developmentbranch.