mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
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:
@ -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),
|
||||
|
||||
Reference in New Issue
Block a user