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 Endpoint
Purchasely > 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 topic
Suggested name for the topic
Playstore-S2S-notifications
Leave the encryption set on
Key managed by Google
If you have multiple applications under the same Google Project, create one topic and one subscription per application.
Creating a subscription on the topic
Access the topic you just created
Click on
+ Create a subscription
Set the
Type of distribution
toPush
In the URL field, enter the value of the field Google Play S2S Notifications Endpoint retrieved from the Purchasely Console
Set
no expiration date
Set the
confirmation delay
to60 seconds
Set
Messages conservation
to7 days
To receive S2S notifications on mutiple endpoints, you can create another subscription linked to the same topic.
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 member
Copy & paste the following value
google-play-developer-notifications@system.gserviceaccount.com
in themember
fieldSet the
role
toPub/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-Notifications
Click 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
topic
levelin the Google Cloud Platform Console Google Cloud Platform > Topics > Googleplay-S2S-Notifications
Check the good reception of the test notification at the
subscription
levelin the Google Cloud Platform Console Google Cloud Platform > Subscriptions > Purchasely-Subscriptions
Last updated