Android Question Voided purchases API

kstainsb

Member
Licensed User
Longtime User
I just got an email from Google about this api. Can we have an update so we can check this if users take a refund?
 

kstainsb

Member
Licensed User
Longtime User
I got this email from Google:

"Hello Google Play Developer,

In order to keep Play fair for users and developers, and bring Play in line with the majority of app and game stores in the industry, we are making a change to our developer policy regarding refunds. We will subtract all refunds from developer payouts, not just those made within 48 hours of purchase. The Google Play Developer Distribution Agreement ("DDA") will be updated to reflect this change in the coming months.

With the same goal in mind, we’ve just launched the Voided Purchases API to help you maintain a fair ecosystem in your app or game.

With the new API, you can check which users have refunded or charged back in-app purchases in order to claw back those items for that user in your app or game. This change helps to deter abusive behavior and will make the ecosystem fairer for all users.

We updated the Google Play Developer API terms of service to include the terms governing the use of this new API. By using the new API, you indicate your agreement to these terms."


Therefore I guess that users can get a refund on any purchases at any time. Which means we need to use the voided purchases API to check if IAPs are still valid. I don't think this feature is available in the iap code at the moment.

 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
The new voided purchased API is not intended to be used in the mobile app directly. It is part of Google Play Developer API which provides programmatic access to Google Play.
You should use it in a server solution.

If I understood correctly you can see the same information about refunds in Google Play Developer console.
 
Upvote 0

kstainsb

Member
Licensed User
Longtime User
Ah okay, so I could tell that an IAP had been voided by a lack of the correct PurchaseState and ProductId in the OwnedProducts list, i.e. it would have been removed from the list once the IAP had been voided and refunded..
 
Upvote 0
Top