How in-app subscriptions work on iOS and Android

Updated · 7 min read

Subscription groups and auto-renewable products on Apple

On Apple, a subscription is an auto-renewable subscription product. You create it in App Store Connect with a duration, such as one month or one year, and a price for each territory. The store renews it until the user cancels.

Related products sit in a subscription group. A user can hold only one active subscription in a group at a time. Moving between tiers in the same group is handled by the store, which adjusts the charge. Put products that replace each other in one group, and put unrelated add-ons in a different group.

  • One subscription group for each set of plans that replace each other
  • Duration and price set for each territory in App Store Connect
  • A localized display name and description for each product

Base plans and offers on Google Play

On Google Play, a subscription is a product with one or more base plans. A base plan sets the billing period, the renewal type and the price for each country.

Offers attach to a base plan. An offer can be an introductory price, a free trial or a discount for a group of users defined by eligibility rules. You choose an eligibility rule for each offer, such as new customers only, and Google Play applies it. Check the current options in the Play Console before your paywall promises a trial.

Free trials, introductory offers and eligibility

Introductory offers let a new subscriber try a product at a lower price, usually for a short time. Apple supports free trials, pay-as-you-go introductory pricing and pay-up-front pricing. Google Play offers free trials and introductory prices through offers on base plans.

Eligibility causes most of the confusion. Stores generally limit an introductory offer to users who have not used one before, and they track that on their side, not in your app. Where the store checks eligibility, do not build your own trial tracking. Show the offer only when the store reports the user as eligible, and state the trial length and the price that follows it.

Promotional offers and promo codes let you reward existing or returning subscribers. Read the store’s current documentation before you plan one.

Commission and what the stores handle for you

Apple and Google both take a share of revenue from digital purchases made in their stores. Both offer lower rates in some cases, such as Apple’s App Store Small Business Program, a lower rate on a first band of Google Play earnings, and lower rates on subscriptions. The rates and thresholds change, so read the current terms on Apple’s developer site and in the Google Play Console before you set your prices.

The stores process payments, handle refund requests and, in many countries, collect and pass on the sales tax on app purchases. Build your financial model from the store’s revenue report, not the list price.

StoreKit, Play Billing and why you check purchases on a server

On iOS, your app uses StoreKit to load products, start a purchase and read the resulting transaction. On Android, the Google Play Billing Library does the same job. The app receives proof of purchase: a signed transaction on Apple, or a purchase token on Google Play.

Do not grant paid access based only on what the app reports, since a device can be modified. Send the transaction or purchase token to your server. The server asks the store whether the purchase is valid, using the App Store Server API or the Google Play Developer API, and records the entitlement. The app then reads that entitlement from your server.

Renewals, cancellations and refunds often happen while the app is closed, so your server must listen for store events. Apple sends App Store Server Notifications to an endpoint you configure. Google sends real-time developer notifications through a Pub/Sub topic. Handle renewal, expiry, grace period, billing retry, cancellation, refund and revocation, and update the entitlement each time. On Android, acknowledge new purchases too, because the store can refund an unacknowledged purchase automatically.

Managed services such as RevenueCat wrap both stores in one API, one entitlement model and one dashboard, and receive the store notifications for you. You still design the products, prices and paywall. The trade-off is another vendor with its own fees and terms, so check its pricing page before you choose it.

Paywall design, regional pricing and refunds

A paywall should make the purchase easy to understand. Show what the user gets, the price per period as the store displays it, the length of any free trial and the price that starts after it, and that the subscription renews automatically. Include a restore purchases option and explain how to cancel. Users cancel in their Apple ID or Google Play subscription settings, and you can link to those pages.

Regional pricing is set for each country. On Apple you choose a price point for a base country, Apple generates matching prices for other territories, and you can change any of them. Google Play sets prices per country. Show the price the store gives the user rather than a figure you typed, because the store converts currency and applies local taxes.

On Apple, the customer asks Apple for a refund and Apple decides. On Google Play, customers can ask Google, and you can also issue a refund from the Play Console. Your server learns about the refund from the notifications described above and should remove access when it does.

Digital content and features sold inside an app generally must use the store’s in-app purchase system. Physical goods, and services consumed outside the app such as a delivered meal or a booked trip, may use other payment methods. The line is defined in Apple’s App Review Guidelines and Google Play’s payments policy, and both change by region, so read the current text before you design your paywall.

How Hundred Seas helps

Hundred Seas is a product studio in Taipei that builds iOS and Apple Watch apps, Android apps, web apps and internal tools. We have published our own apps on the Apple App Store, including FlowPulse, Deuce and GTO Poker, and Chamberflow, our membership software, runs on the web, iOS and Android. If you are planning a subscription app, our Scope step, about one week at a fixed price, ends with a written plan and a firm quote. Build takes two to four weeks with weekly releases, and our Run plan is a monthly plan that keeps the software running and up to date.

Questions

Can I take payment for an app subscription with Stripe or another processor?
For digital content and features used inside the app, the stores generally require their own billing, so a card processor alone is not enough. Physical goods and services consumed outside the app can use other methods. Some markets, including the United States and the European Union, now allow links to outside payment under conditions that keep changing, so check Apple’s and Google’s current policies for each country before you build.
Why does my server need to check purchases if the store already did?
The store confirms the payment, but your app still needs proof on your side before it grants access. A server check guards against tampered devices. Your server also receives renewal and cancellation events the app may never see, because the app was closed when they happened.
Do users cancel subscriptions inside my app?
Usually not. Apple and Google manage cancellation in the user’s account settings, so the app should link there and say where to go. Some apps add a shortcut that opens those settings. Either way, keep the path visible.
Do I need a restore purchases option?
Apple expects a restore option for apps that sell subscriptions. It lets a user who reinstalls the app or switches devices get access back without buying again. On Android, query existing purchases when the app starts, so returning subscribers see their access straight away.
Can I offer a discount by linking to a cheaper web checkout?
In most countries, not for digital content sold inside the app. Some markets, including the United States and the European Union, now allow links to an outside checkout under conditions that are still changing. Build discounts with the store’s own tools, such as introductory offers, promotional offers and promo codes. Check the current policy for your target region before you add any external link.

Have a project in mind?

Tell us what you want to build. We reply with a plan, not a sales call.

AboutHow in-app subscriptions work on iOS and Android