Guideline 3.1.1: In-App Purchase
Digital goods are sold through In-App Purchase, and purchases can be restored.
Part of Guideline 3.1: Payments
In-app purchases without a Restore Purchases button
What Apple wants
If people can buy a subscription or an unlock, they need a way to get it back on a new device. Reviewers look for a visible Restore Purchases button, usually on the paywall or in settings (Guideline 3.1.1).
How to fix it
Add a Restore Purchases button that calls your purchase library's restore.
React Native and Expo
- Add a "Restore Purchases" button on the paywall (and optionally in settings).
- Call Purchases.restorePurchases() (RevenueCat) or getAvailablePurchases() (react-native-iap), then refresh entitlements.
- Tell the person what happened: "Purchases restored" or "Nothing to restore".
Swift
- Add a "Restore Purchases" button on the paywall (and optionally in settings).
- Call AppStore.sync() (StoreKit 2) or Purchases.shared.restorePurchases() (RevenueCat), then refresh entitlements.
- Tell the person what happened: "Purchases restored" or "Nothing to restore".
Flutter
- Add a "Restore Purchases" button on the paywall (and optionally in settings).
- Call Purchases.restorePurchases() (purchases_flutter) or InAppPurchase.instance.restorePurchases() (in_app_purchase, then handle the restored purchases in purchaseStream), and refresh entitlements.
- Tell the person what happened: "Purchases restored" or "Nothing to restore".
Payments through Stripe
What Apple wants
Digital content and features must be sold through In-App Purchase (Guideline 3.1.1). Since 2025 the US storefront allows links to outside purchases, but other storefronts still reject apps that sell digital goods through Stripe or a web checkout. Physical goods and services are fine.
How to fix it
If this sells digital content or features, move it to In-App Purchase (or limit the outside link to the US storefront).
Steps
- Check what this payment is for. Physical goods, real-world services and person-to-person payments may stay as they are.
- For digital content or features, sell them through In-App Purchase (RevenueCat or StoreKit).
- Keep any outside-purchase link only where the storefront allows it.
Your code sells com.yourapp.pro.monthly, but App Store Connect has no such product
What Apple wants
The app asks the App Store for "com.yourapp.pro.monthly", which doesn't exist in App Store Connect. The purchase screen comes up empty or errors during review, a Guideline 2.1 rejection, and Guideline 3.1.1 requires digital goods to be real In-App Purchases.
How to fix it
Create com.yourapp.pro.monthly in App Store Connect, or fix the ID in your code if it's a typo.
Steps
- Check the spelling of "com.yourapp.pro.monthly" against App Store Connect → your app → In-App Purchases / Subscriptions.
- If it's new: create it there with exactly this product ID, a reference name, a price, a localized display name and description, and a review screenshot.
- Product IDs can't be reused once created, even after deletion: pick it carefully.
A subscription has no price in some of the countries it's offered in
What Apple wants
This subscription is offered in more countries and regions and priced in fewer: where it has no price, the paywall shows nothing to buy, and a reviewer there can't subscribe.
How to fix it
Give it a price everywhere it's sold: Apple's equalized prices fill in the rest from one price.
Steps
- App Store Connect → your app → Subscriptions → the subscription → Subscription Prices → Add Pricing: keep every country and region ticked.
- Scan again: AppScend reads each country's price.
No Restore Purchases on the paywall
What Apple wants
undefined Apps that sell non-consumable purchases or subscriptions must let people restore them (Guideline 3.1.1), and Apple's subscription rules ask the sign-up screen for a way for current subscribers to sign in or restore their purchases. Reviewers look for it on the paywall.
How to fix it
Add a Restore Purchases button to the paywall (an app with accounts can also offer a Sign in for people who already subscribe).
React Native, Expo and Flutter
- Add "Restore Purchases" under the buy buttons.
- Call your purchases library's restore (Purchases.restorePurchases() with RevenueCat), then say whether anything was restored.
Swift
- Add "Restore Purchases" under the buy buttons.
- Call AppStore.sync() (StoreKit 2), then say whether anything was restored.
Restore Purchases does nothing
What Apple wants
undefined Reviewers tap Restore Purchases. On a device it asks Apple for the account or says what came back; a button that shows nothing at all reads as no restore, a rejection under Guideline 3.1.1.
How to fix it
Make Restore Purchases call the store's restore and say what happened: restored, or nothing to restore.
React Native, Expo and Flutter
- From the button, call your purchases library's restore (Purchases.restorePurchases() with RevenueCat).
- Show the result: the paid features opening, or a message that there was nothing to restore.
- Run the test again to confirm.
Swift
- From the button, call AppStore.sync() (StoreKit 2), then read Transaction.currentEntitlements.
- Show the result: the paid features opening, or a message that there was nothing to restore.
- Run the test again to confirm.
Restore Purchases calls "nothing to restore" an error
What Apple wants
undefined Restore answers, which is what Guideline 3.1.1 asks. But a reviewer who hasn't bought anything taps it first, and an alert titled as an error reads like a broken purchase flow rather than an honest "nothing to restore".
How to fix it
When restoring finds no purchase, say so plainly ("No purchases to restore"), and keep the error title for a restore that actually failed.
React Native, Expo and Flutter
- After your purchases library's restore, tell "no active entitlement" apart from an error it throws.
- Title the first "No purchases to restore" (or similar), and keep "Error" for the second.
Swift
- After AppStore.sync() or Purchases.restorePurchases(), tell "no active entitlement" apart from a thrown error.
- Title the first "No purchases to restore" (or similar), and keep "Error" for the second.
Restore Purchases says nothing when it fails
What Apple wants
undefined Reviewers tap Restore Purchases, and in the sandbox it can fail. A Restore that shows nothing when it fails reads as no restore at all (Guideline 3.1.1). The run made restoring fail on purpose in its test session.
How to fix it
When restoring fails, show a message that says so and how to try again.
React Native, Expo and Flutter
- Catch the error from your purchases library's restore call and show it.
- Run the test again.
Swift
- Catch the error from AppStore.sync() and show it.
- Run the test again.
Features may unlock with codes or keys instead of In-App Purchase
What Apple wants
Paid features, content and plug-ins have to be unlocked through In-App Purchase; license keys, QR codes, AR markers and similar home-made unlocks are named as not allowed, and only Mac App Store apps may enable plug-ins another way (Guideline 3.1.1). App Store offer codes are fine, and so are product codes when the feature needs the product or In-App Purchase sells the same unlock (3.1.4).
How to fix it
Sell the unlock through In-App Purchase, and use App Store offer codes for promotions.
Steps
- Sell the paid features, plug-ins or add-ons as an In-App Purchase or subscription.
- Replace your own promo or license codes with App Store offer codes, which people redeem through Apple.
- If a physical product unlocks content, also sell the same content through In-App Purchase.
Crypto or NFT ownership may unlock features
What Apple wants
Features and content have to be unlocked with In-App Purchase, not with crypto payments, wallets or NFT ownership (Guideline 3.1.1). Letting people view their own NFTs is allowed, as long as owning one unlocks nothing.
How to fix it
Unlock features through In-App Purchase only, and keep NFT and wallet screens view-only.
Steps
- Remove unlocks tied to wallets, tokens or NFTs.
- Sell those features through In-App Purchase instead.
Digital purchases may bypass In-App Purchase
What Apple wants
Digital content, currency, levels, subscriptions, features, tips for the developer and digital gift cards sold inside the app must go through In-App Purchase; card forms, Apple Pay or Stripe in the app are only for physical goods (mailed gift cards included) and real-world services (Guideline 3.1.1). The US storefront's link exception doesn't cover paying inside the app.
How to fix it
Sell digital goods through In-App Purchase; keep other payment methods for physical goods and services.
React Native, Expo and Flutter
- Check what each payment buys. Physical goods and real-world services can keep their checkout.
- Move digital content, credits and subscriptions to In-App Purchase (RevenueCat or react-native-iap).
- Remove card forms and payment sheets for digital items from the app.
Swift
- Check what each payment buys. Physical goods and real-world services can keep their checkout.
- Move digital content, credits and subscriptions to In-App Purchase with StoreKit (or RevenueCat).
- Remove card forms and payment sheets for digital items from the app.
Tips for the developer may go around In-App Purchase
What Apple wants
Tips to the developer are meant to go through In-App Purchase (Guideline 3.1.1). Outside the US storefront a Buy Me a Coffee, Ko-fi or PayPal link is a common rejection; on the US storefront such links are allowed, and this app may be sold elsewhere too.
How to fix it
Offer tips as consumable In-App Purchases, or show the outside link only on the US storefront.
Steps
- Create one or more consumable 'tip' products in App Store Connect and sell them in the app.
- Remove the outside link, or show it only when the App Store storefront is the United States.
Purchased credits may expire
What Apple wants
Credits, coins and other currency bought with In-App Purchase must never expire (Guideline 3.1.1). Paywall text or code that lets bought credits run out after a while gets the app rejected.
How to fix it
Keep bought credits forever; only allowances that come with a subscription may refresh each period.
Steps
- Remove expiry dates and resets from credits bought on their own.
- If a subscription includes a monthly allowance, say on the paywall that it refreshes each period.
- Keep bought credits separate from the allowance so a refresh never wipes them.
The Restore Purchases button may not restore anything
What Apple wants
Reviewers tap Restore Purchases, often on a fresh device. If it doesn't ask the App Store for earlier purchases and unlock them, the app is rejected (Guideline 3.1.1).
How to fix it
Make Restore call your purchase library's restore and refresh what the person can access.
React Native, Expo and Flutter
- Call your purchase library's restore: RevenueCat's Purchases.restorePurchases(), or react-native-iap's getAvailablePurchases().
- Unlock what the person owns, and tell them whether anything was restored.
Swift
- Call AppStore.sync() (StoreKit 2), or RevenueCat's Purchases.shared.restorePurchases().
- Unlock what the person owns, and tell them whether anything was restored.
Paid random items may not show their odds
What Apple wants
When people pay for random rewards, directly or with bought currency, the app must show the odds of each item before they buy (Guideline 3.1.1). Reviewers reject loot boxes without them.
How to fix it
Show the odds of every possible item before people buy.
Steps
- List each possible item or rarity with its chance, on the purchase screen before the buy button.
- Keep the listed odds in sync with the real drop rates.
The free trial of the full version may not be explained
What Apple wants
Apps without subscriptions can offer a free, time-limited trial, but before it starts they must say how long it lasts, what will lock afterwards and what the full version costs (Guideline 3.1.1).
How to fix it
Before the trial starts, show its length, what locks when it ends, and the full price.
Steps
- Show the trial length, what stops working afterwards, and the full unlock price before the trial starts.
- Set the trial up as a free non-consumable In-App Purchase named the way Apple asks: 'XX-day Trial', with your trial's length.
The free trial of the full version may not use In-App Purchase
What Apple wants
Apps without subscriptions may offer a free trial of the full version only by setting up a free non-consumable In-App Purchase named 'XX-day Trial', with the trial's length (Guideline 3.1.1). A trial the app times by itself from the install date counts as its own unlock mechanism.
How to fix it
Start the trial with a free non-consumable In-App Purchase named 'XX-day Trial' (your trial's length), and time it from that purchase.
Steps
- In App Store Connect, create a non-consumable In-App Purchase at the free price, named 'XX-day Trial' with your trial's length.
- Start the trial when people get that item, and time it from the transaction's purchase date.
- Before the trial starts, show its length, what locks when it ends, and the full-version price.
NFT sales may bypass In-App Purchase
What Apple wants
Selling NFTs, and services like minting, listing or transfers, inside the app goes through In-App Purchase (Guideline 3.1.1). Crypto checkouts for them in the app get rejected.
How to fix it
Sell NFT services through In-App Purchase, or make the app view-only.
Steps
- Move minting, listing and transfer fees to In-App Purchase.
- Or remove buying from the app and let people only view NFTs (outside the US storefront, with no buy buttons or links either).
NFT screens may link to buying outside In-App Purchase
What Apple wants
Apps may let people browse NFT collections, but outside the US storefront they can't include buttons, links or other prompts to buy them any way but In-App Purchase (Guideline 3.1.1). This app may be sold outside the US.
How to fix it
Show NFT buy links only on the US storefront, or remove them.
React Native, Expo and Flutter
- Read the App Store storefront at runtime (RevenueCat and react-native-iap expose it) and show marketplace or mint links only for the United States.
- Everywhere else, keep NFT screens view-only, or sell through In-App Purchase.
Swift
- Read the App Store storefront at runtime (Storefront.current in StoreKit) and show marketplace or mint links only for the United States.
- Everywhere else, keep NFT screens view-only, or sell through In-App Purchase.
Gifted purchases may be exchangeable or refunded to others
What Apple wants
Gifting In-App Purchase items is allowed, but a gift can only be refunded to the person who paid for it and can't be swapped for something else (Guideline 3.1.1).
How to fix it
Make gifts final: no exchanges, and refunds only to the person who paid.
Steps
- Make gifts final: no exchanges, and refunds only to the person who paid.
A purchase may use the wrong In-App Purchase type
What Apple wants
Permanent unlocks must be non-consumable so people can restore them, and things that get used up must be consumable. Reviewers reject mismatched product types under Guideline 3.1.1, including coins that buy permanent items nobody can restore.
How to fix it
Use non-consumable products for permanent unlocks and consumable ones for things that run out.
Steps
- Create the permanent unlock as a non-consumable product in App Store Connect and switch the code to it.
- Finish permanent purchases as non-consumable and include them in Restore Purchases.
- Keep consumable products for credits, coins and other items that get used up.
- If coins buy permanent items, save those items to the account (or restore them) so they come back on a new device.
Check your app for this, and everything else reviewers flag
AppScend scans your project on your Mac, ranks what will get it rejected, and your own coding agent fixes it on a branch you review.
npx appscend