Skip to content

Commit

Permalink
init-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
awasthi21 committed Nov 15, 2024
1 parent ea1db73 commit aff742e
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@ pub enum TransactionSyncStatus {
REV, // Review
STL, // Settled
PST, // Failed due to post-auth rule
FPR, // Failed due to fraud prevention rules
#[serde(rename = "FPR")]

Check warning on line 280 in crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs

View workflow job for this annotation

GitHub Actions / Spell check

"FPR" should be "FOR" or "FAR" or "FPS".
FPS, // Failed due to fraud prevention rules
PRE, // Failed due to pre-auth rule
}

Expand Down Expand Up @@ -569,7 +570,7 @@ impl From<&ElavonSyncResponse> for enums::RefundStatus {
| TransactionSyncStatus::PEN => Self::Pending,
TransactionSyncStatus::STL => Self::Success,
TransactionSyncStatus::PST
| TransactionSyncStatus::FPR
| TransactionSyncStatus::FPS
| TransactionSyncStatus::PRE => Self::Failure,
}
}
Expand All @@ -585,7 +586,7 @@ impl From<&ElavonSyncResponse> for enums::AttemptStatus {
SyncTransactionType::AuthOnly => Self::Authorized,
},
TransactionSyncStatus::PST
| TransactionSyncStatus::FPR
| TransactionSyncStatus::FPS
| TransactionSyncStatus::PRE => Self::Failure,
}
}
Expand Down

0 comments on commit aff742e

Please sign in to comment.