diff --git a/config/development.toml b/config/development.toml index 5c5d23a8de..06d77d651e 100644 --- a/config/development.toml +++ b/config/development.toml @@ -1397,10 +1397,10 @@ proxy_connector_http_status_code = false # If enabled, the http status code o [list_dispute_supported_connectors] connector_list = "worldpayvantiv" -#[proxy] -#http_url = "http://127.0.0.1:8081" # Proxy all HTTP traffic via this proxy -#https_url = "http://127.0.0.1:8081" # Proxy all HTTPS traffic via this proxy -#bypass_proxy_urls = "" +[proxy] +http_url = "http://127.0.0.1:8081" # Proxy all HTTP traffic via this proxy +https_url = "http://127.0.0.1:8081" # Proxy all HTTPS traffic via this proxy +bypass_proxy_urls = "" [internal_merchant_id_profile_id_auth] enabled = false diff --git a/crates/router/src/core/payments.rs b/crates/router/src/core/payments.rs index 2958831d5e..845cda640e 100644 --- a/crates/router/src/core/payments.rs +++ b/crates/router/src/core/payments.rs @@ -4379,6 +4379,11 @@ where ); let ucs_merchant_connector_account = merchant_connector_account.clone(); let ucs_merchant_context = merchant_context.clone(); + let lineage_ids = grpc_client::LineageIds::new( + business_profile.merchant_id.clone(), + business_profile.get_id().clone(), + ); + let ucs_header_payload = header_payload.clone(); // Update feature metadata to track Direct routing usage for stickiness update_gateway_system_in_feature_metadata(payment_data, GatewaySystem::Direct)?; @@ -4411,6 +4416,8 @@ where let _ = ucs_router_data .call_unified_connector_service( &ucs_state, + &ucs_header_payload, + lineage_ids, ucs_merchant_connector_account.clone(), &ucs_merchant_context, )