mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(debit_routing): add debit_routing_savings in analytics payment attempt (#8519)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -237,6 +237,7 @@ impl PaymentAttemptInterface for MockDb {
|
||||
setup_future_usage_applied: payment_attempt.setup_future_usage_applied,
|
||||
routing_approach: payment_attempt.routing_approach,
|
||||
connector_request_reference_id: payment_attempt.connector_request_reference_id,
|
||||
debit_routing_savings: None,
|
||||
};
|
||||
payment_attempts.push(payment_attempt.clone());
|
||||
Ok(payment_attempt)
|
||||
|
||||
@ -689,6 +689,7 @@ impl<T: DatabaseStore> PaymentAttemptInterface for KVRouterStore<T> {
|
||||
connector_request_reference_id: payment_attempt
|
||||
.connector_request_reference_id
|
||||
.clone(),
|
||||
debit_routing_savings: None,
|
||||
};
|
||||
|
||||
let field = format!("pa_{}", created_attempt.attempt_id);
|
||||
@ -1989,6 +1990,7 @@ impl DataModelExt for PaymentAttempt {
|
||||
setup_future_usage_applied: storage_model.setup_future_usage_applied,
|
||||
routing_approach: storage_model.routing_approach,
|
||||
connector_request_reference_id: storage_model.connector_request_reference_id,
|
||||
debit_routing_savings: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user