# Check this app against App Store Review Guideline 3.1.1: In-App Purchase

Digital goods are sold through In-App Purchase, and purchases can be restored.

Go through this codebase for each problem below. For each one that applies, fix it on a new git branch with the steps for this app's stack (React Native and Expo, Swift, or Flutter). If none apply, say so and why.

## In-app purchases without a Restore Purchases button

Usually a rejection.

**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.

Steps for React Native and Expo:

1. Add a "Restore Purchases" button on the paywall (and optionally in settings).
2. Call Purchases.restorePurchases() (RevenueCat) or getAvailablePurchases() (react-native-iap), then refresh entitlements.
3. Tell the person what happened: "Purchases restored" or "Nothing to restore".

Steps for Swift:

1. Add a "Restore Purchases" button on the paywall (and optionally in settings).
2. Call AppStore.sync() (StoreKit 2) or Purchases.shared.restorePurchases() (RevenueCat), then refresh entitlements.
3. Tell the person what happened: "Purchases restored" or "Nothing to restore".

Steps for Flutter:

1. Add a "Restore Purchases" button on the paywall (and optionally in settings).
2. Call Purchases.restorePurchases() (purchases_flutter) or InAppPurchase.instance.restorePurchases() (in_app_purchase, then handle the restored purchases in purchaseStream), and refresh entitlements.
3. Tell the person what happened: "Purchases restored" or "Nothing to restore".

## Payments through Stripe

Often a rejection.

**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:

1. Check what this payment is for. Physical goods, real-world services and person-to-person payments may stay as they are.
2. For digital content or features, sell them through In-App Purchase (RevenueCat or StoreKit).
3. 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

Usually a rejection.

**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:

1. Check the spelling of "com.yourapp.pro.monthly" against App Store Connect → your app → In-App Purchases / Subscriptions.
2. 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.
3. 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

Often a rejection.

**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:

1. App Store Connect → your app → Subscriptions → the subscription → Subscription Prices → Add Pricing: keep every country and region ticked.
2. Scan again: AppScend reads each country's price.

## No Restore Purchases on the paywall

Usually a rejection.

**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).

Steps for React Native, Expo and Flutter:

1. Add "Restore Purchases" under the buy buttons.
2. Call your purchases library's restore (Purchases.restorePurchases() with RevenueCat), then say whether anything was restored.

Steps for Swift:

1. Add "Restore Purchases" under the buy buttons.
2. Call AppStore.sync() (StoreKit 2), then say whether anything was restored.

## Restore Purchases does nothing

Usually a rejection.

**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.

Steps for React Native, Expo and Flutter:

1. From the button, call your purchases library's restore (Purchases.restorePurchases() with RevenueCat).
2. Show the result: the paid features opening, or a message that there was nothing to restore.
3. Run the test again to confirm.

Steps for Swift:

1. From the button, call AppStore.sync() (StoreKit 2), then read Transaction.currentEntitlements.
2. Show the result: the paid features opening, or a message that there was nothing to restore.
3. Run the test again to confirm.

## Restore Purchases calls "nothing to restore" an error

Delays review.

**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.

Steps for React Native, Expo and Flutter:

1. After your purchases library's restore, tell "no active entitlement" apart from an error it throws.
2. Title the first "No purchases to restore" (or similar), and keep "Error" for the second.

Steps for Swift:

1. After AppStore.sync() or Purchases.restorePurchases(), tell "no active entitlement" apart from a thrown error.
2. Title the first "No purchases to restore" (or similar), and keep "Error" for the second.

## Restore Purchases says nothing when it fails

Often a rejection.

**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.

Steps for React Native, Expo and Flutter:

1. Catch the error from your purchases library's restore call and show it.
2. Run the test again.

Steps for Swift:

1. Catch the error from AppStore.sync() and show it.
2. Run the test again.

## Features may unlock with codes or keys instead of In-App Purchase

Usually a rejection.

**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:

