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(Braintree): Sync with Hyperswitch Reference (#3037)
Brian Silah8a995cefdf68
diff --git a/crates/router/src/connector/braintree/transformers.rs b/crates/router/src/connector/braintree/transformers.rsindex 44daef94e8..f4bd62add3 100644--- a/crates/router/src/connector/braintree/transformers.rs+++ b/crates/router/src/connector/braintree/transformers.rs@@ -228,17 +228,16 @@ impl<F, T>types::PaymentsResponseData,>,) -> Result<Self, Self::Error> {+ let id = item.response.transaction.id.clone();Ok(Self {status: enums::AttemptStatus::from(item.response.transaction.status),response: Ok(types::PaymentsResponseData::TransactionResponse {- resource_id: types::ResponseId::ConnectorTransactionId(- item.response.transaction.id,- ),+ resource_id: types::ResponseId::ConnectorTransactionId(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(id),incremental_authorization_allowed: None,}),..item.data