Configure server notifications

Configure the Google real-time developer notifications in order for IAPHUB to receive an event when a subscription status change.


Configuring server notifications isn't required but highly recommended, doing so will speed up the sync between Itunes and IAPHUB.

1. Enable Google Cloud Pub/Sub for your project here

2. Go to the Pub/Sub topics page in the Cloud Console

3. Click on CREATE TOPIC

4. Create a topic gplay-notifications

5. Display the menu for the topic you just created, and click on Create subscription

6. Copy the Android server notifications url in the settings of your app on IAPHUB

7. Create push subscription using the url of the previous screen

8. Go to the Pub/Sub topics page and edit the permissions of the topic you've previously created

9. Click on ADD MEMBER

10. Add the service account [email protected] and grant it the role of Pub/Sub Publisher

11. Open the Google Play Console, navigate to your app and go to Monetize > Monetization setup, scroll to the Real-time developer notifications section and enter your topic name

12. Save and send a test notification, if everything is configured correctly when refreshing the IAPHUB settings page you should see a Last received timestamp