mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 05:17:02 +08:00
feat(webhooks): webhooks effect tracker (#2260)
This commit is contained in:
@ -29,6 +29,9 @@ const IRRELEVANT_ATTEMPT_ID_IN_SOURCE_VERIFICATION_FLOW: &str =
|
||||
const IRRELEVANT_CONNECTOR_REQUEST_REFERENCE_ID_IN_SOURCE_VERIFICATION_FLOW: &str =
|
||||
"irrelevant_connector_request_reference_id_in_source_verification_flow";
|
||||
|
||||
/// Check whether the merchant has configured to process the webhook `event` for the `connector`
|
||||
/// First check for the key "whconf_{merchant_id}_{connector_id}" in redis,
|
||||
/// if not found, fetch from configs table in database, if not found use default
|
||||
pub async fn lookup_webhook_event(
|
||||
db: &dyn StorageInterface,
|
||||
connector_id: &str,
|
||||
|
||||
Reference in New Issue
Block a user