mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
fix(payments): filter total count by card-network value (#6397)
This commit is contained in:
@ -4051,6 +4051,7 @@ pub async fn apply_filters_on_payments(
|
||||
constraints.payment_method_type,
|
||||
constraints.authentication_type,
|
||||
constraints.merchant_connector_id,
|
||||
constraints.card_network,
|
||||
merchant.storage_scheme,
|
||||
)
|
||||
.await
|
||||
|
||||
@ -1601,6 +1601,7 @@ impl PaymentAttemptInterface for KafkaStore {
|
||||
payment_method_type: Option<Vec<common_enums::PaymentMethodType>>,
|
||||
authentication_type: Option<Vec<common_enums::AuthenticationType>>,
|
||||
merchant_connector_id: Option<Vec<id_type::MerchantConnectorAccountId>>,
|
||||
card_network: Option<Vec<common_enums::CardNetwork>>,
|
||||
storage_scheme: MerchantStorageScheme,
|
||||
) -> CustomResult<i64, errors::DataStorageError> {
|
||||
self.diesel_store
|
||||
@ -1612,6 +1613,7 @@ impl PaymentAttemptInterface for KafkaStore {
|
||||
payment_method_type,
|
||||
authentication_type,
|
||||
merchant_connector_id,
|
||||
card_network,
|
||||
storage_scheme,
|
||||
)
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user