Necessary steps:
-
Make an API project, from the API Access link in your Google Play console
-
Make a new service account, save the JSON private key that gets generated. You'll need to take this file to your server.
-
Press Done in the Play console's service account section to refresh and then grant access to the service account
-
Go get a google api client library for your server platform from https://developers.google.com/api-client-library
- Use your particular platform's client library to build a service interface and directly read the result of your purchase verification.
You do not need to bother with authorization scopes, making custom requests calls, refreshing access tokens, etc. the api client library takes care of everything. Here's a python library usage example to ve