Our backend system are splited to staging and production, but revenuecat’s sandbox looks doesn’t support webhook, so I want to add both staging and production webhooks to the app.
Page 1 / 1
Hey
We don't currently support more than one webhook URL, so there are a couple things you could try:
- Create a separate RevenueCat app for your staging app, with a separate webhook URL
- Use a neutral webhook endpoint and use the
environment
field in webhooks to differentiate between event types, such asSANDBOX
orPRODUCTION
We have developers who use either of these options often, so it will come down to personal preference.
We also have a community article about dealing with sandbox webhooks that’s worth a read:
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.