-
Notifications
You must be signed in to change notification settings - Fork 65
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: HS-132: Passing Card Holder Name in Saved Cards Flow #50
Conversation
2afdcf7
to
82cef11
Compare
82cef11
to
3ba2996
Compare
if !isAllStoredCardsHaveName { | ||
acc->Js.Dict.set( | ||
"payment_method_data.card_token.card_holder_name", | ||
value->Js.Json.string, |
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.
Where is this value coming from? Also are complete/empty handled for this case?
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.
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.
There needs to be a refactor following this to add the card holder name inside the body of the saved card box instead of outside with other Dynamic Fields
# [0.13.0](v0.12.5...v0.13.0) (2023-11-29) ### Features * HS-132: Passing Card Holder Name in Saved Cards Flow ([#50](#50)) ([62812a4](62812a4))
# [0.13.0](juspay/hyperswitch-web@v0.12.5...v0.13.0) (2023-11-29) ### Features * HS-132: Passing Card Holder Name in Saved Cards Flow ([#50](juspay/hyperswitch-web#50)) ([62812a4](juspay/hyperswitch-web@62812a4))
MultiIframeFix Approved-by: Bopanna M J
Merge in EXC/orca-elements from gpay/camelcase/case to master * commit '697429f546cf08e68ca0f53aa0cb17eff7d4e277': Added new case for CamelCase
Problem Description - Required to pass card holder name in confirm call for saved cards
Solution - Backend will check whether the stored card has card_holder_name present in the locker. If it is not there, in that scenario it will check whether it is being passed in the confirm body.
Therefore, added check to render card holder name and pass in the confirm call if the following condition pass -
Sample Confirm Request -
Backend Pr - juspay/hyperswitch#2982