refactor(core): add error handling wrapper to wehbook (#6636)

This commit is contained in:
Sakil Mostak
2024-11-27 20:35:53 +05:30
committed by GitHub
parent f3424b7576
commit 4b45d21269
12 changed files with 151 additions and 33 deletions

View File

@ -282,6 +282,9 @@ impl Connector {
pub fn is_pre_processing_required_before_authorize(&self) -> bool {
matches!(self, Self::Airwallex)
}
pub fn should_acknowledge_webhook_for_resource_not_found_errors(&self) -> bool {
matches!(self, Self::Adyenplatform)
}
#[cfg(feature = "dummy_connector")]
pub fn validate_dummy_connector_enabled(
&self,