-
Notifications
You must be signed in to change notification settings - Fork 3.9k
feat(core): Added additional authentication fields for 3ds external authentication #8758
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
6f623f0
to
b0e017c
Compare
ebcc587
to
7cccff2
Compare
2129558
to
814560d
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.
connector changes look good
640dac8
to
4e71716
Compare
fda3a7a
to
01cd041
Compare
@@ -313,6 +314,7 @@ impl TryFrom<&SetupMandateRouterData> for CybersourceZeroMandateRequest { | |||
))? | |||
} | |||
}; | |||
let cavv_algorithm = Some("2".to_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.
Could you please give some code comments explaining the reason of hardcoding this?
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.
@sai-harsha-vardhan,
I have added a comment with the reasoning here.
Since this value is being set to "2" in multiple places, I avoided repeating the explanation throughout the code.
...ons/2025-07-25-115018_add_authn_fields_challenge_code_cancel_reason_message_extension/up.sql
Outdated
Show resolved
Hide resolved
crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
Outdated
Show resolved
Hide resolved
6f395bf
01cd041
to
6f395bf
Compare
crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
Outdated
Show resolved
Hide resolved
crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs
Outdated
Show resolved
Hide resolved
be506c9
to
5d05ffd
Compare
…ordea-sepa * 'main' of github.com:juspay/hyperswitch: (89 commits) feat(router): [worldpayvantiv] add dispute list sync and implement dispute (#8830) feat(core): Add support for Void after Capture (#8839) fix(wasm): [FISERV] Added GooglePay Payment Method Type (#8832) feat(connector): [Barclaycard] Add Google Pay Payment Method (#8786) chore(version): 2025.08.06.0 feat(core): Added additional authentication fields for 3ds external authentication (#8758) refactor(core): propagate network_transaction_id in response of payment (#8829) fix(core): add fix for stopping multiple event locking idempotent logs (#8034) feat(connector): [AUTHORIZEDOTNET] create connector customer flow added (#8774) feat(core): Add L2_L3 Data Support (#8828) feat(connector): [NMI] Add mandates flow (#8652) fix(connector): [Wise] send uuid as connector_transaction_id (#8836) feat(core): populate UCS status_code in response headers (#8788) feat(external_services): Fixed Url for Unified Connector Service gRPC Client (#8587) chore: reorder v2 migrations folders (#8671) fix(router): Take merchant ID from headers in API Key - Revoke (v2) (#8808) fix(connector): (payload) currency auth key wasm changes (#8825) feat(payment-methods): add filtering logic for payment method list v2 (#8606) feat(router): add support for apple pay pre-decrypted token in the payments confirm call (#8815) chore(version): 2025.08.05.0 ...
Type of Change
Description
This PR introduces the following changes
Context - Cybersource payments via Netcetera are failing for a France based acquirer in prod, the above fields are added to fix the same.
Additional Changes
Motivation and Context
How did you test it?
Card used for testing (mastercard with challenge flow)
5306 8899 4283 3340
Successful 3DS challenge completion flow
Tested using local hyperswitch sdk and hyperswitch backend
Test video
Connector Request for Cybersource:

3DS challenge cancel flow
Tested using local hyperswitch sdk and hyperswitch backend
Test video
Incoming Webhook from Netcetera on cancelling challenge:

Checklist
cargo +nightly fmt --all
cargo clippy