feat(compatibility): add webhook support for stripe compatibility (#710)

This commit is contained in:
Abhishek
2023-03-05 18:58:04 +05:30
committed by GitHub
parent 3bdc9b0a2f
commit 7916050450
9 changed files with 112 additions and 25 deletions

View File

@ -3,6 +3,7 @@ pub mod customers;
pub mod payment_intents;
pub mod refunds;
pub mod setup_intents;
pub mod webhooks;
use actix_web::{web, Scope};
pub mod errors;
@ -18,6 +19,7 @@ impl StripeApis {
.service(app::SetupIntents::server(state.clone()))
.service(app::PaymentIntents::server(state.clone()))
.service(app::Refunds::server(state.clone()))
.service(app::Customers::server(state))
.service(app::Customers::server(state.clone()))
.service(app::Webhooks::server(state))
}
}