-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
fix(connector): [fiuu]fix mandates for fiuu #6487
Conversation
Changed Files
|
let is_cit_transaction = pa.mandate_details.is_some() | ||
|| setup_future_usage | ||
.map(|future_usage| future_usage == common_enums::enums::FutureUsage::OffSession) | ||
.unwrap_or(false); |
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.
Can you move this variable out of the if let scope and replace the other check happening under this variable
@srujanchikke Fix is required for cypress test to pass(Mandate flow with mandate id). Please assign someone or you can take this as seperate PR. As of now ill merge this. CC : @pranav-arjunan |
billing: { | ||
address: { | ||
line1: "1467", | ||
line2: "Harrison Street", | ||
line3: "Harrison Street", | ||
city: "San Fransico", | ||
state: "California", | ||
zip: "94122", | ||
country: "NL", | ||
first_name: "joseph", | ||
last_name: "Doe", | ||
}, | ||
email: "johndoe@gmail.com" | ||
}, |
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.
this could have been an object instead :/
Co-authored-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-N7WRTY72X7.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-N7WRTY72X7.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Type of Change
Description
This PR fixes following things
-> Required fileds for mandates for fiuu
-> fix check for required fileds for mandates
-> add 3ds cypress 3ds test case
Additional Changes
Motivation and Context
How did you test it?
added cypress tests
Checklist
cargo +nightly fmt --all
cargo clippy