fix: 3ds bug fix in checkout (#204)

Co-authored-by: Arun Raj M <jarnura47@gmail.com>
This commit is contained in:
Sangamesh Kulkarni
2022-12-24 15:10:21 +05:30
committed by GitHub
parent 6123823523
commit 781b6dded2

View File

@ -161,7 +161,7 @@ impl From<transformers::Foreign<(CheckoutPaymentStatus, Option<enums::CaptureMet
}
CheckoutPaymentStatus::Captured => enums::AttemptStatus::Charged,
CheckoutPaymentStatus::Declined => enums::AttemptStatus::Failure,
CheckoutPaymentStatus::Pending => enums::AttemptStatus::Authorizing,
CheckoutPaymentStatus::Pending => enums::AttemptStatus::AuthenticationPending,
CheckoutPaymentStatus::CardVerified => enums::AttemptStatus::Pending,
}
.into()