-
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: Adds transaction initiation logic & Payments Manager - PayTM #6342
feat: Adds transaction initiation logic & Payments Manager - PayTM #6342
Conversation
order = safe_query(db, Order, 'identifier', order_identifier, 'identifier') | ||
paytmParams = dict() | ||
# body parameters | ||
paytm_params["body"] = { |
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.
undefined name 'paytm_params'
00e0a21
to
ecac5e5
Compare
"signature" : checksum | ||
} | ||
|
||
post_data = json.dumps(paytm_params) |
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.
undefined name 'json'
undefined name 'paytm_params'
ecac5e5
to
327055a
Compare
327055a
to
d0cce67
Compare
26bdf06
to
e11ff10
Compare
e11ff10
to
bc31ed1
Compare
Codecov Report
@@ Coverage Diff @@
## development #6342 +/- ##
==============================================
- Coverage 65.16% 64.9% -0.27%
==============================================
Files 287 288 +1
Lines 14810 14911 +101
==============================================
+ Hits 9651 9678 +27
- Misses 5159 5233 +74
Continue to review full report at Codecov.
|
5edb883
to
4c78749
Compare
7513697
to
83f336f
Compare
08a5e56
to
cc23865
Compare
0a15fc0
to
de840e1
Compare
de840e1
to
c20c2e9
Compare
8f6aee6
to
93e7bab
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.
@mrsaicharan1 add paytm
as a valid payment_mode
here -
"cheque", "onsite", "omise", "alipay"]), |
35df768
to
d38feb8
Compare
feat: added checksum file from paytm Added condition for sandbox & live added paytm in schema choices
d38feb8
to
66e58c0
Compare
@iamareebjamal Please review. |
Fixes #6341

Response Image
Short description of what this resolves:
This PR initiates the transaction to obtain the
txn
token to process the payments. Thistxn
token will be utilized for further processing and confirmation of the transaction in the later stages.Changes proposed in this pull request:
Checklist
development
branch.