Skip to main content

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.

Hey @Patricia Wong 

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 as SANDBOX or PRODUCTION

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