feat(connector): add support for external authentication for cybersource (#4714)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Hrithikesh
2024-05-29 19:08:06 +05:30
committed by GitHub
parent 0f7f3d9e74
commit 97f2ff0e70
16 changed files with 144 additions and 10 deletions

View File

@ -84,6 +84,7 @@ pub async fn update_trackers<F: Clone, Req>(
authn_flow_type,
authentication_value,
trans_status,
ds_trans_id,
} => {
let authentication_status =
common_enums::AuthenticationStatus::foreign_from(trans_status.clone());
@ -97,6 +98,7 @@ pub async fn update_trackers<F: Clone, Req>(
acs_signed_content: authn_flow_type.get_acs_signed_content(),
authentication_type: authn_flow_type.get_decoupled_authentication_type(),
authentication_status,
ds_trans_id,
}
}
AuthenticationResponseData::PostAuthNResponse {
@ -183,6 +185,7 @@ pub async fn create_new_authentication(
profile_id,
payment_id,
merchant_connector_id,
ds_trans_id: None,
directory_server_id: None,
};
state