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
feat(compatibility): added support to connector txn id (#2606)
Sahkal Poddar82980a86ad79
diff --git a/crates/router/src/compatibility/stripe/payment_intents/types.rs b/crates/router/src/compatibility/stripe/payment_intents/types.rsindex 02b6977f94..1cda32ffcc 100644--- a/crates/router/src/compatibility/stripe/payment_intents/types.rs+++ b/crates/router/src/compatibility/stripe/payment_intents/types.rs@@ -479,6 +479,7 @@ pub struct StripePaymentIntentResponse {pub capture_method: Option<api_models::enums::CaptureMethod>,pub name: Option<masking::Secret<String>>,pub last_payment_error: Option<LastPaymentError>,+ pub connector_transaction_id: Option<String>,}#[derive(Default, Eq, PartialEq, Serialize, Debug)]@@ -551,6 +552,7 @@ impl From<payments::PaymentsResponse> for StripePaymentIntentResponse {},error_type: code,}),+ connector_transaction_id: resp.connector_transaction_id,}}}diff --git a/crates/router/src/compatibility/stripe/setup_intents/types.rs b/crates/router/src/compatibility/stripe/setup_intents/types.rsindex 32caf4308c..71bf58f651 100644--- a/crates/router/src/compatibility/stripe/setup_intents/types.rs+++ b/crates/router/src/compatibility/stripe/setup_intents/types.rs@@ -438,6 +438,7 @@ pub struct StripeSetupIntentResponse {pub next_action: Option<StripeNextAction>,pub last_payment_error: Option<LastPaymentError>,pub charges: payment_intent::Charges,+ pub connector_transaction_id: Option<String>,}#[derive(Default, Eq, PartialEq, Serialize)]@@ -501,6 +502,7 @@ impl From<payments::PaymentsResponse> for StripeSetupIntentResponse {error_type: code,}}),+ connector_transaction_id: resp.connector_transaction_id,}}}