In-app purchase

People can use in-app purchase to pay for virtual goods — like premium content, digital goods, and subscriptions — securely within your app, regardless of the device on which it runs.

You can also promote and offer in-app purchases directly through the App Store. For developer guidance, see In-App Purchase.

IMPORTANT In-app purchase and Apple Pay are different technologies that support different use cases. Use in-app purchase to sell virtual goods in your app, such as premium content for your app and subscriptions for digital content. Use Apple Pay in your app to sell physical goods like groceries, clothing, and appliances; for services such as club memberships, hotel reservations, and event tickets; and for donations.

Using in-app purchase, there are four types of content you can offer:

  • Consumable content like lives or gems in a game. After purchase, consumable content depletes as people use it, and people can purchase it again.
  • Non-consumable content like premium features in an app. Purchased non-consumable content doesn’t expire.
  • Auto-renewable subscriptions to virtual content, services, and premium features in your app on an ongoing basis. An auto-renewable subscription continues to automatically renew at the end of each subscription period until people choose to cancel it.
  • Non-renewing subscriptions to a service or content that lasts for a limited time, like access to an in-game battle pass. People purchase a non-renewing subscription each time they want to extend their access to the service or content.

A screenshot of The Coast game’s in-app purchase store on iPad, featuring a row of five boosts that include lighthouse repairs and a power surge, and in-game maps with names like World Canals, The Great Lakes, and Famous Bays. A screenshot of the app's subscriptions page on iPhone is in front of the iPad and on the right. The subscription, titled Cartographer's Collection, provides access to all of the maps in the game for $2.99 per month.

For marketing and business guidance, see In-app purchase and Auto-renewable subscriptions. For information about what you can and can’t sell in your app, including in-app purchase usage requirements and restrictions, see App Store review guidelines.

Best practices

Let people experience your app before making a purchase. People may be more inclined to invest in paid items or features after they’ve enjoyed your app and discovered its value. If you offer auto-renewable subscriptions, consider supporting limited free access to your content; for guidance, see Auto-renewable subscriptions.

Design an integrated shopping experience. You don’t want people to think they’ve entered a different app when they browse and purchase your digital products. Present products and handle transactions in ways that mirror the style of your app.

Use simple, succinct product names and descriptions. Titles that don’t truncate or wrap and plain, direct language can help people find products quickly.

Display the total billing price for each in-app purchase you offer, regardless of type. People need to know the total billing amount for every purchase they consider.

Display your store only when people can make payments. If someone canʼt make payments — for example, because of parental restrictions — consider hiding your store or displaying UI that explains why the store isnʼt available. For developer guidance, see AppStore.canMakePayments.

Use the default confirmation sheet. When someone initiates an in-app purchase, the system displays a confirmation sheet to help prevent accidental purchases. Don’t modify or replicate this sheet.

Enabling Family Sharing

People can use Family Sharing to share access to their purchased content — such as auto-renewable subscriptions and non-consumable in-app purchases — with up to five additional family members, across all their Apple devices. To encourage people to take advantage of the Family Sharing support you offer, consider the following guidelines.

Prominently mention Family Sharing in places where people learn about the content you offer. For example, including “Family” or “Shareable” in a subscription or item name and referring to Family Sharing in your sign-up screen can highlight the feature and help people make an informed choice.

Help people understand the benefits of Family Sharing and how to participate. When you turn on Family Sharing, people can receive notifications about the change, depending on their current settings. For example, an existing subscriber whose sharing setting is turned off (the default) receives a notice from Apple that invites them to share their subscription with family members. Similarly, a family member can get a notification about content that’s being shared with them. (To learn more about the types of notifications people can receive, see Auto-renewable subscriptions.)

Aim to customize your in-app messaging so that it makes sense to both purchasers and family members. For example, when a family member views shared content for the first time, you might welcome them with wording like “Your family subscription includes...”

Providing help with in-app purchases

Sometimes, people need help with a purchase or want to request a refund. To help make this experience convenient, you can present custom UI within your app that provides assistance, offers alternative solutions, and helps people initiate the system-provided refund flow. For developer guidance, see beginRefundRequest(for:in:); for related guidance specific to auto-renewable subscriptions, see Helping people manage their subscriptions.

Provide help that customers can view before they request a refund. In addition to including a link to the system-provided refund flow, your custom purchase-help screen can provide assistance you tailor to your app. For example, your custom screen might help people resolve problems with missing purchases, answer frequently asked questions about the in-app purchases you offer, and give people ways to submit feedback or contact you directly for support.

