mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
feat(authentication): added authentication sync api (#8596)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -7508,6 +7508,15 @@ pub enum TransactionStatus {
|
||||
InformationOnly,
|
||||
}
|
||||
|
||||
impl TransactionStatus {
|
||||
pub fn is_pending(self) -> bool {
|
||||
matches!(
|
||||
self,
|
||||
Self::ChallengeRequired | Self::ChallengeRequiredDecoupledAuthentication
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(
|
||||
Clone,
|
||||
Copy,
|
||||
|
||||
Reference in New Issue
Block a user