Malti G
Posted on Dec 2
Fully Autonomous
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 .…