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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
fix(ucs): send capture_method and read network_txn_link_id on SetupRecurring (#14313)
Tushar Shukla027f7cfb3c53
diff --git a/Cargo.lock b/Cargo.lockindex da8fc556c1..f9d02bfc7b 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -2288,7 +2288,7 @@ dependencies = [[[package]]name = "config_patch_derive"version = "0.1.0"-source = "git+https://github.com/juspay/connector-service?tag=2026.09.15.0#8992aabf3ecf237f583b3ae2862f56049e89dace"+source = "git+https://github.com/juspay/connector-service?tag=2026.09.18.1#b46095d39ffc88bb0e1e16be7951aa1d1105e0c5"dependencies = ["proc-macro2","quote",@@ -4262,7 +4262,7 @@ checksum = "32619942b8be646939eaf3db0602b39f5229b74575b67efc897811ded1db4e57"[[package]]name = "grpc-api-types"version = "0.1.0"-source = "git+https://github.com/juspay/connector-service?tag=2026.09.15.0#8992aabf3ecf237f583b3ae2862f56049e89dace"+source = "git+https://github.com/juspay/connector-service?tag=2026.09.18.1#b46095d39ffc88bb0e1e16be7951aa1d1105e0c5"dependencies = ["axum 0.8.4","bytes 1.10.1",@@ -8584,7 +8584,7 @@ dependencies = [[[package]]name = "rust-grpc-client"version = "0.1.0"-source = "git+https://github.com/juspay/connector-service?tag=2026.09.15.0#8992aabf3ecf237f583b3ae2862f56049e89dace"+source = "git+https://github.com/juspay/connector-service?tag=2026.09.18.1#b46095d39ffc88bb0e1e16be7951aa1d1105e0c5"dependencies = ["grpc-api-types",]@@ -11425,7 +11425,7 @@ checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9"[[package]]name = "ucs_cards"version = "0.1.0"-source = "git+https://github.com/juspay/connector-service?tag=2026.09.15.0#8992aabf3ecf237f583b3ae2862f56049e89dace"+source = "git+https://github.com/juspay/connector-service?tag=2026.09.18.1#b46095d39ffc88bb0e1e16be7951aa1d1105e0c5"dependencies = ["bytes 1.10.1","error-stack 0.4.1",@@ -11441,7 +11441,7 @@ dependencies = [[[package]]name = "ucs_common_enums"version = "0.1.0"-source = "git+https://github.com/juspay/connector-service?tag=2026.09.15.0#8992aabf3ecf237f583b3ae2862f56049e89dace"+source = "git+https://github.com/juspay/connector-service?tag=2026.09.18.1#b46095d39ffc88bb0e1e16be7951aa1d1105e0c5"dependencies = ["serde","strum 0.26.3",@@ -11452,7 +11452,7 @@ dependencies = [[[package]]name = "ucs_common_utils"version = "0.1.0"-source = "git+https://github.com/juspay/connector-service?tag=2026.09.15.0#8992aabf3ecf237f583b3ae2862f56049e89dace"+source = "git+https://github.com/juspay/connector-service?tag=2026.09.18.1#b46095d39ffc88bb0e1e16be7951aa1d1105e0c5"dependencies = ["anyhow","base64 0.21.7",diff --git a/crates/external_services/Cargo.toml b/crates/external_services/Cargo.tomlindex e1da461b22..a480fc33d9 100644--- a/crates/external_services/Cargo.toml+++ b/crates/external_services/Cargo.toml@@ -94,7 +94,7 @@ http = "0.2.12"url = { version = "2.5.4", features = ["serde"] }quick-xml = { version = "0.31.0", features = ["serialize"] }-unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.09.15.0", package = "rust-grpc-client" }+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.09.18.1", package = "rust-grpc-client" }open-feature = { version = "0.2.5", optional = true }bytes = { version = "1.10.1", optional = true }superposition_provider = { version = "0.115.5", optional = true }diff --git a/crates/hyperswitch_interfaces/Cargo.toml b/crates/hyperswitch_interfaces/Cargo.tomlindex 3eb80c88a6..f42ed195ea 100644--- a/crates/hyperswitch_interfaces/Cargo.toml+++ b/crates/hyperswitch_interfaces/Cargo.toml@@ -35,7 +35,7 @@ time = "0.3.41"tonic = "0.14"url = { version = "2.5.4", features = ["serde"] }-unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.09.15.0", package = "rust-grpc-client" }+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.09.18.1", package = "rust-grpc-client" }tokio = { version = "1.45.1", features = ["macros", "rt-multi-thread"] }# First party cratesdiff --git a/crates/router/Cargo.toml b/crates/router/Cargo.tomlindex 4d900f0c17..4f54829bb8 100644--- a/crates/router/Cargo.toml+++ b/crates/router/Cargo.toml@@ -243,8 +243,8 @@ rust_decimal = { version = "1.37.1", features = [] }rust-i18n = { git = "https://github.com/kashif-m/rust-i18n", rev = "f2d8096aaaff7a87a847c35a5394c269f75e077a" }-unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.09.15.0", package = "rust-grpc-client" }-unified-connector-service-cards = { git = "https://github.com/juspay/connector-service", tag = "2026.09.15.0", package = "ucs_cards" }+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.09.18.1", package = "rust-grpc-client" }+unified-connector-service-cards = { git = "https://github.com/juspay/connector-service", tag = "2026.09.18.1", package = "ucs_cards" }rustc-hash = "1.1.0"rustls = { version = "0.23", default-features = false, features = ["aws-lc-rs",diff --git a/crates/router/src/core/unified_connector_service/transformers.rs b/crates/router/src/core/unified_connector_service/transformers.rsindex c4484a6981..18240d01db 100644--- a/crates/router/src/core/unified_connector_service/transformers.rs+++ b/crates/router/src/core/unified_connector_service/transformers.rs@@ -1894,6 +1894,9 @@ impl.map(ConnectorState::foreign_from);Ok(Self {+ // New in the bumped client; the router does not populate it yet, so keep+ // it absent — what UCS saw before the field existed.+ connector_order_id: None,merchant_order_id: Some(router_data.connector_request_reference_id.clone()),amount: Some(payments_grpc::Money {minor_amount: router_data.request.minor_amount.get_amount_as_i64(),@@ -1996,6 +1999,9 @@ impl.map(|s| s.into());Ok(Self {+ // New in the bumped client; the router does not populate it yet, so keep+ // it absent — what UCS saw before the field existed.+ connector_order_id: None,merchant_order_id: Some(router_data.connector_request_reference_id.clone()),amount: Some(payments_grpc::Money {minor_amount: router_data.request.minor_amount.get_amount_as_i64(),@@ -2765,8 +2771,15 @@ impl.as_ref().map(ConnectorState::foreign_from);+ let capture_method = router_data+ .request+ .capture_method+ .map(payments_grpc::CaptureMethod::foreign_try_from)+ .transpose()?;+Ok(Self {test_mode: router_data.test_mode,+ capture_method: capture_method.map(|capture_method| capture_method.into()),mit_category: None,merchant_recurring_payment_id: router_data.connector_request_reference_id.clone(),amount: Some(payments_grpc::Money {@@ -3954,7 +3967,7 @@ implmandate_reference: Box::new(response.mandate_reference_details.map(hyperswitch_domain_models::router_response_types::MandateReference::foreign_try_from).transpose()?),connector_metadata,network_txn_id: response.network_transaction_id,- network_txn_link_id: None,+ network_txn_link_id: response.network_txn_link_id,connector_response_reference_id,payment_account_reference: response.payment_account_reference,incremental_authorization_allowed: response.incremental_authorization_allowed,@@ -4606,6 +4619,8 @@ impl transformers::ForeignTryFrom<&common_types::payments::ApplePayPaymentData>),)?;Ok(Self::DecryptedData(payments_grpc::ApplePayDecryptedData {+ // New in the bumped client; not populated by the router yet.+ merchant_token_identifier: None,application_primary_account_number: Some(application_primary_account_number),application_expiration_month: Some(decrypted_data