feat: Emit Stripe webhooks to events in the system

This commit is contained in:
Ahmed Bouhuolia
2024-09-19 10:25:13 +02:00
parent 77f628509c
commit 2ebb4595a8
6 changed files with 92 additions and 31 deletions

View File

@@ -716,5 +716,10 @@ export default {
onPaymentLinkCreated: 'onStripePaymentLinkCreated',
onPaymentLinkInactivated: 'onStripePaymentLinkInactivated'
},
// Stripe Payment Webhooks
stripeWebhooks: {
onCheckoutSessionCompleted: 'onStripeCheckoutSessionCompleted'
}
};