The short answer
If your app sells digital content or features used inside it, such as a subscription, premium tools or in-game currency, Apple and Google generally require their own billing: StoreKit on iOS and Google Play Billing on Android. Physical goods and real-world services must use another payment method, and links to outside payment are allowed only in certain countries, such as the United States, and under specific programs in places like the EU and the UK. Whatever you sell, verify every purchase on your own server, support restoring purchases, and test the whole lifecycle in each store’s sandbox before launch.
Key points
- Digital goods used in the app go through the store’s billing; physical goods and services consumed outside the app must not.
- Outside payment links depend on the country and the program, and the rules changed in the US, the EU and the UK in 2025 and 2026.
- Know the product types: consumable, non-consumable, auto-renewing subscription and, on iOS, non-renewing subscription.
- Grant access only after your server has verified the purchase with Apple or Google, and keep it in sync with their notifications.
- Plan for restores, free trials, refunds and failed renewals from the start; they are part of the product, not edge cases.
- Test in sandbox with test accounts, then check the rules for every storefront you launch in. This is general information, not legal advice.
When the stores require their own billing
Both stores draw the same line: what is bought and used inside the app goes through the store, and what is used in the real world does not. Apple’s App Review Guidelines, section 3.1.1, say that unlocking features or functionality, such as subscriptions, in-game currencies, game levels, premium content or a full version, must use in-app purchase, and that apps may not use their own unlock mechanisms such as license keys or QR codes. Google Play’s Payments policy says much the same, and names cloud services such as storage and productivity tools as covered too.
| What you sell | Apple App Store | Google Play |
|---|---|---|
| Subscriptions, premium features, digital content, in-game currency | In-app purchase, guideline 3.1.1 | Google Play’s billing system, unless an exception or regional program applies |
| Physical goods, such as groceries or clothing | Must use another method, such as Apple Pay or card entry, guideline 3.1.3(e) | Play billing must not be used |
| Services used outside the app, such as rides, cleaning or food delivery | Must use another method, guideline 3.1.3(e) | Play billing must not be used |
| Peer-to-peer payments, auctions, card or utility bill payments | Not in-app purchase | Play billing must not be used |
| Content bought earlier on your website or another platform | May be unlocked in the app under 3.1.3(b), if those items are also offered as in-app purchases | Follow the Payments policy and its exceptions |
Apple adds a rule for subscriptions: under 3.1.2, an auto-renewing subscription must provide ongoing value, last at least seven days and work on all of the user’s devices where the app is available. A marketplace or booking app usually sits in the middle rows and uses a normal payments provider; going live with payments covers that side.
When an app may link to outside payment
Linking from the app to your website to buy digital goods is where the rules have moved most, and they differ by country. As of November 2026:
- United States, iOS: Apple’s guidelines allow buttons, external links and other calls to action to other ways of buying on the United States storefront, without a special entitlement.
- United States, Android: since October 29, 2025, following a US court order in the case brought by Epic Games, Google no longer requires Play billing for apps in the US and allows links to outside purchases. Developers who use another billing system or link out enroll in Google’s alternative billing or external content links programs, which carry their own reporting and service fees.
- European Union, iOS: Apple’s current EU terms let apps use an alternative payment processor in the app or show out-of-app offers that send users to a website, under separate business terms, with a commitment to keep the chosen payment options for 12 months. For users under 13, alternative payments must sit behind a parental gate and out-of-app offers are not allowed; for users aged 13 to 17, both must sit behind a parental gate.
- UK, EEA, Australia and Japan, Android: Google’s billing choice program lets enrolled developers offer their own billing or an external web link, as long as Google Play Billing is offered alongside it.
- Reader apps: apps for previously bought magazines, newspapers, books, audio, music or video may apply to Apple for an entitlement to link to a website to create or manage an account, under guideline 3.1.3(a).
- Elsewhere: Apple allows links only with an entitlement in specific regions, and otherwise no calls to action toward other purchase methods; Google allows them only in eligible countries after enrolling in the relevant program.
If you process payments yourself, you also take on what the store did for you: Google’s programs require you to provide customer support, a way to dispute unauthorized charges and refunds, and card handling that meets PCI DSS. Both stores also take a commission on what they bill. Apple’s Small Business Program page describes a reduced rate of 15% for qualifying developers, and Google’s service fees page lists rates that differ by region, by transaction type and by whether the install is new, with lower rates for auto-renewing subscriptions. These terms changed several times in 2025 and 2026, so read the current pages for each market before you model revenue. This is general information, not legal advice.
The product types
Apple names four kinds of in-app purchase; Google groups them into one-time products and subscriptions. The type decides whether a purchase can be restored and how your server tracks it.
| Type | What it is | Example | Restorable |
|---|---|---|---|
| Consumable | Used up, and can be bought again | Coins, extra credits, a single report | No, but your server should keep the balance |
| Non-consumable | Bought once, kept for good | Removing ads, a full version, a filter pack | Yes |
| Auto-renewing subscription | Renews until the user cancels | Monthly or yearly access to premium content | Yes, while active |
| Non-renewing subscription (Apple) | Access for a set period that does not renew by itself | A season pass | Your app tracks it, usually through an account |
On Google Play, one subscription can carry several base plans and offers, such as monthly and yearly plans and an introductory offer. On Apple, related subscriptions sit in a subscription group, and guideline 3.1.2(b) says users should not be able to subscribe by mistake to several versions of the same thing.
StoreKit and Play Billing at a high level
StoreKit is Apple’s framework for showing products and running purchases on iOS; the Google Play Billing Library does the same on Android. The flow is similar on both, and Google’s documentation sets it out in five steps:
- Show the user what they can buy, with prices fetched from the store, not typed into your app.
- Launch the store’s purchase flow. The store handles payment, authentication and receipts.
- Send the result to your server and verify it with Apple or Google.
- Grant the content or feature, and record it against the user’s account.
- On Android, acknowledge the purchase, or consume it if it is a consumable, so it can be bought again.
Two details catch teams out: Google refunds and revokes a purchase automatically if it is not acknowledged within three days, so a bug in that step quietly gives money back. And a purchase can be pending, for example while a family member approves it; grant access only once it is purchased. Purchases can also arrive while your app is closed, so check for updates when the app starts.
Verify every purchase on your server
Never trust the app alone to say a purchase happened; a modified app can claim anything. Both stores give your server a way to check:
- Apple: the App Store Server API lets your server look up transactions, subscription status and refund history. Apple signs the transaction and renewal data it returns using JSON Web Signature, so your server verifies the signature before trusting it. App Store Server Notifications send near real-time updates about renewals, refunds and subscription changes to an HTTPS address you configure.
- Google: your server calls the Google Play Developer API with the purchase token. For subscriptions, Google describes the purchases.subscriptionsv2.get endpoint as the source of truth. Real-time developer notifications tell your server when a subscription is bought, renewed, put on hold, canceled or revoked.
In practice, keep one record of entitlements per user in your own database, update it from verified purchases and store notifications, and have the app ask your server what the user can access. Handle each notification more than once without harm, because stores retry. If you also sell on the web, the same record can unlock access from both.
Restore purchases
People reinstall apps, change phones and sign in on tablets. Apple’s guidelines say you should have a restore mechanism for any restorable in-app purchases, and reviewers check payment flows closely; app store rejection reasons covers the rest of what they look for. StoreKit exposes the user’s current entitlements so the app can rebuild access after a reinstall, and the Play Billing Library can return a user’s active purchases.
- Show a visible Restore purchases control on the paywall and in settings, and if users have accounts, tie purchases to the account on your server.
- Restore non-consumables and active subscriptions. Consumables are not restored by the store, so keep balances on your server if they matter.
- Google says supporting restore is required: a user who canceled but still has access can resubscribe from the Play Store’s subscriptions screen, and your app and server must handle that without a new purchase.
Free trials and introductory offers
Trials and discounts are set up in App Store Connect and the Play Console, not in your code, and the stores enforce who is eligible.
| Apple | Google Play | |
|---|---|---|
| Offer kinds | Free trial, pay as you go (a discounted price for several periods) and pay up front (one discounted price for a set duration) | Offers on a base plan, such as a free trial or an introductory price, plus upgrade and winback offers |
| Who is eligible | New subscribers, and lapsed ones who never used an introductory offer in that subscription group | Set by the offer’s eligibility rules, such as new customers only; an option limits a user to one free trial per app |
| Other tools | Promotional offers and offer codes | Promo codes, including codes for an extended free trial |
Before someone subscribes, say clearly what they get, what it costs after the trial and how to cancel; Apple’s guideline 3.1.2(c) requires the app to describe what the user will get for the price. Google checks for a valid payment method before a free trial starts. Show offers only to people who qualify, by asking the store or your server.
Refunds, failed renewals and grace periods
When a purchase goes through a store, the store handles refunds. On Apple, the user requests the refund and Apple decides; your app can open the request with the beginRefundRequest API, and your server learns of a refund through App Store Server Notifications and can send consumption information that helps inform Apple’s decision. On Google Play, you can refund and revoke purchases from the Play Console or the API, and your server is notified when a purchase is revoked. Either way, remove access when a refund comes through.
Renewals fail for ordinary reasons, such as an expired card. Both stores retry the payment for a while:
- Grace period: the user keeps access while the store retries. Apple’s Billing Grace Period is turned on in App Store Connect; on Google Play it is on by default for auto-renewing base plans, and its length can be changed.
- Account hold (Google): after the grace period, the user loses access while Google keeps retrying, and regains it if the payment recovers.
- In both cases, tell the user and link them to the store’s subscription settings.
Testing in sandbox
Both stores let you test without real charges, and both shorten subscription periods so a renewal takes minutes instead of a month.
- Apple: create Sandbox Apple Accounts in App Store Connect. Builds you run from Xcode and every TestFlight build use the sandbox, and purchases there are not charged. You can change the renewal rate and clear a tester’s purchase history, which makes them eligible for introductory offers again.
- Google: add license testers in the Play Console. They get test payment methods that always approve, always decline or approve slowly, so you can test pending purchases, declines and chargebacks. Google’s Play Billing Lab app can move a test subscription into grace period or account hold and repeat trial offers.
- Test the unhappy paths: cancellation, refund, failed renewal, restore on a second device, upgrade and downgrade. Google also advises testing with ordinary accounts from time to time, so the app does not depend on test-only behavior.
Then read the current rules for every storefront you launch in. If you are planning a subscription app, mobile app development describes how we approach the build: the code lives in your GitHub from day one, and the founders are on the calls.
Sources
Checked when this guide was written.
- Apple Developer: App Review Guidelines (section 3.1 Payments)
- Apple Developer: Changes for apps in the European Union
- Apple Developer: App Store Small Business Program
- Apple Developer: Apple In-App Purchase
- Apple Developer Documentation: App Store Server API
- Apple Developer Documentation: Implementing introductory offers in your app
- Apple Developer Documentation: Testing Apple In-App Purchases with sandbox
- Play Console Help: Payments (Google Play policy)
- Play Console Help: An update regarding Google Play’s policies for developers serving users in the US
- Play Console Help: Enrolling in the billing choice program
- Play Console Help: Service fees
- Android Developers: Integrate the Google Play Billing Library into your app
- Android Developers: About subscriptions (Play Billing)
- Android Developers: Subscription lifecycle (Play Billing)
- Android Developers: Test your Google Play Billing Library integration