Skip to content
WebViewGold Vibe Coding to App Store
English
Get WebViewGold

Replit + in-app purchases

In-app purchases and subscriptions for your Replit app

Your Replit app probably charges through Stripe. On the web that stays. Inside the iOS app, Apple requires In-App Purchase for digital goods (Guideline 3.1.1), and Google Play Billing applies on Android. WebViewGold handles both through RevenueCat with one URL call from your web app.

From $109 one-time per platform, or let our team do it all from $698.

  • Approval guarantee – or money back within 14 days
  • No coding needed
  • One-time payment, free updates
  • 24/7 human support
  • Made in Germany since 2014 · ISO 27001

Which payment method is allowed where

What you sellIn the iOS appIn the Android appOn the web
Subscriptions, credits, premium features, digital contentIn-App Purchase (RevenueCat)Google Play Billing (RevenueCat)Stripe
Physical goods, deliveries, tickets, bookings, services performed outside the appYour web checkout is fineYour web checkout is fineStripe
Reader-type content purchased elsewhereMay be consumed without IAP, with no purchase links in the appAllowed with restrictionsStripe

Prompt for Replit

Paste this into Replit to implement the web-app side. Review the result, publish, then test inside the WebViewGold app.

Prompt to paste into Replit Agent
Add store in-app purchases to this Replit app for the WebViewGold wrapper. In the React front end, when navigator.userAgent contains my custom WebViewGold token, hide the Stripe checkout and show a Subscribe button that navigates to revenuecat://purchase?external_id=USER_ID&product=pro_monthly using the Replit Auth user id, plus a Restore purchases link that navigates to restoreinapppurchases://. In the backend add POST /api/webhooks/revenuecat that verifies the Authorization header against the REVENUECAT_WEBHOOK_SECRET secret, reads app_user_id and type from the event and upserts a subscriptions row with status and expires_at. Expose GET /api/me/plan and gate premium features on it. Do not show web prices or external payment links inside the app.

I am very happy I bought this app! Extremely easy and great documentation. Was in contact with the customer service, they replied very quickly and very friendly. They solved my question within a day. 10/10 would recommend.

Nelis Geiger · CodeCanyon

Set up in-app purchases for a Replit app

RevenueCat is free up to a monthly revenue threshold and syncs both stores.

  1. Create the products in App Store Connect and the Play Console

    Define your subscription or one-time product with identical identifiers on both stores (for example pro_monthly). Apple requires the Paid Apps agreement signed by the account holder.

  2. Connect both stores to RevenueCat

    Create a RevenueCat project, add the iOS and Android apps, paste the store credentials and define an Offering with your products. Optionally design a native paywall in the RevenueCat dashboard.

  3. Enable RevenueCat in WebViewGold

    Paste the RevenueCat API key into Config.swift and Config.java (or the Cloud Builder). Done on the native side.

  4. Trigger purchases from your Replit app

    Navigate to revenuecat://purchase?external_id=USER_ID&product=pro_monthly from your upgrade button, or show the native paywall with revenuecat://launchPaywall?external_id=USER_ID&offering=default. Use the user ID from Express/Flask/FastAPI backends with Replit Postgres or external databases as external_id.

  5. Unlock features in your backend

    Point a RevenueCat webhook at Express/Flask/FastAPI backends with Replit Postgres or external databases and set the user's plan when a purchase or renewal event arrives. Your web app then shows the premium features exactly as it does for Stripe customers.

  6. Hide the web checkout inside the app

    Detect the app via the custom user agent WebViewGold sends and show the IAP button instead of the web checkout. Apple rejects apps that link out to external payment pages for digital goods.

Rules to respect

  • Apple Guideline 3.1.1: digital goods and services unlocked in the app must be sold via In-App Purchase. Do not show "cheaper on our website" hints or external checkout links inside the iOS app.
  • Google Play Billing policy: the same applies to Android with a few exceptions and regional user-choice programs.
  • Subscriptions must be restorable: WebViewGold handles the native restore flow (restoreinapppurchases://); show a "Restore purchases" link in your settings.
  • In-app purchase support in WebViewGold requires the Extended License (see license upgrade).
  • Apple's Small Business Program and Google's 15% tier reduce the store fee for the first $1 million in annual revenue; RevenueCat supports both.

Frequently asked questions

Can I keep Stripe for my Replit web app?

Yes. The web stays as it is. Only purchases made inside the iOS and Android apps go through the stores. Many apps run both: Stripe on the web, IAP in the apps, with one plan field in the database.

Does Apple take 30 percent?

Apple and Google take 15 percent for most small developers (under $1 million per year through the Small Business Program / 15 percent tier) and 30 percent above that. The price difference is usually worth the reach of the stores.

Can I sell credits for AI features through IAP?

Yes. Consumable in-app purchases are made for credits. Define the consumable in both stores, map it in RevenueCat and add the credits in Express/Flask/FastAPI backends with Replit Postgres or external databases on the webhook event.

Do I need the native paywall?

No. You can keep your own pricing page inside the web app and just call revenuecat://purchase from the buy button. The native RevenueCat paywall is optional and can be A/B tested from the dashboard.

Three ways to get your app into the stores

Same result, different amount of work on your side. All three come with the approval guarantee and 24/7 human support.

Do it yourself

$109 per platform, one-time

The WebViewGold license: a finished Xcode or Android Studio project. Paste your URL, set name and icon, switch on features, build and submit. Free updates forever.

See plans on the main page

Cloud Builder

$349 per license, one-time add-on

No Mac, no Xcode, no Android Studio: configure in the browser, we build both apps in the cloud and hand them to App Store Connect and the Play Console.

How the Cloud Builder works Try the free demo

Full Service

$698 per platform $798

Send us your URL and icon. Our team configures, builds and delivers your app within 72 hours, white-label, with source projects. Both platforms for $1,158.

Full Service details Powered by WeSetupYourWebViewApp

Winter Sale prices valid until December 31, 2026.

Ready to ship your Replit app?

App Store & Google Play approval guarantee – or your money back within 14 days

Rather hand it over? Full Service: we configure, build and deliver within 72 hours, from $698 per platform. Questions? Chat with us 24/7.

Refunds are granted under the conditions listed in our FAQ: a non-content rejection by Apple and/or Google, claimed within 14 days after purchase.