feat(connector): [Nuvei] add webhook support (#795)

Co-authored-by: Arjun Karthik <m.arjunkarthik@gmail.com>
This commit is contained in:
Jagan
2023-03-28 18:56:32 +05:30
committed by GitHub
parent f9ef3135af
commit 20b4372bfe
7 changed files with 284 additions and 84 deletions

View File

@ -37,6 +37,8 @@ pub struct IncomingWebhookRequestDetails<'a> {
pub method: actix_web::http::Method,
pub headers: &'a actix_web::http::header::HeaderMap,
pub body: &'a [u8],
pub query_params: String,
pub query_params_json: &'a [u8],
}
pub type MerchantWebhookConfig = std::collections::HashSet<IncomingWebhookEvent>;