1. Sell the paid features, plug-ins or add-ons as an In-App Purchase or subscription.
2. Replace your own promo or license codes with App Store offer codes, which people redeem through Apple.
3. If a physical product unlocks content, also sell the same content through In-App Purchase.

## Crypto or NFT ownership may unlock features

Usually a rejection.

**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:

1. Remove unlocks tied to wallets, tokens or NFTs.
2. Sell those features through In-App Purchase instead.

## Digital purchases may bypass In-App Purchase

Usually a rejection.

**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.

Steps for React Native, Expo and Flutter:

1. Check what each payment buys. Physical goods and real-world services can keep their checkout.
2. Move digital content, credits and subscriptions to In-App Purchase (RevenueCat or react-native-iap).
3. Remove card forms and payment sheets for digital items from the app.

Steps for Swift:

1. Check what each payment buys. Physical goods and real-world services can keep their checkout.
2. Move digital content, credits and subscriptions to In-App Purchase with StoreKit (or RevenueCat).
3. Remove card forms and payment sheets for digital items from the app.

## Tips for the developer may go around In-App Purchase

Often a rejection.

**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:

1. Create one or more consumable 'tip' products in App Store Connect and sell them in the app.
2. Remove the outside link, or show it only when the App Store storefront is the United States.

## Purchased credits may expire

Usually a rejection.

**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:

1. Remove expiry dates and resets from credits bought on their own.
2. If a subscription includes a monthly allowance, say on the paywall that it refreshes each period.
3. Keep bought credits separate from the allowance so a refresh never wipes them.

## The Restore Purchases button may not restore anything

Usually a rejection.

**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.

Steps for React Native, Expo and Flutter:

1. Call your purchase library's restore: RevenueCat's Purchases.restorePurchases(), or react-native-iap's getAvailablePurchases().
2. Unlock what the person owns, and tell them whether anything was restored.

Steps for Swift:

1. Call AppStore.sync() (StoreKit 2), or RevenueCat's Purchases.shared.restorePurchases().
2. Unlock what the person owns, and tell them whether anything was restored.

## Paid random items may not show their odds

Usually a rejection.

**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:

1. List each possible item or rarity with its chance, on the purchase screen before the buy button.
2. Keep the listed odds in sync with the real drop rates.

## The free trial of the full version may not be explained

Often a rejection.

**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:

1. Show the trial length, what stops working afterwards, and the full unlock price before the trial starts.
2. 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

Often a rejection.

**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:

1. In App Store Connect, create a non-consumable In-App Purchase at the free price, named 'XX-day Trial' with your trial's length.
2. Start the trial when people get that item, and time it from the transaction's purchase date.
3. Before the trial starts, show its length, what locks when it ends, and the full-version price.

## NFT sales may bypass In-App Purchase

Usually a rejection.

**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:

1. Move minting, listing and transfer fees to In-App Purchase.
2. 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

Often a rejection.

**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.

Steps for React Native, Expo and Flutter:

1. 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.
2. Everywhere else, keep NFT screens view-only, or sell through In-App Purchase.

Steps for Swift:

1. Read the App Store storefront at runtime (Storefront.current in StoreKit) and show marketplace or mint links only for the United States.
2. Everywhere else, keep NFT screens view-only, or sell through In-App Purchase.

## Gifted purchases may be exchangeable or refunded to others

Delays review.

**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:

1. Make gifts final: no exchanges, and refunds only to the person who paid.

## A purchase may use the wrong In-App Purchase type

Often a rejection.

**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:

1. Create the permanent unlock as a non-consumable product in App Store Connect and switch the code to it.
2. Finish permanent purchases as non-consumable and include them in Restore Purchases.
3. Keep consumable products for credits, coins and other items that get used up.
4. If coins buy permanent items, save those items to the account (or restore them) so they come back on a new device.

---

AppScend checks an app against every guideline at once, on the developer's Mac: `npx appscend scan --json` in the app's root folder (docs: https://appscend.ai/docs).

Source: https://appscend.ai/guidelines/3-1-1
