-
Notifications
You must be signed in to change notification settings - Fork 4.2k
feat(router): add capability to force challenge for 3DS Payments through Netcetera and send few optional fields #7429
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
Conversation
crates/common_utils/src/types.rs
Outdated
@@ -207,6 +207,11 @@ impl SemanticVersion { | |||
pub fn get_major(&self) -> u64 { | |||
self.0.major | |||
} | |||
|
|||
/// returns major version number |
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.
/// returns major version number | |
/// returns minor version number |
@@ -1963,6 +1963,9 @@ pub struct ProfileCreate { | |||
|
|||
///Indicates if clear pan retries is enabled or not. | |||
pub is_clear_pan_retries_enabled: Option<bool>, | |||
|
|||
/// Indicates if 3ds challenge is forced | |||
pub force_3ds_challenge: Option<bool>, |
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.
Instead of optional, can we have this as bool only and make is false by default ?
@@ -65,6 +65,7 @@ pub struct Profile { | |||
pub card_testing_guard_config: Option<CardTestingGuardConfig>, | |||
pub card_testing_secret_key: OptionalEncryptableName, | |||
pub is_clear_pan_retries_enabled: bool, | |||
pub force_3ds_challenge: Option<bool>, |
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.
Same here
@@ -0,0 +1,2 @@ | |||
ALTER TABLE business_profile |
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.
Query will also change if you are making it a mandatory field.
…ugh Netcetera and send few optional fields (#7429) Co-authored-by: Sk Sakil Mostak <[email protected]> Co-authored-by: Sakil Mostak <[email protected]>
* 'main' of github.com:juspay/hyperswitch: feat(hipay): Add Template PR (#7360) chore(version): 2025.03.07.0 chore(postman): update Postman collection files feat(analytics): add new filters, dimensions and metrics for authentication analytics (#7451) feat(router): add capability to force challenge for 3DS Payments through Netcetera and send few optional fields (#7429) feat(analytics): refactor and rewrite authentication related analytics (#7433) refactor(core): Added payment id in authentication router data (#7441) feat(connector): Added ThreeDs server integration template pr (#7424) fix(xendit): Fix wasm changes (#7419) chore(postman): postman tests fixes (#7159) ci(cypress): move customer acceptance in configs to a const within commons (#7435) feat(core): add additional revenue recovery call flow (#7402) chore(version): 2025.03.06.0 feat(payment_link): expose payment link configs for SDK UI rules and payment button (#7427)
…juspay/hyperswitch into connector/gpay-mandates-authorizedotnet * 'connector/gpay-mandates-authorizedotnet' of github.com:juspay/hyperswitch: (25 commits) ci(cypress): address lints and refactor redirection handler (#7437) chore: make v1 merchant account forward compatible (#7426) fix(dashboard): Added auth key to juspay threeds server (#7457) feat(hipay): Add Template PR (#7360) chore(version): 2025.03.07.0 chore(postman): update Postman collection files feat(analytics): add new filters, dimensions and metrics for authentication analytics (#7451) feat(router): add capability to force challenge for 3DS Payments through Netcetera and send few optional fields (#7429) feat(analytics): refactor and rewrite authentication related analytics (#7433) refactor(core): Added payment id in authentication router data (#7441) feat(connector): Added ThreeDs server integration template pr (#7424) fix(xendit): Fix wasm changes (#7419) chore(postman): postman tests fixes (#7159) ci(cypress): move customer acceptance in configs to a const within commons (#7435) feat(core): add additional revenue recovery call flow (#7402) chore(version): 2025.03.06.0 feat(payment_link): expose payment link configs for SDK UI rules and payment button (#7427) feat(connector): [EFT] Add EFT as a payment method (#7304) chore(version): 2025.03.05.1 feat(connector): [Moneris] Implement mandate for Moneris (#7322) ...
Type of Change
Description
add capability to force challenge for 3DS Payments through Netcetera and send few optional fields
force_3ds_challenge
which would request netcetera for challenge flowAdditional Changes
Motivation and Context
How did you test it?
Tested Manually
Perform a External 3DS payment by enabling force_3ds_challenge at profile level, and observe ThreeDSRequestorChallengeInd being sent "04" to netcetera connector
CURL
Response
Checklist
cargo +nightly fmt --all
cargo clippy