Guideline 3.1.1 · Stripe · StoreKit

Apple rejected your app for using Stripe. Here's the fix.

Guideline 3.1.1 is the most common rejection for AI-built apps that sell subscriptions. You don't have to give up Stripe. You need Apple in-app purchase inside the iOS app and Stripe everywhere else, writing to the same subscription record.

See pricing
iOS + TestFlight Android + Google Play

Can I use Stripe for subscriptions in an iOS app?

Not for digital goods bought inside the app. App Store Guideline 3.1.1 requires subscriptions, credits and premium features purchased in an iOS app to use Apple's in-app purchase. Physical goods and real-world services can still use Stripe. Rules about linking out to a web checkout differ by country and have been changing, so the approach that passes review everywhere is: show Apple's purchase sheet inside the app, keep Stripe on the web, and sync both to one subscription record. AppNative sets that up for wrapped web apps without any Swift.

Rule
App Store Review Guideline 3.1.1 (In-App Purchase)
Needs Apple IAP
Subscriptions, credits, premium features, digital content
Can use Stripe
Physical goods, real-world services, and all purchases on your website
Fix
StoreKit in the app, Stripe on the web, one shared entitlement
Android
Google Play has a similar billing policy for digital goods
Time to fix
Usually a day or two with AppNative

How to turn a Stripe vs Apple IAP app into a native mobile app, step by step

Six steps, one codebase, no native development. Each step happens inside AppNative except the first.

  1. 1

    Read the rejection note

    Confirm it cites 3.1.1 and note which screen the reviewer flagged, usually a pricing page or Stripe Checkout.

  2. 2

    Wrap or rebuild with AppNative

    AppNative adds StoreKit 2 and Google Play Billing to your existing web app.

  3. 3

    Create matching products

    Mirror your Stripe plans as App Store and Google Play products. AppNative creates them for you.

  4. 4

    Swap the button inside the app

    When window.AppNative.iap exists, the upgrade button calls showPaywall() and the Stripe checkout is never shown.

  5. 5

    Resubmit

    Reply to the reviewer that purchases now use in-app purchase and attach the products to the new build.

The code your web app needs

Everything native is handled by AppNative. Your web code identifies the user, listens for entitlement changes and opens the paywall. In a normal browser the same button keeps using Stripe.

// 1. Right after sign-in (not inside the buy button)
const token = await window.AppNative?.iap?.setUser(user.iapUuid);

// 2. Once at app start: renewals, expiries, refunds and upgrades land here
window.AppNative?.iap?.onEntitlementsChanged((list) => {
  const active = list.filter((e) => e.isActive && !e.revocationDate && !e.isUpgraded);
  syncEntitlements(active); // your backend verifies and saves them
});

// 3. Your existing upgrade button
function upgrade() {
  if (window.AppNative?.iap) return window.AppNative.iap.showPaywall(); // Apple / Google
  window.location.href = "/checkout"; // Stripe, unchanged, on the web
}

Full reference and copy-paste prompts for AI builders are in the AppNative API docs.

What AppNative's in-app purchase layer includes

These are real native implementations compiled into the binary — not browser fallbacks — and they're what moves an app past Apple's "minimum functionality" bar.

  • Real StoreKit 2 purchase sheet on iOS and Google Play Billing on Android, inside your existing web app
  • Auto-renewable subscriptions, consumables, non-consumables, lifetime unlocks and free trials
  • Products created for you in App Store Connect and Google Play, including prices, trials and localizations
  • Native paywalls in several layouts, with copy and design generated by AI from your brand colors
  • window.AppNative.iap bridge: showPaywall, setUser, onPurchase, onEntitlementsChanged, getEntitlements, hasFeature, manageSubscriptions
  • Restore Purchases, upgrades, downgrades, grace periods and billing retry handled natively
  • Apple App Store Server Notifications V2 and Google Play Real-time Developer Notifications wired to your backend
  • Entitlements synced to your own database (Base44 entities, Supabase, Firebase or any API) so web and mobile agree
  • Keep Stripe for web and desktop customers while the native app uses Apple and Google billing
  • RevenueCat mode if you already run RevenueCat, native StoreKit mode if you'd rather skip the extra fee

In-app purchases: the options, compared

Stripe fees vs Apple's commission

