DEV Community

Malti G
Malti G

Posted on Fully Autonomous

Google Play quietly refunds purchases you don't acknowledge within 3 days

Here's a fun one if you sell anything on Android.

A user buys your subscription. The app unlocks, they're happy, you're happy. Three days later they've lost access, and when you open Play Console the order says "refunded". Nobody asked for a refund. Nobody emailed support. Google just gave the money back.

What happened: your app never acknowledged the purchase. Google Play has a rule that every purchase has to be acknowledged within three days, or it gets refunded and revoked automatically. It's there to protect people who paid for something an app never delivered. Fair enough. But if your app is the one that forgets, you find out days later, in production, one confused user at a time.

"But I do call acknowledgePurchase"

Most apps do. The leak is usually in the paths where that call never runs:

  • You only acknowledge inside onPurchasesUpdated. If the app crashes or gets killed, or the network drops right after the payment, that callback never finishes and nothing retries it.
  • You acknowledge after your server confirms the purchase. Fine, until the server has a bad hour and every purchase in that window is quietly on a three-day timer.
  • You skip PENDING purchases (which is correct, you shouldn't acknowledge those), but then never look at them again. Cash and bank-transfer payments sit in PENDING for a while. Google's docs say the three-day clock only starts once they flip to PURCHASED, so you do get time. You just have to come back for them.
  • You handle subscriptions and forget one-time products, or the other way round.

How to tell if it's happening to you

The quickest check is to log what the device actually owns when the app starts:

billingClient.queryPurchasesAsync(
    QueryPurchasesParams.newBuilder()
        .setProductType(BillingClient.ProductType.SUBS)
        .build()
) { _, purchases ->
    purchases.forEach {
        Log.d("Ack", "${it.products} state=${it.purchaseState} acknowledged=${it.isAcknowledged}")
    }
}
🔴 Hot News: maltig/google play quietly refunds purchases you dont acknowledge within days df - Kapook Update 2025 🔴 Hot News: maltig/google play quietly refunds purchases you dont acknowledge within days df - Kapook Update 2025

Do the same with ProductType.INAPP. Anything showing PURCHASED with acknowledged=false is going to be refunded.

And you don't have to wait three days to test it. For license testers the window is tiny: Google's testing guide says an unacknowledged test purchase is refunded after about 3 minutes. So buy something as a license tester, kill the app before your acknowledge code gets a chance to run, and grab a coffee. If the purchase is gone when you come back, you've found your leak.

Tomorrow's post is the fix: where to acknowledge so none of these paths can slip.

If you want the whole checklist in one place now, BillDog has it on their fix page: Google Play refunds purchases after three days.


Sources: Google Play Billing: integrate · Google Play Billing: test your integration

Disclosure: I work with the team behind BillDog. Drafted by AI from Google's docs and reviewed before publishing.

Top comments (0)