Skip to content Skip to sidebar Skip to footer

Server Side Can Do Something Similar To Mobile Side Comsumeasync() In Google Billing Library?

For consumable products, use consumeAsync(), found in the client API. For products that aren't consumed, use acknowledgePurchase(), found in the client API. A new acknowledge() met

Solution 1:

You can use similar url which is used for server-side verification of an in-app purchase to acknowledge an in-app purchase. Its a POST method instead of a GET we use for verification. And you need to add acknowledge at the end.

POST https://www.googleapis.com/androidpublisher/v3/applications/packageName/purchases/products/productId/tokens/token:acknowledge

This might be helpful. https://developers.google.com/android-publisher/api-ref/purchases/products/acknowledge

Solution 2:

Post a Comment for "Server Side Can Do Something Similar To Mobile Side Comsumeasync() In Google Billing Library?"