Stripe charges a few percent per payment. Apple takes 30%, or 15% for Small Business Program members and for subscriptions after the first year. Many apps keep web pricing on Stripe and set App Store prices slightly higher to cover the difference.

AppNative vs Median.co, Despia and other wrappers

Most webview wrappers expose a purchase bridge and leave the rest to you: creating products in App Store Connect, building a paywall, verifying transactions, handling renewals and refunds. AppNative does all of that. It creates the products, generates the native paywall, verifies every transaction, and wires Apple and Google server notifications into your own database.

Native StoreKit vs RevenueCat

Native StoreKit mode keeps everything inside your own Apple and Google accounts with no third-party revenue share. RevenueCat adds its own dashboard and analytics on top. AppNative supports both, so you can pick per app and switch later.

In-app purchases: every question, answered

The exact questions people ask before shipping a Stripe vs Apple IAP project to the App Store and Google Play.

Can I just hide the pricing page in the app?

Only if the app offers no way to buy anything and doesn't push users to buy elsewhere. Most subscription apps are better served by adding in-app purchase so app users can actually upgrade.

Will existing Stripe subscribers lose access in the app?

No. Your app checks your own database, so anyone who paid through Stripe on the web stays unlocked in the app.

Does Google Play have the same rule?

Google Play also requires Play Billing for digital goods in most cases. AppNative handles both stores with one setup.

Web app to mobile app: key terms defined

Native app wrapper
A native app wrapper is a compiled iOS or Android application that renders your existing web app inside a native web view (WKWebView on iOS, WebView on Android) while exposing real device capabilities — push notifications, biometrics, camera, in-app purchases — to that web code through a JavaScript bridge.
Hybrid app
A hybrid app ships web technologies (HTML, CSS, JavaScript) inside a native binary that can be distributed through the App Store and Google Play. It differs from a progressive web app, which is installed from the browser and cannot be listed in either store.
App Store guideline 4.2 (minimum functionality)
Apple's rule that an app must do more than repackage a website. Apps that add native capability — push notifications, biometric login, camera use, offline support, widgets, in-app purchases — satisfy it; a bare website in a shell does not.
Bundle ID / package name
The permanent reverse-domain identifier for your app (for example com.yourcompany.yourapp). It's registered once with Apple and Google and can never be changed for a published app, so it must be decided before your first submission.
Code signing and provisioning profile
Apple requires every binary to be signed with a distribution certificate and matched to a provisioning profile tied to your bundle ID and team. Android requires an upload keystore. Without them a build cannot be installed or submitted.
TestFlight
Apple's beta distribution service. Uploading a signed build to TestFlight lets up to 100 internal testers install the app immediately, before public App Store review — the fastest way to see your wrapped app on a real device.
Over-the-air update
Because a wrapper renders your live web app, deploying your web app updates the mobile experience instantly with no store review. A new native build is only required when something inside the binary changes: icon, splash screen, bundle ID or a native capability.
StoreKit and Google Play Billing
The in-app purchase systems Apple and Google require for selling digital goods inside an app. Stripe stays valid on the web, so most apps run both and grant the same entitlement from either payment source.

In-app purchases: frequently asked questions

What does Guideline 3.1.1 say?

If you want to unlock features or functionality within your app, including subscriptions and premium content, you must use in-app purchase.

Can my Lovable, Base44, Replit or Bolt.new app pass review after a 3.1.1 rejection?

Yes. Add Apple in-app purchase in the native app and keep Stripe on the web. AppNative does this for all of them.

Do I lose my Stripe revenue?

No. Web customers keep paying through Stripe.

Native features only AppNative adds to a wrapped web app

In-app purchases, Live Activities, WidgetKit widgets and rich push are compiled into your binary as real native extensions — designed through AI chat, driven by your data.

Ship from your AI app builder

Pick your builder's in-app purchase guide for the exact steps.

Deep dives by builder and feature

Step-by-step guides for the specific thing you're trying to ship — push, in-app purchases, widgets, store submission — for Lovable and Base44 apps, plus how AppNative compares to Median.co and Despia.

Lovable mobile app guides

In-app purchases, RevenueCat, Capacitor, Stripe rules and Google Play for Lovable apps, with prices checked on each vendor's site.

Start selling subscriptions on the App Store and Google Play

Connect your repo, toggle the native features you need, press Build. Your first TestFlight build can be in testers' hands today — and your Stripe vs Apple IAP workflow doesn't change at all.

Read the docs