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

Claude Code + in-app purchases

In-app purchases and subscriptions for your Claude Code app

Your Claude Code 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 Claude Code

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

Prompt for Claude Code
Prompt for Claude Code: Read https://www.webviewgold.com/llms-full.txt, then add in-app purchases for the WebViewGold wrapper. On the pricing page, when navigator.userAgent contains my custom WebViewGold token, hide external checkout links and render Subscribe, navigating to revenuecat://purchase?external_id=USER_ID&product=pro_monthly, and Restore purchases, navigating to restoreinapppurchases://. Add a webhook endpoint that verifies the Authorization header against REVENUECAT_WEBHOOK_SECRET and upserts the user's plan and expiry from event.app_user_id and event.type. Write a test that replays sample INITIAL_PURCHASE and EXPIRATION events. Gate premium features on the stored plan. Add the rule no external payment links inside the app to CLAUDE.md.

Great way of converting your web app to a native app! Fast turn-around, and a great way to get your apps into the app stores without the need to develop a full native app!

Kevin Joling · FlightConnections & TrainConnections · Trustpilot

Set up in-app purchases for a Claude Code 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 Claude Code 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 Your own API routes, serverless functions or Supabase as external_id.

  5. Unlock features in your backend

    Point a RevenueCat webhook at Your own API routes, serverless functions or Supabase 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 Claude Code 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 Your own API routes, serverless functions or Supabase 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 Claude Code 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.