All articles
Playbook8 min read

A refunded remove ads purchase should switch the ads back on, and most apps never notice

Most apps save a remove ads purchase as one flag on the phone, and a refund never clears it. Apple and Google take the money back while the customer keeps an ad-free app. Here's what that costs, which refund signals exist, and how to turn the ads back on.

A phone on a kitchen table showing a casual game with a banner ad, next to a store receipt, the moment a refunded remove ads purchase should bring the ads back

Key takeaways

  • An app that saves a remove ads purchase as a local flag, such as adsRemoved = true, keeps the ads switched off after Apple or Google refunds the purchase, unless the app checks the store again.
  • Apple's StoreKit documentation says products the App Store has refunded or revoked don't appear in Transaction.currentEntitlements, so an iOS app that rebuilds its ad-free state from that sequence on launch turns the ads back on by itself.
  • Apple's REFUND server notification covers consumable, non-consumable and non-renewing subscription purchases, which includes the typical non-consumable remove ads purchase.
  • Google Play's help center tells buyers that if a refund is issued they lose access to the item, but enforcing that inside the app is the developer's job, using the voided purchase notification or the Voided Purchases API, which looks back 30 days.
  • Google's orders.refund call only revokes the entitlement when revoke is set to true. Without it, Google refunds the order, leaves the entitlement in place and sends no voided purchase notification.
  • A refunded remove ads purchase costs the developer the sale proceeds plus every ad impression the user no longer sees, while the user keeps triggering paid costs such as API calls, bandwidth and push delivery.
  • Only two refund flows let a developer send evidence before the store decides: Apple's CONSUMPTION_REQUEST, answered within 12 hours, and Google Play's chargeback review through orders.reviewrefund, answered within 24 hours.

Most apps that sell a remove ads purchase save the result as a single flag on the phone, and a refund never touches that flag. Apple or Google returns the customer's money, and the customer keeps an ad-free app. You lose the sale and every ad impression that person would have seen. The fix is small. Treat the store's current entitlement as the truth, not a value you wrote once on the day of purchase.

It's an easy bug to ship because nothing looks broken. No crash, no support ticket, no angry review. The refunded user is the happiest person in your analytics, and that's exactly why nobody goes looking.

Why a remove ads purchase survives a refund

The common pattern goes like this. The purchase succeeds, the app writes something like adsRemoved = true to UserDefaults or SharedPreferences, and from then on the ad code reads that flag. The store is never asked again unless the user taps Restore. A refund happens on Apple's or Google's side, days or weeks later, and the flag on the phone has no way to hear about it.

Apple has already built the honest version. Its StoreKit documentation says products the App Store has refunded or revoked don't appear in Transaction.currentEntitlements. An app that rebuilds its ad-free state from that sequence at every launch turns the ads back on without any extra work. Apple's Transaction.updates listener also delivers changed transactions while the app runs, and Apple's own sample code checks revocationDate there and removes access.

Google states the outcome in plain terms on its consumer refund page: if a refund is issued, the buyer loses access to the item. That's a promise Google makes to the buyer, but your app is the one that shows the ads. Google's billing integration guide tells you to call queryPurchasesAsync once the billing connection is set up, typically at launch and when the app returns to the foreground. If the app only ever writes true and never re-derives the value, that call can't help you.

Doesn't Restore Purchases already fix this?

No. App Review Guideline 3.1.1 tells you to provide a restore mechanism for restorable In-App Purchases, and most teams build it to add access, never to remove it. A restore that sets the flag to true when it finds a purchase, and does nothing when it doesn't, leaves a refunded user exactly where they were. The restore path and the launch check need to be able to write false.

Is a remove ads purchase a non-consumable?

Usually, yes. It's a one-time unlock that should follow the customer to a new phone, which is what a non-consumable is for on the App Store and what a one-time product you acknowledge but never consume does on Google Play. Google's guide is explicit that non-consumables must be acknowledged, and an unacknowledged purchase is refunded and revoked automatically after three days.

Every refund signal a remove ads purchase can receive

Each store gives you more than one way to learn about a refund. You don't need all of them, but you need at least one that runs without the user tapping anything.

SignalStoreWhere it arrivesWhat it tells you
REFUND notificationAppleYour server, App Store Server Notifications V2A consumable, non-consumable or non-renewing purchase was refunded
revocationDate on a transaction from Transaction.updatesAppleThe app, while it runsThat transaction was refunded or revoked, remove access
Transaction.currentEntitlementsAppleThe app, on demandRefunded or revoked products are left out
REFUND_REVERSED notificationAppleYour serverApple reversed a refund it had granted, restore access
Voided purchase notificationGoogle PlayYour server, Real-time developer notificationsA purchase was refunded, cancelled or charged back
Voided Purchases APIGoogle PlayYour server, on a scheduleVoided purchases from the past 30 days, up to 6,000 queries a day per app
orders.refund with revoke set to trueGoogle PlayYour own callYou refunded the order and removed the entitlement

What a refunded remove ads purchase costs in money

