mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 02:57:02 +08:00
chore: code refinement
This commit is contained in:
@ -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
|
||||
|
||||
@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user