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(core): Error message on Refund update for `Not Implemented` Case (#3011)
Sakil Mostak6b7ada1a3445
diff --git a/crates/router/src/core/refunds.rs b/crates/router/src/core/refunds.rsindex 33435bb0ad..c43c00b725 100644--- a/crates/router/src/core/refunds.rs+++ b/crates/router/src/core/refunds.rs@@ -211,7 +211,10 @@ pub async fn trigger_refund_to_gateway(errors::ConnectorError::NotImplemented(message) => {Some(storage::RefundUpdate::ErrorUpdate {refund_status: Some(enums::RefundStatus::Failure),- refund_error_message: Some(message.to_string()),+ refund_error_message: Some(+ errors::ConnectorError::NotImplemented(message.to_owned())+ .to_string(),+ ),refund_error_code: Some("NOT_IMPLEMENTED".to_string()),updated_by: storage_scheme.to_string(),})