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(connector): [Opayo] Add connector id (#2418)
Kamalika8e51073c8379
diff --git a/crates/router/src/connector/opayo/transformers.rs b/crates/router/src/connector/opayo/transformers.rsindex e6c3d90fa4..d828232dbc 100644--- a/crates/router/src/connector/opayo/transformers.rs+++ b/crates/router/src/connector/opayo/transformers.rs@@ -86,6 +86,7 @@ impl From<OpayoPaymentStatus> for enums::AttemptStatus {pub struct OpayoPaymentsResponse {status: OpayoPaymentStatus,id: String,+ transaction_id: String,}impl<F, T>@@ -99,12 +100,14 @@ impl<F, T>Ok(Self {status: enums::AttemptStatus::from(item.response.status),response: Ok(types::PaymentsResponseData::TransactionResponse {- resource_id: types::ResponseId::ConnectorTransactionId(item.response.id),+ resource_id: types::ResponseId::ConnectorTransactionId(+ item.response.transaction_id.clone(),+ ),redirection_data: None,mandate_reference: None,connector_metadata: None,network_txn_id: None,- connector_response_reference_id: None,+ connector_response_reference_id: Some(item.response.transaction_id),}),..item.data})