From 2da681a265ef85e90f5282acda3140e78aa847d5 Mon Sep 17 00:00:00 2001 From: Anurag Date: Mon, 25 Aug 2025 18:41:02 +0530 Subject: [PATCH] fix(connector): Add Support for CUSTOMERREQUEST Refund Reason in Adyen (#9035) Co-authored-by: Anurag Singh Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> --- .../hyperswitch_connectors/src/connectors/adyen/transformers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs b/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs index 76a13085ea..db58519908 100644 --- a/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs @@ -1415,7 +1415,7 @@ impl FromStr for AdyenRefundRequestReason { fn from_str(s: &str) -> Result { match s.to_uppercase().as_str() { "FRAUD" => Ok(Self::FRAUD), - "CUSTOMER REQUEST" => Ok(Self::CUSTOMERREQUEST), + "CUSTOMER REQUEST" | "CUSTOMERREQUEST" => Ok(Self::CUSTOMERREQUEST), "RETURN" => Ok(Self::RETURN), "DUPLICATE" => Ok(Self::DUPLICATE), "OTHER" => Ok(Self::OTHER),