Flutter apps

In-app purchases in Flutter: what I learned getting Apple and Google to say yes

Shipping in-app purchases is less about code and more about store setup, testing and review. The checklist I use now, from a real Flutter release.

By Ahmed HebilaPublished 3 min read

When I shipped Aseel AI Trip to both stores in two weeks, the Flutter code was the easy part. In-app purchases (IAP) took most of the effort. Here is what I would tell myself before starting.

1. The stores decide how you charge

If a user unlocks digital content or features inside your app, Apple and Google expect you to use their payment systems — StoreKit on iOS and Google Play Billing on Android. Sending users to a web checkout for that is a common reason for rejection. Physical goods and real-world services are different, so check which case you are in before you design the flow.

2. Set up the products before you write code

Each store needs its products created and approved on its side:

  • Product IDs, prices and descriptions in App Store Connect and Google Play Console
  • Agreements, tax and banking details completed — without them, products never load
  • On Android, an app build already uploaded to a testing track

Most "my products list is empty" bugs are not bugs. They are store setup that is not finished yet.

3. One Dart API, two very different stores

Flutter's in_app_purchase package gives one interface for both platforms, which is great. But the behaviour underneath differs: pending purchases, restores, subscription changes. Plan for each state:

  • Pending — show it, don't unlock yet
  • Purchased — verify, unlock, then complete the purchase
  • Error / cancelled — tell the user, keep them where they were
  • Restored — required on iOS: users must be able to restore what they paid for

4. Verify on your side, not only in the app

The app can be tampered with. The safe pattern is to send the purchase token or receipt to your backend, verify it with Apple or Google, and only then grant access. It also keeps your users' purchases in your own database.

5. Test like the reviewer

Use sandbox testers on iOS and license testers on Android, and walk through the exact path a reviewer will take: install, open the paywall, buy, restore. Write clear review notes explaining where the purchase is and how to reach it. A reviewer who cannot find your paywall will reject the build.

The takeaway

IAP is a project of its own inside your app. Budget time for store setup, testing on real devices and at least one review round — that is where the days go, not the code.

Building an app with payments? See Flutter app development or read how we shipped Aseel in two weeks.

Want this built for you?

Tell me about your project — I reply within one business day with questions or a fixed quote.

All projects
All articles