In-App Purchases for Replit Apps — with Wanilla

    Quick answer

    Replit apps can ship to the Apple App Store with real In-App Purchases — Wanilla builds the Replit product into an iOS app, adds the native framework and prepares an honest App Store submission for you to publish from your own Apple Developer account.

    • Apple's Guideline 4.2 asks for genuine native value — Apple makes the final decision.
    • Ready for you to submit from your own Apple Developer account within 4 working days. Apple's review time and decision are outside our control.
    • Digital subscriptions must run through Apple in-app purchase (StoreKit 2), not web-only Stripe billing.
    Replit app on iPhone with In-App Purchases

    Bring your AI-built Replit product to the App Store, with an honest submission.

    Read the Docs

    The Limits of Replit for Mobile Monetization

    Replit projects usually charge through Stripe on the server. Apple does not allow that for digital goods bought inside an iOS app: the purchase has to go through StoreKit, and the receipt has to be validated against Apple rather than trusted from a Stripe webhook.

    You shipped a real product in Replit. The next step — taking payments inside an iOS app — is where most AI-built apps stall. Apple requires StoreKit 2 for any digital goods sold in-app, and that means:

    • A real native binary. Stripe, Lemon Squeezy, and Paddle web flows are rejected under App Store Review Guideline 3.1.1 for digital goods.
    • Apple Developer + App Store Connect plumbing. Products, pricing, tax categories, sandbox testers, receipt validation.
    • Server-side verification. Without it, jailbroken devices and refund abuse eat your margin.

    An SDK like RevenueCat assumes you've already cleared all of that. You haven't.

    How to Implement In-App Purchases in Replit using Wanilla

    Wanilla runs StoreKit 2 in the native layer and posts Apple-verified receipts to your existing Replit endpoints, so the entitlement logic you already wrote keeps working — with Apple as the payment source of truth and Stripe still handling your web customers.

    Wanilla is a guided launch and growth partner — not an SDK. Wanilla builds your product into an iOS app with native features and prepares an honest App Store submission.

    What you get instead of installing an IAP SDK:

    • Native StoreKit 2 subscriptions, one-off purchases, and consumables — configured on your Apple Developer account.
    • Server-side receipt validation against Apple's App Store Server API, with entitlement state written back to your Replit backend.
    • Apple Small Business Program enrolment (15% commission instead of 30%) if you qualify.
    • Paywall design, copy, and pricing iteration handled by our team.
    • Submission materials prepared for you to submit from your own Apple Developer account, plus help responding to reviewer pushback.

    Already evaluating SDKs? See the RevenueCat alternative for Replit and Adapty alternative for Replit breakdowns.

    Your ReplitWeb AppWanilla EngineAdds In-App PurchasesNative BuildApp Store ReadyExport / ConnectStoreKit · WebKit · PushiOS App Store
    How Wanilla builds a native app around your Replit product with In-App Purchases

    Code Integration Example

    Wanilla vs RevenueCat vs DIY StoreKit

     WanillaRevenueCatDIY StoreKit
    Native binaryWe build itYou build itYou build it
    StoreKit setupSet up by usSDK installYou write Swift
    App Store submissionWe prepare your submissionYou handleYou handle
    Receipt validationServer-side, doneSDK native appYou write it
    Pricing modelFlat-fee launch% of revenueYour time
    Best forPre-PMF Replit foundersNative teams at scaleEngineers who enjoy pain

    Enrol in the Apple Small Business Program before your first payout to cut commission from 30% to 15%.

    // Server-side StoreKit 2 receipt verification — runs in your Replit backend
    // Wanilla posts the signed JWS transaction here after the user completes a purchase.
    
    export async function verifyPurchase(req) {
      const { signedTransaction, userId } = await req.json();
    
      const res = await fetch("https://api.wanilla.co/v1/storekit/verify", {
        method: "POST",
        headers: { "Content-Type": "application/json", "Authorization": `Bearer ${WANILLA_KEY}` },
        body: JSON.stringify({ signedTransaction })
      });
    
      const { valid, productId, expiresAt } = await res.json();
      if (!valid) return new Response("Invalid receipt", { status: 400 });
    
      await db.entitlements.upsert({ userId, productId, expiresAt });
      return new Response("OK");
    }

    Related Guides

    Once you've set up In-App Purchases, you might also want to add Adapty Alternative to Replit or add App Store Publishing to Replit.

    Working with other AI builders? See our guide on In-App Purchases for Base44 or In-App Purchases for Lovable.

    Explore our full breakdown of Replit App Integration.

    How to publish your Replit app with In-App Purchases

    Ready for you to submit from your own Apple Developer account within 4 working days. Apple's review time and decision are outside our control$2,995 one-off + $199/month — we build the native app with you and support your launch
    1. 1

      Connect your Replit app

      Share the live URL of your Replit app. We review the product and agree the scope with you.

    2. 2

      Wire up native In-App Purchases

      Wanilla builds the iOS app with native In-App Purchases support, working to Apple Guideline 4.2.

    3. 3

      Prepare the App Store listing

      Bundle ID, App Store Connect record, privacy nutrition labels, screenshots, description and keywords are prepared for submission.

    4. 4

      Configure pricing and paywall

      Subscriptions and in-app purchases are created in App Store Connect and wired to StoreKit 2. Any change to how the app works goes to Apple as a new version.

    5. 5

      Submit from your account and go live

      Your app is ready to submit from your Apple Developer account within 4 working days. If Apple raises an issue, Wanilla helps you fix it and prepares a new version. Apple makes the final decision.

    Replit + Wanilla vs. Custom Native Development

    FeatureReplit Web AppCustom React NativeReplit + Wanilla
    Development TimeMinutes (AI Generated)Weeks / MonthsMinutes
    App Store Ready No Yes Yes
    In-App Purchases Support❌ Web only (Stripe)✅ Native IAP✅ Native IAP
    Developer CostLowVery HighLow (SaaS)

    Frequently Asked Questions

    Will Apple approve my Replit app for using Stripe instead of IAP?▾
    For digital goods consumed inside the app, no — Guideline 3.1.1 requires StoreKit. Apple reviews and makes the final decision; no one can guarantee approval.
    Do I still need RevenueCat or Adapty?▾
    No, not at launch. Wanilla replaces them end-to-end for early-stage Replit apps. You can layer either on later for experimentation without losing customers — see the <a href="/alternatives/replit/revenuecat-alternative/">RevenueCat alternative</a> breakdown.
    How long does an IAP launch take?▾
    Wanilla prepares your submission within 4 working days, ready for you to submit from your own Apple Developer account; Apple's review time is outside our control. Most of the timeline is review queue, not engineering.

    Official Resource

    Book a Free Launch Review

    Book a free launch review. Ready for you to submit from your own Apple Developer account within 4 working days. Apple's review time and decision are outside our control.

    Or see the guided launch offer — $2,995 + $199/month
    Samuel Olsson, Co-founder of Wanilla

    Samuel Olsson

    Co-founder, Growth, Wanilla

    Connect on LinkedIn