Take a hypothetical puzzle game on the App Store that sells a remove ads purchase for $3.99. It's in Apple's Small Business Program, so the commission is 15% and the developer's proceeds are about $3.39 before tax. Assume, for illustration, that a daily player earned the game about $0.03 a day in ad revenue before they paid.

Line itemAds come back after the refundFlag stays on after the refund
Sale proceeds$3.39 returned to Apple$3.39 returned to Apple
Ad revenue over the next 180 days at $0.03 a dayEarned again, about $5.40$0
Paid costs the ads used to coverFunded by ads againPaid by you, with no revenue

The last row is the one that grows. Plenty of free apps run on paid infrastructure: a weather app buying forecast API calls, a maps feature paying for tile requests, a feed paying for bandwidth and image storage, a reminder app paying for push delivery. Ads cover those bills for free users. A paid remove ads purchase covers them for buyers. A refunded user with the flag still on is the only user who costs you money and pays nothing at all.

And when the refund is a chargeback

On Google Play, a bank dispute is worse. For orders placed after August 3, 2026, Google says the developer covers the purchase price, minus Google Play's service fee, plus the chargeback fees charged by the financial institution. Chargebacks are bank-final, so a lost one doesn't come back. If the user also keeps the ad-free app, you've paid a bank fee for the privilege of serving them for free.

How to switch the ads back on after a refund

None of this needs a rewrite. It needs the ad-free state to come from the store, with the local value treated as a cache.

Rebuild the ad-free state at every launch

  • On iOS, loop over Transaction.currentEntitlements at launch and set ad-free only if the remove ads product is in it. If it isn't, write false.
  • On Android, call queryPurchasesAsync when the billing connection succeeds and when the app comes back to the foreground, and treat the result the same way.
  • Keep the local flag only as an offline fallback, and refresh it the next time the store answers.

Listen while the app is open

  • On iOS, start a Transaction.updates listener at launch, as Apple's documentation says, and remove ad-free when a transaction arrives with a revocationDate.
  • On both stores, re-check entitlements when the app returns to the foreground, since refunds happen while it's closed.

Let your server overrule the phone

If users sign in, record each remove ads purchase against the account. When Apple's REFUND or Google's voided purchase notification arrives, mark the account and have the app sync on its next launch. Apple says you're responsible for storing, monitoring and taking action on each refunded transaction, and suggests mapping REFUND notifications to your accounts to spot repeated refunds. Google recommends pairing the Voided Purchases API with real-time notifications.

A developer at a desk at dusk checking server logs on a laptop next to a test phone, wiring refund notifications so a refunded remove ads purchase brings the ads back

Tell the customer what changed

Apple asks developers to explain any action taken after a refund with contextual messaging in the app. Google's Voided Purchases guidance says the same thing, plus one more rule: apply your revocation policy uniformly. A short line works: "Your ad-free upgrade was refunded, so ads are back. You can buy it again anytime." And when Apple sends REFUND_REVERSED, give ad-free back straight away. That customer paid.

Can you contest a remove ads refund?

Rarely, and only in two places. Apple sends a CONSUMPTION_REQUEST when a customer asks for a refund, and you have 12 hours to answer through Send Consumption Information. Apple only accepts the data when customerConsented is true, so you need the customer's consent first. For a remove ads purchase, deliveryStatus is usually DELIVERED, and Apple accepts a consumptionPercentage for non-consumables. Apple says it uses this as one of many factors, and the final refund may differ from what you send.

Google Play asks for your side only in a chargeback review, through orders.reviewrefund, within 24 hours. The 48-hour self-service refund, support refunds and voided purchases are all decided without you. So for most remove ads refunds, the money decision is already made. What's left to you is whether the ads come back.

Frequently asked questions

Does a refund automatically bring back ads in my app?
Only if your app checks the store. Apple and Google remove the refunded purchase from the customer's entitlements, but an app that saved a local adsRemoved flag keeps hiding ads until it re-reads Transaction.currentEntitlements on iOS or queries purchases again on Android.
How do I know a remove ads purchase was refunded on iOS?
Apple sends a REFUND notification to your server, and the app sees a transaction with a revocationDate in Transaction.updates. The refunded product also drops out of Transaction.currentEntitlements, which is the simplest check to run at launch.
How do I know a remove ads purchase was refunded on Google Play?
Google sends a voided purchase notification through Real-time developer notifications, and the Voided Purchases API lists voided purchases from the past 30 days. Google's help center says a refunded buyer loses access to the item, but your app has to enforce it.
Can I refund a remove ads purchase on Google Play and let the customer stay ad-free?
Yes. Call orders.refund without setting revoke to true, or refund without removing the entitlement in Play Console. Google refunds the order, leaves the entitlement in place, and doesn't send a voided purchase notification.
Should I fight refunds on a remove ads purchase?
Usually not. Apple's CONSUMPTION_REQUEST lets you send consumption data within 12 hours, and Google's chargeback review accepts evidence within 24 hours, but every other refund is decided without you. The bigger saving is making sure the ads come back after the refund.

Sources and further reading

RefundHalt

The refund autopilot for the App Store and Google Play

Keep reading

The next refund request is already on its way.

Set up RefundHalt in the time it takes to read another support email about a refund you didn't get to contest.