feat(router): send message_version and directory_server_id in next_action block of three_ds_data for external 3ds flow (#4715)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Sai Harsha Vardhan
2024-05-23 12:42:14 +05:30
committed by GitHub
parent da2dc10f3d
commit 13f6efc7e8
12 changed files with 40 additions and 0 deletions

View File

@ -63,6 +63,7 @@ pub async fn update_trackers<F: Clone, Req>(
three_ds_method_url,
message_version,
connector_metadata,
directory_server_id,
} => storage::AuthenticationUpdate::PreAuthenticationUpdate {
threeds_server_transaction_id,
maximum_supported_3ds_version,
@ -77,6 +78,7 @@ pub async fn update_trackers<F: Clone, Req>(
.map(|acquirer_details| acquirer_details.acquirer_bin.clone()),
acquirer_merchant_id: acquirer_details
.map(|acquirer_details| acquirer_details.acquirer_merchant_id),
directory_server_id,
},
AuthenticationResponseData::AuthNResponse {
authn_flow_type,
@ -181,6 +183,7 @@ pub async fn create_new_authentication(
profile_id,
payment_id,
merchant_connector_id,
directory_server_id: None,
};
state
.store