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

Cursor + in-app purchases

In-app purchases and subscriptions for your Cursor app

Your Cursor app probably charges through Stripe, Paddle, Lemon Squeezy. 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, Paddle, Lemon Squeezy
Physical goods, deliveries, tickets, bookings, services performed outside the appYour web checkout is fineYour web checkout is fineStripe, Paddle, Lemon Squeezy
Reader-type content purchased elsewhereMay be consumed without IAP, with no purchase links in the appAllowed with restrictionsStripe, Paddle, Lemon Squeezy

Prompt for Cursor

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

Prompt for the Cursor agent
Prompt for the Cursor agent: Add store in-app purchases for the WebViewGold app wrapper. Create lib/billing/revenuecat.ts with a webhook handler (route path matching our framework) that verifies the Authorization header against REVENUECAT_WEBHOOK_SECRET and upserts an entitlements row (user_id, plan, source, expires_at) from event.app_user_id and event.type. On the pricing page, when navigator.userAgent contains my custom WebViewGold token, hide all external checkout buttons and show Subscribe, navigating to revenuecat://purchase?external_id=USER_ID&product=pro_monthly, and Restore purchases, navigating to restoreinapppurchases://. Gate premium features on entitlements only. Add a .cursor/rules note that in-app digital purchases must use revenuecat:// and never external payment links.

WebViewGold has allowed us the shortest and most efficient time-to-market ever possible from among all the other app platforms we have ever tried during the past 5 years. I don’t know why I hadn’t discovered you sooner, but I am really, really glad I did. Currently nearing 6000 app downloads on both iOS App Store & Google Play Store without any problem!

Antonio Davila · CodeCanyon

Set up in-app purchases for a Cursor 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 Cursor 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 or services as external_id.

  5. Unlock features in your backend

    Point a RevenueCat webhook at Your own API routes or services 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, Paddle, Lemon Squeezy 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, Paddle, Lemon Squeezy for my Cursor 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 or services 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 Cursor 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.