Skip to content

Commit

Permalink
refactor not supported to not implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
kaustubh1106 committed Nov 16, 2023
1 parent 6ebf14a commit 9e6e19b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions crates/router/src/connector/worldline/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,9 @@ impl TryFrom<utils::CardIssuer> for Gateway {
utils::CardIssuer::Master => Ok(Self::MasterCard),
utils::CardIssuer::Discover => Ok(Self::Discover),
utils::CardIssuer::Visa => Ok(Self::Visa),
_ => Err(errors::ConnectorError::NotSupported {
message: issuer.to_string(),
connector: "worldline",
}
_ => Err(errors::ConnectorError::NotImplemented(
utils::get_unimplemented_payment_method_error_message("worldline"),
)
.into()),
}
}
Expand Down

0 comments on commit 9e6e19b

Please sign in to comment.