Screenshot of an app’s help screen titled Help with Purchases. The back button, which is titled Back, is in the top-left of the screen. In a list titled ’How can we help?’ there are the following five help items, each of which can open a new screen. Missing a Purchase. Frequently Asked Questions. Request a Refund. Submit Feedback. Contact Us.

Use a simple title for the refund action, like “Refund” or “Request a Refund”. The system-provided refund flow makes it clear that people request a refund from Apple, so there’s no need to reiterate this information.

Help people find the problematic purchase. For each recent purchase you display, include contextual information that helps people identify the one they want. For example, you might display an image of the product — along with its name and description — and list the original purchase date.

Screenshot of an app’s refund screen titled Request a Refund. The back button in the top-left of the screen is titled Help. In a list titled Purchases, the screen displays the following four recent purchases. Power Surge. The Great Lakes. World Canals. 20 Lighthouse Repairs.

Consider offering alternative solutions. For example, if the customer didn’t receive the item they purchased, you might offer immediate fulfillment or a conciliatory item. Regardless of the alternatives you offer, make it clear that people can still request a refund.

Make it easy for people to request a refund. Although your purchase-help screen can offer useful information and alternative solutions, make sure this content doesn’t create a barrier to requesting a refund. For example, avoid making people scroll or open another screen to reveal your refund-request button. When people choose your refund-request item, they automatically enter the system-provided refund flow shown below.

Screenshot of the system-provided refund-request sheet. The App Store icon and the title Request Refund appear in the top left and a close button is in the top right. Below the title, the sheet displays the following information about the refund item. An image of a lighthouse, the title Power Surge for The Coast, the cost $2.99, the purchase date June 1, 2021, and the Apple ID anne johnson 1 at iCloud dot com. Below the item information, the sheet lists the following five issues from which to choose. I didn’t mean to buy this. A child/minor made purchase without permission. My purchase does not work as expected. Purchase not received. Other. A checkmark appears next to item My purchase does not work as expected. Below the statement ’You may lose access to refunded items’ is a blue Request Refund button at the bottom of the sheet.
Screenshot of the system-provided confirmation sheet that displays a white checkmark in a blue disk and the title ’Your request has been submitted.’ Below the title, the sheet displays the following text. You’ll receive an email at anne johnson 1 at iCloud dot com with a status update within 48 hours. To check the status of claims, go https report a problem dot Apple dot com. A blue Done button appears at the bottom of the sheet.

Avoid characterizing or providing guidance on Apple’s refund policies. For example, don’t speculate about whether customers will receive the refund they request. To help people understand the refund-request process, you can provide a link to Request a refund for apps or content that you bought from Apple.

Auto-renewable subscriptions

Highlight subscription benefits during onboarding. By showing the value of your subscription when people first launch your app, you can educate them on how the app works and help them understand what they’ll gain by subscribing. Include a strong call to action and a clear summary of subscription terms (see Making signup effortless). For related guidance, see Onboarding.

Screenshot of an app named Ocean Journal running on iPhone, and displaying an arctic ocean scene. In the top half of the screen, is the fourth of five page views, which describes one of the benefits of subscribing. Below the page view area is text that reads Start with a 30 day free trial. Below the text is a button with the title Subscribe for $4.99 per month, a Sign In button, and links to the terms of service and privacy policy.

Screenshot of the Ocean Journal app running on Apple Watch, and displaying a modal view that describes how to unlock access to the app’s content and a Subscribe Now button. Below this description and button are four more buttons, which are Restore Purchases, Sign In, Privacy Policy, and Terms and Conditions.

Offer a range of content choices, service levels, and durations. People appreciate the flexibility to choose the subscription that best meets their needs.

Consider letting people try your content for free before signing up. Limited free access gives people the opportunity to sample your content and encourages engaged users to sign up. For example, you might offer a freemium app, a metered paywall, or a free trial.

Prompt people to subscribe at relevant times, like when they near their monthly limit of free content. Additionally, consider making it easy for people to subscribe at any time by including prompts at relevant points throughout your app.

Encourage a new subscription only when someone isn’t already a subscriber. Otherwise, people may believe their existing subscription has lapsed when that’s not actually the case. If you offer the same subscription options in multiple apps or through your website, provide a sign-in option so people don’t think they have to pay multiple times for the same service.

Making signup effortless

