-
Notifications
You must be signed in to change notification settings - Fork 123
Description
Hello,
I am having an issue where Stripe will sometimes send test mode events to the live mode endpoints.
I have a staging site that I use to receive test mode events and I have test mode endpoints set up there.
To prevent the processing of test mode events, can I use the catchall callback to ignore the test mode events in production or would I need to specify this in each of my different callbacks?
I am hoping there is a more efficient way to ignore test mode events in production than needing to add a conditional filter to each event.
If there is documentation specifying this, please point me in its direction as I have not found any issues or documentation that specifies whether or not the catchall event can prevent my site from processing an event.
Thank you!