-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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: Transaction Processing logic & Wallet linking implementation #6399
Conversation
Codecov Report
@@ Coverage Diff @@
## development #6399 +/- ##
===============================================
- Coverage 64.9% 64.74% -0.16%
===============================================
Files 288 288
Lines 14912 14966 +54
===============================================
+ Hits 9678 9690 +12
- Misses 5234 5276 +42
Continue to review full report at Codecov.
|
response = requests.post(url, data=post_data, headers={"Content-type": "application/json"}) | ||
return response.json() | ||
|
||
@order_misc_routes.route('/orders/<string:order_identifier>/paytm/fetch-payment-options/<string:txn_token>') |
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.
expected 2 blank lines, found 1
else: | ||
url = "https://securegw.paytm.in/theia/api/v1/" # for production | ||
return url | ||
@staticmethod |
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.
expected 1 blank line, found 0
b30f882
to
9ed5a0f
Compare
5b655c5
to
ebe9502
Compare
6adefb0
to
d6bc2a3
Compare
@shreyanshdwivedi @uds5501 This is now ready for a review. Let's speed this up so that we can link it with the frontend pipeline. |
dd3ba93
to
859da6b
Compare
859da6b
to
a96d9b2
Compare
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.
I think the bin file isn't necessary here. Please remove it
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.
The implementation looks okay, but take care of extra files being added
a96d9b2
to
f88923b
Compare
@shreyanshdwivedi @uds5501 I've made the requested changes. Please have a look now. |
f88923b
to
386db97
Compare
@uds5501 @shreyanshdwivedi I've made the requested changes. This is ready for another review. |
I've also added the JWT decorator to ensure proper routing based on authentication. |
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.
Checked on the postman, working fine 👍
Will add the last API in my PR
Fixes #6247
Fixes #6353
Short description of what this resolves:
This PR aims to fetch the payment options available for a particular order, validate one-time passwords and process the transactions.
Changes proposed in this pull request: