Hey @Gazp
This is a valid way to duplicate your production app into a staging environment! You can create a complete copy of your production app. One thing to note here is to be extra careful to not accidentally switch your production and staging API keys. For example, if you are testing in development mode with staging API keys, be sure to change this before releasing a new app update to the stores.
While the proposed solution is an unblocking workaround, I was wondering if you have any plan to allow a “dev/staging” webhook URL for “env:sandbox” notifications, just like what Apple does. It would definitely help a loooooot during the integration phase.
The problem with having two projects is that managing the packages and products will be very tricky. AFAIK certain stores doesn’t allow having “test products” so the real product_ids should be used for both projects. As a result of that, one can easily mistake prod for sandbox while modifying products which will have serious consequences.
So, any chance to put support for sandbox webhooks on the roadmap?
Hey @Aideen Nasirishargh
We definitely hear you! We do have plans to improve webhooks on the roadmap and this is actually one of the changes that we’re considering. We appreciate your feedback here and understanding more about your pain points!
Is this true? I set up a staging environment and now I’m unable to fetch some of my subscriptions. Do you use the same shared app specific secret?
While the proposed solution is an unblocking workaround, I was wondering if you have any plan to allow a “dev/staging” webhook URL for “env:sandbox” notifications, just like what Apple does. It would definitely help a loooooot during the integration phase.
The problem with having two projects is that managing the packages and products will be very tricky. AFAIK certain stores doesn’t allow having “test products” so the real product_ids should be used for both projects. As a result of that, one can easily mistake prod for sandbox while modifying products which will have serious consequences.
So, any chance to put support for sandbox webhooks on the roadmap?
Agreed, certainly would be helpful. We put up an AWS lambda function as a proxy in between to read the field environment from the webhook request JSON body and pass it on to our staging/production environment accordingly. Works great as a temporary workaround.