Skip to content

Commit 8098322

Browse files
fix(connector): [trustpay] add missing error_codes (#2204)
1 parent 3efce90 commit 8098322

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/router/src/connector/trustpay/transformers.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ fn is_payment_failed(payment_status: &str) -> (bool, &'static str) {
411411
"400.001.601" => (true, "Transaction declined (auth. declined)"),
412412
"400.001.602" => (true, "Invalid transaction"),
413413
"400.001.603" => (true, "Invalid transaction"),
414+
"400.003.600" => (true, "No description available."),
414415
"700.400.200" => (
415416
true,
416417
"Cannot refund (refund volume exceeded or tx reversed or invalid workflow)",
@@ -434,6 +435,7 @@ fn is_payment_failed(payment_status: &str) -> (bool, &'static str) {
434435
"800.100.171" => (true, "transaction declined (pick up card)"),
435436
"800.100.172" => (true, "Transaction declined (account blocked)"),
436437
"800.100.190" => (true, "Transaction declined (invalid configuration data)"),
438+
"800.100.202" => (true, "Account Closed"),
437439
"800.120.100" => (true, "Rejected by throttling"),
438440
"800.300.401" => (true, "Bin blacklisted"),
439441
"800.700.100" => (

0 commit comments

Comments
 (0)