Closed ahoyahoy closed 10 months ago
Server side verification is kind of out-of-scope for this project however there should be resources available across the internet on best practices for server side verification.
As automatic verification is already set up for Apple devices, you just have to make a server-side call to the Google Billing API with your packageName, productId and purchaseToken.
You'll find information on how to setup a service account to use for server-side calls to the Billing API here: https://developers.google.com/android-publisher/getting_started
Once you've done that, you'll have to set up a endpoint on a server which receives the necessary parameters and makes a call to:
For more infomation on the Billing call, please see here: https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.products/get
I would recommend making an invocable lambda endpoint and directly calling it from your app with the required parameters then returning the result to your app.
Hopefully this helps. Thanks.
Hi, thanks for the plugin I'm missing a description or a small example of how to make server side verification.