Liftup TechnologiesWhatsApp+91 77689 10234Get a free quote
Services

SEO and AI search

Websites and stores

AI and automation

Apps and more

WorkPricing
Resources

Learn

Plan and price

Company

AboutContact
Get a free quoteWhatsApp usCall +91 77689 10234

In-app purchases and subscriptions: the basics

When an app sells something digital, the store takes the payment and your system grants the access. This guide follows a purchase from tap to renewal and lists what to test.

The short answer

An in-app purchase is a payment made inside an app and processed by the app store. The app shows a product, the store takes payment, and your app or server then grants access. Products are usually consumable, one-time or subscriptions. The stores set rules on billing, disclosure, restoring purchases and refunds, so check the current documentation.

How in-app purchases work

In-app purchases are payments made inside an app and processed by the app store, not by your own checkout. The app shows a product, the person confirms, the store takes the payment, and your app, usually with help from your server, then grants whatever was bought. The store handles the card, the receipt and the payment screen. You handle what the person receives.

That split explains most of the design work. The store is the source of truth for whether a payment happened, and your system is the source of truth for what the person can now do. The two have to stay in step through every purchase, renewal, cancellation and refund. This guide follows that path. It does not cover how to choose a revenue model, which is a separate decision.

The product types

TypeWhat it isExample
ConsumableBought, used up and bought againCredits, extra lives, a bundle of downloads
Non-consumableBought once and kept for goodA premium feature, a content pack, removing ads
SubscriptionRepeating payment for continuing access, renewed automatically until cancelledA monthly plan, an annual plan
Free trial or introductory offerA subscription that starts free or at a reduced rate for a set periodA trial week before the plan begins

Each store defines these types in its own words and offers its own trial and offer options, which change from time to time. Ask your developer to list the exact product types the app will use, with names, and check them against the current documentation of both stores.

From tap to access: what happens behind the screen

  1. Products are created in the store consoles, with a name, a type and a price per country chosen by you within the options the store gives.
  2. The app asks the store for the product list and shows each product with the price the store returns. Do not hard-code prices in the app. Prices and currencies differ by country, and they can change.
  3. The person taps buy and the store's own payment sheet appears. They confirm with their usual method.
  4. The store completes the payment and hands the app a receipt or token.
  5. Your server checks the receipt directly with the store. This step matters, because an app on a modified phone can claim a purchase that never happened.
  6. The server records what the person now owns: an entitlement, such as an active plan until a date.
  7. The app asks your server what the person is entitled to and shows or hides features accordingly.
  8. Later events, such as a renewal, a failed payment, a cancellation or a refund, reach your server as notifications from the store, and the entitlement is updated.

Steps five to eight are server work, which is why subscription apps nearly always need a backend. The store's notifications are one more example of the connections described in mobile app APIs and third-party integrations. The names of the store interfaces differ and change, so check the current documentation for each.

What the stores require

Both stores publish rules for apps that sell digital items. Expect them to cover which billing system you must use, how a subscription's price, length and renewal must be shown before the person buys, and a way to restore earlier purchases on a new phone. The rules differ between Apple and Google, differ by country, and change. Read the current guidelines for both before you design the screens, and ask your developer to cite the rule behind each behaviour.

There is one requirement worth planning for now. Apple requires that an app which lets people create an account also lets them delete it from inside the app. For a subscription app, think about what deleting an account means for a live subscription. The subscription is held by the store, so deleting your account record may not stop the payments. Tell people plainly how to cancel, and ask your developer how the two interact.

Your privacy policy must also cover what purchase data you keep. The guide to app permissions and privacy basics covers the policy and the permissions an app asks for.

Refunds, cancellations and restoring purchases

For purchases made through the store, the store usually owns the payment relationship, so refund requests generally go to the store, not to you. That is a support matter you should prepare for. Write a short reply for customers who ask you for a refund: you cannot issue it directly, and this is where to ask the store. Check the current store policies, because the process and who decides can vary.

Cancelling a subscription is normally done in the person's store account settings, not inside your app. Your app can point to where they manage subscriptions. Access usually continues until the end of the period already paid for, but confirm how each store treats the end date. When a cancellation or refund reaches your server, update the entitlement so access ends at the right time.

Restoring purchases lets someone who has reinstalled the app, or moved to a new phone, get back what they already bought without paying again. Build a restore option, test it on a second device, and put it on the paywall or settings screen where people can find it.

Physical goods, web apps and your own payment provider

Store billing rules are mainly about digital items used inside the app. Physical goods and services delivered outside the app, such as a parcel or an appointment, normally use ordinary payment methods, and the rules are different. Check the current rules for your type of item. If your app sells goods, the guide to ecommerce website vs mobile app covers what a shopping app adds.

A web app is a different case again. It sits outside the stores and can use its own payment provider, though your customers may expect to pay in the familiar store sheet. The choice between a store app and a web app is covered in native app vs web app. If you hope to use your own payment provider inside a store app, ask a lawyer and read the current store rules for your countries first, because the position differs by region and has changed over time.

Test every state before launch

Both stores offer a way to test purchases without real payments. Check the current documentation for how to set up test accounts. A purchase that works once in the happy path is not tested. These cases are:

  • A successful purchase of each product, and the screen the person sees afterwards.
  • A purchase interrupted by a lost connection or a closed app after payment, which must end with the person receiving what they paid for.
  • A subscription that renews, fails to renew, is cancelled and expires.
  • A refund, and the loss of access that follows.
  • Restoring purchases on a clean install and on a second device.
  • A person who signs in with a different account on the same phone.
  • A price shown in another country's currency, to check that nothing is hard-coded.

Put these cases in the app brief as acceptance tests, so the build is judged against them. Give the store reviewers demo steps for each purchase in the review notes.

Reports, support and tax

Decide who looks at sales reports, who handles purchase questions from customers, and how store income is recorded in your accounts. Ask your accountant how sales through each store are taxed and reported in the countries where you trade, because the position differs by country and by type of sale. If you want a team to build the purchase flow and the server work behind it, see the mobile app development page from Liftup Technologies.

Related guides

Questions and answers

How do in-app purchases work?

The app lists products with prices returned by the store. The person confirms in the store's payment sheet, the store takes the payment and returns a receipt, and your server checks it with the store and records what the person now owns. The app then shows the purchased feature or content.

What do the app stores require for in-app purchases and subscriptions?

Both stores publish rules on which billing system to use for digital items, how subscription terms must be shown before purchase, and restoring earlier purchases. The details differ between stores and countries and change over time, so read the current guidelines for both before you design the screens.

How do refunds and cancellations work?

For store purchases, refunds are generally requested from the store, not from the app owner, and subscriptions are normally cancelled in the person's store account settings. Your server should react to cancellation and refund notifications by ending access at the right time, and your support team should know what to tell customers.

What is the difference between an in-app purchase and a subscription?

A subscription is one type of in-app purchase. The other common types are consumables, which are used up and can be bought again, and non-consumables, which are bought once and kept. A subscription renews on a schedule until the person cancels.

What does restore purchases mean?

It lets someone who has reinstalled the app or changed phone get back what they already bought without paying again. The app asks the store which purchases belong to the account and your system restores the access. Test it on a second device before launch.

Can I use my own payment provider instead of the store?

It depends on what you sell, where your customers are and the store's current rules. Physical goods and services delivered outside the app normally use ordinary payment methods, while digital items used in the app have stricter rules. Read the current rules for your countries and ask a lawyer before you build.

Get a free quote
Discuss on WhatsApp