Server Notifications

App Store Server Notifications

Providing App Store Server Notifications URL is important. It helps to detect cancellations, refunds and other events in real-time.

πŸ‘

V1 and V2 notifications are supported

Apphud supports both v1 and v2 versions of the Server Notifications at this time. Keep in mind, that Server Notifications V2 require uploading In-App Purchase Key and Issuer ID to Apphud Settings.

  1. Copy your URL for App Store Server Notifications from Apphud. It can be found when adding new app in a wizard or in Apphud > Settings > iOS app settings.
  2. Open App Store Connect, go to β€œMy Apps” and choose your app.
  3. Under "App Information" find "App Store Server Notifications", paste generated URL under Production Server URL and choose Version 1 or 2 Notifications. Paste the same URL for Sandbox Server URL.
  4. If you selected V2 Notifications, generate and upload In-App Purchase Key and Issuer ID to Apphud.

πŸ‘

Important Note

Already using App Store Notifications? Not a problem, take a look at our App Store Server Notifications Proxy feature. Apphud can forward server notifications from to your server.

πŸ“˜

Note

If App Store Server Notifications block is missing in App Store Connect, try to create in-app purchases first.

2408

If everything is set up correctly, you should see Last Received at date in Apphud Settings. You can read more about App Store Notifications here.

2364

App Store Server Notifications Proxy

You can forward all server notification requests from Apphud to your own server by using Proxy feature.

Paste your server's endpoint into "Proxy App Store Server Notifications to this URL" field:

2452

Google Real-time Developer Notifications

Configuring Google Real-time Developer Notifications is important. It helps to detect cancellations, refunds and other events in real-time.

Step 1

Ensure that Cloud Pub/Sub API is enabled for your project. You can check here.

906

Step 2

Ensure Google Play Service Credentials are correctly set up.

2358

Step 3

In Apphud Settings > Android app settings page click Connect to Google. After that copy Topic name value show up. Copy entire Topic string.

2358

Step 4

Go to Google Play Console > Your app > Monetization setup and paste Topic into Topic name field. Click Send test Notification.

1100

Step 5

Go back to Apphud settings. If everything set up correctly you should see the Last received at date. All done!

2358

Receiving Google Notifications in Apphud and in your Server

In the Google cloud console, you can create another topic and set up sending webhooks to Apphud and other services.

You need to go to the Google Cloud console section, and then go to Pub/Sub > Subscriptions and create a Subscritipion with the Push type. Create Push and paste the URL of your server where you need to send the subscriprtion notifications.