# Add custom events to Stripe webhooks Extend the list of supported webhook events in the Stripe module for Adobe Commerce. Stripe Webhooks is a tool to trigger actions based on events that occur in your Stripe account. This guide describes how to extend the Stripe module to add a custom event to the list of enabled events. ## Create a new module First, create a new module with the following directory structure. Replace `Vendor` with your preferred vendor name. ``` app/code/Vendor/StripeCustomizations/ ├── etc/ │ ├── module.xml │ └── di.xml ├── Plugin/ │ └── Webhooks/ │ └── EnabledEventsPlugin.php └── registration.php ``` ## Register your module Inside `registration.php`, register your module with Magento. ```php ``` ## Configure dependency injection Inside `etc/di.xml`, define a plugin for the `EnabledEvents` class. ```xml ``` ## Create the plugin Inside `Plugin/Webhooks/EnabledEventsPlugin.php`, define an `after` plugin for the `getEvents` method. ```php