Skip to content

Commit

Permalink
fix: mapping to error
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakilmostak committed Nov 28, 2023
1 parent bce53a1 commit 1c40d34
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/router/src/connector/trustpay/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,10 @@ fn is_payment_failed(payment_status: &str) -> (bool, &'static str) {
true,
"Transaction for the same session is currently being processed, please try again later",
),
"900.100.100" => (
true,
"Unexpected communication error with connector/acquirer",
),
"900.100.300" => (true, "Timeout, uncertain result"),
_ => (false, ""),
}
Expand Down

0 comments on commit 1c40d34

Please sign in to comment.