A simple and informative sign-up experience makes it easy for people to act on their interest in your content, whether they’re in your app or viewing your App Store product page.

Provide clear, distinguishable subscription options. Use short, self-explanatory names that differentiate subscription options from one another, and specify the price and duration for each option. If you offer an introductory price, be sure to list the introductory price, the duration of the offer, and the standard price the customer pays after the offer ends.

Simplify initial signup by asking only for necessary information. A lengthy sign-up process may lower your subscription conversion rate. Defer asking for additional information until after people have signed up.

In your tvOS app, help people sign up or authenticate using another device. Instead of asking people to input information in your tvOS app, send a code to another device where they can enter the information you need.

Give people more information in your app’s sign-up screen. In addition to including links to your Terms of Service and Privacy Policy in your app and App Store metadata, the in-app sign-up screen needs to include:

  • The subscription name, duration, and the content or services provided during each subscription period
  • The billing amount, correctly localized for the territories and currencies where the subscription is available for purchase
  • A way for existing subscribers to sign in or restore purchases

For example, the Forest Explorer sign-up screen displays billing totals for monthly, biannual, and annual subscriptions in the most prominent positions. In subordinate positions, it shows breakdowns of the biannual and annual prices, so that people can compare the values and make an informed choice. The sign-up screen also contains a button that existing subscribers can use to restore their purchases.

Screenshot of an app named Forest Explorer running on iPhone. The first of three page views is displayed in the top half of the screen, showing part of a satellite map of a forested area and including a location indicator. Below the page view area are three buttons, each of which displays a different payment option, such as $23.99 for six months, and describes the savings for that option, if applicable. A button titled Restore Purchases appears at the bottom of the screen, followed by a button for Terms of Service and Privacy Policy.

Screenshot of the Forest Explorer app running on Apple Watch, and displaying a modal view that describes a benefit of subscribing. Below the description are the same three buttons option buttons and the Restore Purchases button as in the iPhone version of the app.

Clearly describe how a free trial works. It’s particularly important to make sure people know that when the free trial is over, a payment will be automatically initiated for the next subscription period. For example, the Ocean Journal sign-up screen explicitly states both the duration of the free trial and the amount that’s billed when it ends.

Screenshot of the Ocean Journal app running on iPhone. The first of three page views is displayed in the top half of the screen, showing a video camera icon and describing a benefit of the app. Below the page view area is text that reads Start with a thirty day free trial. Below the text is a button with the title Subscribe for $4.99 per month, followed by buttons for Terms of Service and Privacy Policy, a Sign In button, and a Restore Purchases button.

Screenshot of the Ocean Journal app running on Apple Watch, and displaying a modal view that describes a benefit of subscribing. Below the description are similar subscription, Sign In, and Restore Purchases buttons as in the iPhone version of the app.

Include a sign-up opportunity in your app’s settings. App and account settings are common places for people to look for a way to subscribe.

Supporting offer codes

Subscription offer codes let you use both online and offline channels to give new, existing, and lapsed subscribers free or discounted access to your subscription content. For example, you might provide offer codes through email, give them out at a store or event, or print one on a physical product.

There are two types of offer codes you can support:

  • A one-time use code is a unique code you generate in App Store Connect. People can redeem a one-time use code on a website, within your app (when you support redemption), or by entering it in the App Store, where they’re prompted to install your app if they haven’t already. Consider using one-time use codes when your distribution is small or when you need to restrict access to a code.
  • A custom code is a code you create, such as NEWYEAR or SPRINGSALE. When you support redemption, people can redeem a custom code within your app. Consider using a custom code when you want to support a large campaign that requires a mass distribution of codes.

For technical details and business guidance on using both types of offer codes, see Offer codes; to learn more about other types of offers, see Providing subscription offers.

Clearly explain offer details. To help people make an informed decision, provide a straightforward and succinct description of your offer in your marketing materials.

Follow guidelines for creating a custom code. A custom code can contain only alphanumeric ASCII characters. Don’t use special characters, including Chinese and Arabic characters.

Tell people how to redeem a custom code. Because people can’t redeem a custom code by entering it in their App Store account settings, it’s important to let them know that they can redeem it within your app.

Consider supporting offer redemption within your app. The system automatically provides screens that enable the offer-redemption flow, whether people redeem the offer in your app or in the App Store. When you use StoreKit API to let people redeem offer codes within your app, the only custom UI you need to create is one that initiates the system-provided flow (for developer guidance, see presentCodeRedemptionSheet). There are several natural places to provide this custom UI. For example, you could add a “Redeem Code” button to your paywall, onboarding screens, or your app’s settings screen.

