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(router): allow billing and shipping address update in payments confirm flow (#2963)
Sai Harsha Vardhan59ef162219db
diff --git a/crates/router/src/core/payments/operations/payment_confirm.rs b/crates/router/src/core/payments/operations/payment_confirm.rsindex 125787e1a3..33270795b3 100644--- a/crates/router/src/core/payments/operations/payment_confirm.rs+++ b/crates/router/src/core/payments/operations/payment_confirm.rs@@ -185,7 +185,7 @@ impl<F: Send + Clone, Ctx: PaymentMethodRetrieve>let shipping_address_fut = tokio::spawn(async move {- helpers::create_or_find_address_for_payment_by_request(+ helpers::create_or_update_address_for_payment_by_request(store.as_ref(),m_request_shipping.as_ref(),m_payment_intent_shipping_address_id.as_deref(),@@ -213,7 +213,7 @@ impl<F: Send + Clone, Ctx: PaymentMethodRetrieve>let billing_address_fut = tokio::spawn(async move {- helpers::create_or_find_address_for_payment_by_request(+ helpers::create_or_update_address_for_payment_by_request(store.as_ref(),m_request_billing.as_ref(),m_payment_intent_billing_address_id.as_deref(),