Separate URL for testing Server Notifications?

Hi Everyone,

I've followed Apple's instructions to setup the URL to allow my server to receive notifications when a Subscription Event occurs (https://help.apple.com/app-store-connect/#/dev0067a330b). But it appears we can only put a single URL in that text field.

Is it possible to enter multiple URLs, either in that field or in a different one, so that we can receive the notifications and handle them for different environments?

For example, I want to put the URLs for both my Production endpoint and my Testing endpoint. The server can determine to handle it based on the ENVIRONMENT value passed in, so no need to worry about the wrong environment handling the message.

I know other providers work this way, like Stripe. So I was hoping Apple would work the same way.

Answered by ProgrammerAL in 679546022

I sent a message to Apple Support directly and they responded that, "After reviewing our documentation, there appears to be an option for only one URL for server to server notifications." So this is not possible.

Accepted Answer

I sent a message to Apple Support directly and they responded that, "After reviewing our documentation, there appears to be an option for only one URL for server to server notifications." So this is not possible.

I think is is something that will be available in the version 2 of notifications in some later moment during this year.

You can see the conference Manage in-app purchases on your server by Tori Shurman in WWDC21

Separate URL for testing Server Notifications?
 
 
Q