Screenshot of the Ocean Journal app’s free trial screen on iPhone. Near the bottom of the screen, a button titled Redeem Code is displayed below the Sign In button.
Screenshot of the Ocean Journal app’s Settings sheet that lists the following three features. Today’s Tides. Air and Water Quality. Weather Forecast. All three features are turned on. Below these features is a list that contains information about the current subscription and three buttons. The information is titled Basic - Monthly and includes the amount $4.99 per month and the renewal date July 1 2021. The buttons are titled Manage Subscription, Restore Purchase, and Redeem Code. At the bottom of the sheet is a list of support items including Contact Us, FAQs, and Report a Bug, each of which can open a new page.

After people tap your custom redeem button, the system automatically provides a series of code-redemption screens like the ones shown below.

Screenshot of first system-provided code redemption screen for the Ocean Journal on iPhone. The top of the screen contains a large icon that shows purplish blue waves against a blue background. Below the icon is the label Redeem Code for Ocean Journal, and below the label is a text field containing placeholder text that says Enter Code. At the bottom of the screen is a tappable link labeled Terms and Conditions.

Screenshot of second system-provided code redemption screen for the Ocean Journal on iPhone. The top of the screen contains a large icon that shows purplish blue waves against a blue background. Below the icon is the label Redeem Code for Ocean Journal, and below the label is a text field in which a user has typed the letters X X M P C J Z. The keyboard is visible below the text field.

Screenshot of third system-provided code redemption screen for the Ocean Journal on iPhone. The top of the screen contains a photo of ocean waves among large rocks and a tree at sunset. A small version of the blue waves icon overlaps some of the lower-left corner of the photo. Below the photo is the label Unlock All Access to Ocean Journal in large dark text, and below the label in small gray text are the words Find your perfect shoreline with unlimited access. 1 month free, then $4.99 per month. At the bottom of the screen is a large blue button labeled Redeem Offer and below the button is a tappable link labeled Terms and Conditions.

Supply an engaging and informative promotional image. Creating this optional image can help people understand the value of your content. If you don’t supply a promotional image, the code redemption screens use your app icon by default. To learn more, see Promoting your in-app purchases.

Help people benefit from unlocked content as soon as they complete the redemption flow. Think about ways to align the post-redemption experience in your app with the subscriber’s new status. For example, you might provide a welcome experience for new subscribers or a brief tour of new features for an existing subscriber who’s unlocked additional functionality. In particular, be prepared to welcome people who subscribe before they open your app for the first time. For example, if you require people to create an account or sign in before they can use your app, make this process as smooth as possible for new subscribers who haven’t experienced it before.

Helping people manage their subscriptions

Supporting subscription management means people can upgrade, downgrade, or cancel a subscription without leaving your app. Offering subscription management within your app also gives you a natural place to provide help for common subscriber issues and present alternative offers for people to consider.

Screenshot of a Settings sheet that lists the following three features. Today’s Tides. Air and Water Quality. Weather Forecast. All three features are turned on. Below these features is a list that contains information about the current subscription and three buttons. The information is titled Basic - Monthly and includes the amount $4.99 per month and the renewal date July 1 2021. The buttons are titled Manage Subscription, Restore Purchase, and Redeem Code. At the bottom of the sheet is a list of support items including Contact Us, FAQs, and Report a Bug, each of which can open a new page.

Provide summaries of the customer’s subscriptions. In particular, people appreciate viewing the upcoming renewal date without having to search for it. Consider displaying this information in a settings or account screen, near the subscription-management option. For developer guidance, see Product.SubscriptionInfo.

Consider using the system-provided subscription-management UI. Using StoreKit APIs lets you present a consistent experience that helps people manage or cancel their subscriptions without leaving your app. For developer guidance, see showManageSubscriptions(in:).

