Skip to main content
Answer

Can't toggle sandbox on when setting up webhooks

  • July 28, 2021
  • 1 reply
  • 142 views

Forum|alt.badge.img+1

Hey there. Is it possible to access webhooks in sandbox env? The sandbox toggle can’t be activated for some reason. Have anyone experienced it?

 

Cheers 

Tomasz

Best answer by cody

Hey @tomasz!

Currently, sandbox and production events are sent to the same webhook URL. We don't support more than one webhook URL at this time, 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
This post has been closed for comments

1 reply

cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • Answer
  • July 28, 2021

Hey @tomasz!

Currently, sandbox and production events are sent to the same webhook URL. We don't support more than one webhook URL at this time, 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