fix(router): skip external three_ds flow for recurring payments#5730
Merged
Gnanasundari24 merged 2 commits intomainfrom Aug 28, 2024
Merged
fix(router): skip external three_ds flow for recurring payments#5730Gnanasundari24 merged 2 commits intomainfrom
Gnanasundari24 merged 2 commits intomainfrom
Conversation
|
Review changes with SemanticDiff. Analyzed 5 of 6 files. Overall, the semantic diff is 32% smaller than the GitHub diff.
|
crates/api_models/src/payments.rs
Outdated
| } | ||
|
|
||
| #[derive(Debug, Clone, serde::Serialize, serde::Deserialize)] | ||
| #[derive(Debug, Clone, serde::Serialize, serde::Deserialize, Eq, PartialEq)] |
Member
There was a problem hiding this comment.
We can derive Copy on this as well.
crates/router/src/core/payments.rs
Outdated
| &mut payment_data, | ||
| eligible_connectors, | ||
| mandate_type, | ||
| mandate_type.clone(), |
Member
There was a problem hiding this comment.
And then we can remove the clone here.
hrithikesh026
previously approved these changes
Aug 28, 2024
SanchithHegde
approved these changes
Aug 28, 2024
hrithikesh026
approved these changes
Aug 28, 2024
pixincreate
added a commit
that referenced
this pull request
Aug 28, 2024
* 'main' of github.com:juspay/hyperswitch: feat(connector): [FISERVEMEA] Integrate cards (#5672) ci(cypress): Add routing testcases (#5571) fix(router): skip external three_ds flow for recurring payments (#5730) refactor(customer_v2): fixed customer_v2 create panic issue (#5699) feat(user_roles): support switch for new hierarchy (#5692) refactor(router): add domain type for merchant_connector_account id (#5685) refactor(cypress_tests): handle api keys check in api key list call (#5719) feat(connector): [NEXIXPAY] Add template code (#5684) refactor(connector): [itau] refactor error reason and code mapping for itau (#5718) fix(core): fix merchant connector account create for v2 (#5716) chore(version): 2024.08.28.0 fix(routing): fix routing routes to deserialise correctly (#5724) feat(euclid): add a new variant in payment type i.e ppt_mandate (#5681) feat(core): Add mTLS certificates for each request (#5636)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
bug - when request_external_three_ds_authentication is sent as true in payments request of recurring payments, it's trying to attempt 3ds flow which is not expected.
This PR adds the check to skip external three_ds flow for recurring payments
Additional Changes
Motivation and Context
How did you test it?
Tested Manually
Recurring payment by sending request_external_three_ds_authentication as true shouldn't trigger 3ds and get succeeded
CURL
Response
Checklist
cargo +nightly fmt --allcargo clippy