fix(connector): Add Support for CUSTOMERREQUEST Refund Reason in Adyen (#9035)

Co-authored-by: Anurag Singh <anurag.singh.001@Anurag-Singh-WPMHJ5619X.local>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Anurag
2025-08-25 18:41:02 +05:30
committed by GitHub
parent b8c5bf3f6d
commit 2da681a265

View File

@ -1415,7 +1415,7 @@ impl FromStr for AdyenRefundRequestReason {
fn from_str(s: &str) -> Result<Self, Self::Err> {
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),