Solved

Can't toggle sandbox on when setting up webhooks

  • 28 July 2021
  • 1 reply
  • 40 views

Badge

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

icon

Best answer by cody 28 July 2021, 17:08

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
View original

1 reply

Userlevel 3
Badge +7

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

Reply