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(mandates): Allow connector_mandate_detail updation in case of 'Authorized' Payments (#6379)
awasthi21d09a805c0ab4
diff --git a/crates/router/src/core/payments/operations/payment_response.rs b/crates/router/src/core/payments/operations/payment_response.rsindex 3bb6647b52..274b4f43c5 100644--- a/crates/router/src/core/payments/operations/payment_response.rs+++ b/crates/router/src/core/payments/operations/payment_response.rs@@ -1556,8 +1556,11 @@ async fn payment_response_update_tracker<F: Clone, T: types::Capturable>(} else {None};-- if router_data.status == enums::AttemptStatus::Charged {+ // update connector_mandate_details in case of Authorized/Charged Payment Status+ if matches!(+ router_data.status,+ enums::AttemptStatus::Charged | enums::AttemptStatus::Authorized+ ) {payment_data.payment_intent.fingerprint_id