Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about catchall callback #216

Open
lesliepoolman opened this issue Feb 16, 2022 · 1 comment
Open

Question about catchall callback #216

lesliepoolman opened this issue Feb 16, 2022 · 1 comment

Comments

@lesliepoolman
Copy link
Contributor

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!

@haor1
Copy link

haor1 commented May 14, 2022

Hi, there. I work for the Stripe API support team. Stripe definitely shouldn’t be sending test mode events to live mode endpoints. Please contact us at [email protected] from the email address associated to your account along with a couple of these test mode event IDs (evt_xxxx) that are being sent to your live mode endpoint so that we may investigate what may be occurring here.
Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants