mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
fix(connector): [coinbase] update cancel status on user cancelling the payment (#922)
This commit is contained in:
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user