Screenshot of the system-provided subscription-management sheet. The Settings app icon and the title Edit Subscription appear in the top left and a close button is in the top right. Below the title, the sheet displays information about the subscription, including an icon that shows blue waves, the title Ocean Journal, and the description Digital Subscriptions, Basic - Monthly. Next is a list of two options, the first is Basic Monthly at $4.99 per month, with a renewal data July 1 2021 and the second is All Access Yearly at $49.99 per year. The first option is checked. Below the options is a Cancel Subscription button followed by the sentence ’If you cancel now, you can still access your subscription until July 1 2021.’ At the bottom of the sheet is a link titled About Subscriptions and Privacy.
Screenshot of the system-provided alert on top of the dimmed subscription-management sheet. The alert title is Confirm Cancellation. The alert description is ’If you confirm and cancel your subscription now, you can still access it until July 1 2021.’ From the left, the two alert buttons are titled Not Now and Confirm.

Consider ways to encourage a subscriber to keep their subscription or resubscribe later. When you use StoreKit APIs, your app is notified when someone chooses to cancel their subscription. In this scenario, you might want to extend a personalized offer as an alternative to cancellation or invite people to describe their reasons for canceling in an exit survey. In addition to giving you insights into various customer problems, survey feedback can also help inform messaging for retention and win-back strategies.

Screenshot of an app running on iPhone that offers lapsed subscribers six months at fifty percent off when they resubscribe.

Always make it easy for customers to cancel an auto-renewable subscription. If the manage subscription action is deep within an app — or hard to recognize — subscribers can feel they’re being discouraged or prevented from canceling.

Consider creating a branded, contextual experience to complement the system-provided management UI. Within your custom UI, you might offer a popular premium tier or provide personalized suggestions for alternative plans based on what you know about the customer’s preferences or how they use your app. For example, you can create a promotional offer that provides a discounted price for a specific period of time. You might also consider subscription offer codes to help you win back lapsed subscribers and encourage existing subscribers to upgrade.

Platform considerations

No additional considerations for iOS, iPadOS, macOS, or tvOS.

watchOS

The sign-up screen in your watchOS app needs to display the same set of information about your subscription options that you display in other versions of your app. For the complete list of required items, see Making signup effortless. The following guidelines can help you design a sign-up screen that feels at home on Apple Watch.

Clearly describe the differences between versions of your app that run on different devices. If your watchOS app supports different functionality or provides a subset of the content that’s available on other devices, be sure to clarify these differences in your description. Be straightforward about the advantages of accessing subscription content through your watchOS app without implying that the experience is identical to the ones in other versions of your app.

Screenshot of the Forest Explorer app running on Apple Watch, and displaying text that reads Unlock ninety thousand topo maps, advanced GPS features, and offline access for trail guidance anywhere.

A description that might lead people to expect access to 90,000 maps on their Apple Watch

Screenshot of the Forest Explorer app running on Apple Watch, and displaying text that reads Use advanced GPS features for trail guidance on Apple Watch. Unlock ninety thousand topo maps for use on iPhone and other devices.

A description that clarifies how the subscription works on Apple Watch in contrast with other devices

Consider using a modal sheet to display the required information. After people respond to your call to action to learn more about your subscription offers, you can use a modal sheet to present all required items in a single, focused view. Even though people must scroll the view to access all the information, displaying it in a modal sheet helps your app UI remain streamlined and concise. Also, a modal sheet’s default Close button makes it easy for people to return to your free content with one tap. If you create a custom sign-up view instead of using a modal sheet, design a focused experience that includes a Close or Cancel button that lets people return to your free content.

Make subscription options easy to compare on a small screen. People need to understand the terms of each subscription option before they can choose one. Aim to display the duration and discount information for each option in a compact way that’s easy to scan and compare. Here are two ways you might present subscription options in your watchOS app:

  • Display each option in a separate button. Using one button per payment option lets people start the signup process with one tap. In this design, it’s important to lock up each button with its description so that people can see how these elements are related, especially while scrolling.
  • Display a list of options, followed by a button people tap to start the signup process. Using a list to display one option per row gives you a compact design that minimizes scrolling while making subscription choices easy to scan and understand. In this design, the button’s title can update to reflect the chosen option.

Screenshot of the Forest Explorer app running on Apple Watch, and displaying a modal view that describes a benefit of subscribing. Below the description are three buttons, each of which displays a different payment option, such as $29.99 per year, and describes the savings for that option, such as twelve months at $2.49 per month; save fifty percent.

One payment option per button

Screenshot of the Forest Explorer app running on Apple Watch, and displaying a modal view that describes a benefit of subscribing. Below the description is a list, in which each row displays one payment option and a description, such as  $29.99; billed yearly; Save fifty percent. Below the list is a Subscribe button.

One payment option per list row, followed by a button that updates to display the chosen option

Supported platforms