mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
refactor(core): move update trackers after build request (#1472)
This commit is contained in:
@ -39,6 +39,7 @@ pub trait Feature<F, T> {
|
||||
maybe_customer: &Option<domain::Customer>,
|
||||
call_connector_action: payments::CallConnectorAction,
|
||||
merchant_account: &domain::MerchantAccount,
|
||||
connector_request: Option<services::Request>,
|
||||
) -> RouterResult<Self>
|
||||
where
|
||||
Self: Sized,
|
||||
@ -95,6 +96,15 @@ pub trait Feature<F, T> {
|
||||
{
|
||||
Ok(None)
|
||||
}
|
||||
|
||||
async fn build_flow_specific_connector_request(
|
||||
&mut self,
|
||||
_state: &AppState,
|
||||
_connector: &api::ConnectorData,
|
||||
_call_connector_action: payments::CallConnectorAction,
|
||||
) -> RouterResult<Option<services::Request>> {
|
||||
Ok(None)
|
||||
}
|
||||
}
|
||||
|
||||
macro_rules! default_imp_for_complete_authorize{
|
||||
|
||||
Reference in New Issue
Block a user