Google Play Store
Connecting the Purchasely Cloud Platform with the App Store
Getting the endpoint URL from the Purchasely Console
Connect to the Purchasely Console
Access the settings of the application you want to connect
Get the value of the parameter
Google S 2 S Notifications EndpointPurchasely > Mobile Applications > [YOUR APPLICATION] > Application settings

Creating a new Pub/Sub Topic
Connect to the Google Cloud Platform Console
Create new Pub/Sub topic Google Cloud Platform > PubSub > Topics >
+ Create new topicSuggested name for the topic
Playstore-S2S-notificationsLeave the encryption set on
Key managed by Google
Creating a subscription on the topic
Access the topic you just created
Click on
+ Create a subscriptionSet the
Type of distributiontoPushIn the URL field, enter the value of the field Google Play S2S Notifications Endpoint retrieved from the Purchasely Console
Set
no expiration dateSet the
confirmation delayto60 secondsSet
Messages conservationto7 days
Adding a publisher to the topic
Add a new Pub/Sub Editor to the topic in the Google Cloud Platform Console Google Cloud Platform > PubSub > Topics > [Playstore-S2S-Notifications] >
+ Add principalCopy & paste the following value
google-play-developer-notifications@system.gserviceaccount.comin thememberfieldSet the
roletoPub/Sub Publisher
Play Store configuration
Connect to the Google Play Console and go to the following section Google Play Console > [YOUR APPLICATION] > Monetization > Setup
Type the full name of the topic. It shall have the shape
projects/[YOUR PROJECTS]/topics/Playstore-S2S-NotificationsClick on the button Send test notification. You can send several notifications at the same time
Click on Save changes
Check the good reception of the test notification at the
topiclevelin the Google Cloud Platform Console Google Cloud Platform > Topics > Googleplay-S2S-Notifications
Check the good reception of the test notification at the
subscriptionlevelin the Google Cloud Platform Console Google Cloud Platform > Subscriptions > Purchasely-Subscriptions
Last updated
Was this helpful?