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(payments): fix address_insert error propagation in get_address_for_payment_request function (#1079)
Abhishek Marrivaguda3b5201b4e3
diff --git a/crates/router/src/core/payments/helpers.rs b/crates/router/src/core/payments/helpers.rsindex 7c3bfdb85f..8546c3749a 100644--- a/crates/router/src/core/payments/helpers.rs+++ b/crates/router/src/core/payments/helpers.rs@@ -79,7 +79,8 @@ pub async fn get_address_for_payment_request(..address_details.foreign_into()}).await- .map_err(|_| errors::ApiErrorResponse::InternalServerError)?,+ .change_context(errors::ApiErrorResponse::InternalServerError)+ .attach_printable("Failed while inserting new address")?,)}}