Skip to content

Commit

Permalink
fix(trustpay): [Trustpay] Add error code mapping '800.100.100' (juspa…
Browse files Browse the repository at this point in the history
  • Loading branch information
prasunna09 authored Mar 27, 2024
1 parent 37be05d commit 9798db4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/router/src/connector/trustpay/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ fn is_payment_failed(payment_status: &str) -> (bool, &'static str) {
),
"700.500.001" => (true, "Referenced session contains too many transactions"),
"700.500.003" => (true, "Test accounts not allowed in production"),
"800.100.100" => (true, "Transaction declined for unknown reason"),
"800.100.151" => (true, "Transaction declined (invalid card)"),
"800.100.152" => (true, "Transaction declined by authorization system"),
"800.100.153" => (true, "Transaction declined (invalid CVV)"),
Expand Down

0 comments on commit 9798db4

Please sign in to comment.