mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 12:06:56 +08:00
refactor(core): add support for expand attempt list in psync v2 (#7209)
Co-authored-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-N7WRTY72X7.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -81,6 +81,18 @@ impl PaymentAttemptInterface for MockDb {
|
||||
Err(StorageError::MockDbError)?
|
||||
}
|
||||
|
||||
#[cfg(feature = "v2")]
|
||||
async fn find_payment_attempts_by_payment_intent_id(
|
||||
&self,
|
||||
_key_manager_state: &KeyManagerState,
|
||||
_id: &id_type::GlobalPaymentId,
|
||||
_merchant_key_store: &MerchantKeyStore,
|
||||
_storage_scheme: common_enums::MerchantStorageScheme,
|
||||
) -> error_stack::Result<Vec<PaymentAttempt>, StorageError> {
|
||||
// [#172]: Implement function for `MockDb`
|
||||
Err(StorageError::MockDbError)?
|
||||
}
|
||||
|
||||
#[cfg(feature = "v1")]
|
||||
async fn find_payment_attempt_by_preprocessing_id_merchant_id(
|
||||
&self,
|
||||
|
||||
Reference in New Issue
Block a user