Google Play refunds purchases after three days (purchase not acknowledged)
Google Play refunds and revokes any purchase your app doesn't acknowledge within three days. If users lose access about three days after paying, your app isn't calling acknowledgePurchase (or consumeAsync for consumables) on every path. Acknowledge each purchase once its state is PURCHASED and you've granted access. Check for unacknowledged purchases at every app start, not only when the purchase sheet returns.
Symptom
- Users are charged, get access, then lose it about three days later.
- Play Console's Order management shows those orders as refunded, without anyone asking for a refund.
- License-tester purchases disappear after a few minutes.
Purchase.isAcknowledged()isfalsefor purchases your app has already unlocked.
Why it happens
Google Play requires every purchase to be acknowledged (or consumed) within three days, as a safety net for customers who paid but never got what they bought. If the app doesn't acknowledge it in time, Google refunds the purchase and revokes the entitlement. The common reasons it doesn't happen:
| Cause | How to tell |
|---|---|
The app never calls acknowledgePurchase |
No call in the code, or only for one product type |
It acknowledges only in onPurchasesUpdated |
Purchases interrupted by a crash, kill or network drop are never acknowledged |
| It acknowledges only after a server call that failed | Refunds cluster around server outages or poor networks |
| Pending purchases are skipped and never revisited | Refunds hit slow payment methods (cash, bank transfer) |
| A subscription upgrade or downgrade isn't acknowledged | Refunds happen right after plan changes |
Confirm it
- In Play Console, open Order management and look at the refunded orders. Refunds about three days after the purchase date, with no refund request, point to missing acknowledgement.
- Log the state of every owned purchase at app start:
billingClient.queryPurchasesAsync(
QueryPurchasesParams.newBuilder().setProductType(BillingClient.ProductType.SUBS).build()
) { _, purchases ->
purchases.forEach {
Log.d("Ack", "${it.products} state=${it.purchaseState} acknowledged=${it.isAcknowledged}")
}
}
Repeat with ProductType.INAPP. Any PURCHASED purchase with acknowledged=false is heading for a refund.
- Test with a license tester: buy, then kill the app before your code acknowledges. If the purchase is refunded a few minutes later, the recovery path is missing.
Fix
- Acknowledge every purchase in
PURCHASEDstate that isn't already acknowledged, after you've granted access:
if (purchase.purchaseState == Purchase.PurchaseState.PURCHASED && !purchase.isAcknowledged) {
val params = AcknowledgePurchaseParams.newBuilder()
.setPurchaseToken(purchase.purchaseToken)
.build()
billingClient.acknowledgePurchase(params) { result -> /* retry if not OK */ }
}
Consume consumables with consumeAsync instead; that counts as acknowledging them.
- Recover missed purchases: call
queryPurchasesAsyncfor bothSUBSandINAPPat app start (and on resume), and run step 1 on what comes back. - Pending purchases: don't acknowledge while the state is
PENDING. Handle them when they move toPURCHASED, either inonPurchasesUpdatedor in the startup query. - Server-side acknowledgement is an alternative: your server can acknowledge with the Play Developer API (
purchases.subscriptions.acknowledgeorpurchases.products.acknowledge). Do it in one place or the other, and retry until it succeeds. - React Native / Expo / Flutter: call your library's finish or complete method for every purchase. Flutter's
in_app_purchaseacknowledges on Android when you callcompletePurchase.
Stop it coming back
- With a license tester, buy every product and wait ten minutes. Anything refunded is a release blocker.
- Alert on refunds that happen about three days after purchase with no refund request. It's the clearest sign that acknowledgement broke.
- After every Play Billing Library upgrade, check that recovery at app start still runs.
If you use BillDog
With the Android SDK's own purchase controller and finishTransactions left at true, BillDog acknowledges or consumes Play purchases for you, once its server has recorded them. It also covers the paths that usually leak:
- It queries
SUBSandINAPPpurchases atconfigureand when the app returns to the foreground. - It retries recording with backoff while the device is offline.
- A background job checks every six hours. If a purchase is still unacknowledged 48 hours after it was made, the job acknowledges it, logging
Acknowledging … at the 48-hour deadline, before Play auto-refunds it. - Purchases still
PENDINGare left alone until they becomePURCHASED.
The one case BillDog lets Google refund on purpose is a purchase its server rejected, so users aren't charged for something BillDog won't deliver.
If you pass your own purchase controller or set finishTransactions = false, BillDog never acknowledges anything, and this page is your code's job. This was checked against the source of the published Android SDK 1.1.1-beta.5. It hasn't yet been reproduced on a device for this page.
Related
- A consumable can only be bought once
- Google Play Store setup
- Custom purchases (your own purchase controller)
Sources
Did this fix it?
Frequently asked questions
Why do my test purchases get refunded after a few minutes?
License-tester purchases use a much shorter window. Google's test guide says a license tester's one-time purchase is refunded after 3 minutes if it isn't acknowledged. A test refund that fast means the same bug will hit real users after three days.
Do I need to acknowledge subscription renewals?
No. Google requires the first purchase of a subscription to be acknowledged. Renewals don't need it. Upgrades and downgrades create a new purchase, which does.
Does consuming a purchase count as acknowledging it?
Yes. Consuming a consumable acknowledges it, so you don't call both.
Should I acknowledge a pending purchase?
No. Wait until its state is PURCHASED. Google says the three-day window starts when the purchase moves from PENDING to PURCHASED, not when the user started paying.