mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +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::Expired => Self::Failure,
|
||||||
CoinbasePaymentStatus::New => Self::AuthenticationPending,
|
CoinbasePaymentStatus::New => Self::AuthenticationPending,
|
||||||
CoinbasePaymentStatus::Unresolved => Self::Unresolved,
|
CoinbasePaymentStatus::Unresolved => Self::Unresolved,
|
||||||
|
CoinbasePaymentStatus::Canceled => Self::Voided,
|
||||||
_ => Self::Pending,
|
_ => Self::Pending,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user