fix(connector): [coinbase] update cancel status on user cancelling the payment (#922)

This commit is contained in:
Jagan
2023-04-21 02:51:08 +05:30
committed by GitHub
parent 3fce140703
commit 22cee8cdd9

View File

@ -80,6 +80,7 @@ impl From<CoinbasePaymentStatus> for enums::AttemptStatus {
CoinbasePaymentStatus::Expired => Self::Failure,
CoinbasePaymentStatus::New => Self::AuthenticationPending,
CoinbasePaymentStatus::Unresolved => Self::Unresolved,
CoinbasePaymentStatus::Canceled => Self::Voided,
_ => Self::Pending,
}
}