I've tried every other way to verify inapp purchase using cloud function...All are outdated(not supporting v3 api).
Is there a way to call a cloud function with all required information and verify if the purchase was real and write to Firebase Firestore it's validity?
As per this doc,
GET https://www.googleapis.com/androidpublisher/v3/applications/packageName/purchases/products/productId/tokens/token
is supposed to be called by the server.