Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(connectors): [redsys] fix three_d_s_server_trans_i_d mapping (#10784)

AkshayaFoigereb544b67f01f
diff --git a/crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs b/crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
index 3d515c5e14..0ed35c5485 100644
--- a/crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
+++ b/crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
@@ -829,7 +829,7 @@ fn build_threeds_invoke_response(
error_stack::Report<errors::ConnectorError>,
> {
let threeds_invoke_data = ThreedsInvokeRequest {
- three_d_s_server_trans_i_d: three_d_s_method_u_r_l.clone(),
+ three_d_s_server_trans_i_d: three_d_s_server_trans_i_d.clone(),
three_d_s_method_notification_u_r_l: webhook_url.to_string(),
};
@@ -843,7 +843,7 @@ fn build_threeds_invoke_response(
three_ds_method_url: three_d_s_method_u_r_l,
three_ds_method_data,
message_version: protocol_version.clone(),
- directory_server_id: three_d_s_server_trans_i_d,
+ directory_server_id: three_d_s_server_trans_i_d.clone(),
three_ds_method_data_submission: true,
};