Skip to content

Commit

Permalink
refactor(connector): [Multisafe Pay] change error message from not su…
Browse files Browse the repository at this point in the history
…pported to not implemented (#2851)
  • Loading branch information
oscar2d2 authored Nov 30, 2023
1 parent 3fa0bdf commit 668b943
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions crates/router/src/connector/multisafepay/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,9 @@ impl TryFrom<utils::CardIssuer> for Gateway {
utils::CardIssuer::Visa => Ok(Self::Visa),
utils::CardIssuer::DinersClub
| utils::CardIssuer::JCB
| utils::CardIssuer::CarteBlanche => Err(errors::ConnectorError::NotSupported {
message: issuer.to_string(),
connector: "Multisafe pay",
}
| utils::CardIssuer::CarteBlanche => Err(errors::ConnectorError::NotImplemented(
utils::get_unimplemented_payment_method_error_message("Multisafe pay"),
)
.into()),
}
}
Expand Down

0 comments on commit 668b943

Please sign in to comment.