How to get paid for your app

App Store and Google Play for mobile, Stripe for web apps, and Polar or Dodo Payments where Stripe isn't open, with a prompt that sets it up.
How you get paid depends on what you built. Find yours below, pick one, and start charging.
Want your coding agent to set it up?
Fill in the details and paste this into Claude Code or Codex in your project. It sets up payments with the provider you pick, in test mode first.
Add payments to my app. Provider: [Stripe / Polar / Dodo Payments] What people pay for: [e.g. "Pro" plan] Price: [e.g. $12 a month, or $99 a year] Read the provider's official docs before you write code, and follow them: - Stripe Checkout: https://docs.stripe.com/payments/checkout - Polar: https://docs.polar.sh - Dodo Payments: https://docs.dodopayments.com Then: 1. Use test mode and test keys only. Put every key in environment variables, never in the code or in git. 2. Add a checkout page or button for the plan. 3. Unlock the paid features only after the provider's webhook confirms the payment. Verify the webhook signature. 4. Handle cancellations (access ends at the end of the period), failed payments and refunds. 5. Show me how to run a test payment end to end, and list what I need to switch to go live. Don't change anything else in the app. Ask me if something is unclear.
iPhone or Android app: the App Store and Google Play
That part's easy. Digital purchases inside your app go through Apple and Google: they take the payment, handle refunds and sales tax, and pay you out. They keep 15 to 30%.
- Apple: 15% if you made under $1M last year and you join the Small Business Program (you have to apply). Otherwise 30%, dropping to 15% on subscriptions after the first year.
- Google Play: 15% on your first $1M each year, then 30%; subscriptions are 15%. Google is changing fees in some regions, so check the current page.
Web app: Stripe, if you can get in
If you built a SaaS, a web app, you set up payments yourself. Stripe is the best option and most apps run on it. Cards, Apple Pay, Google Pay, subscriptions and invoices, from 2.9% + 30¢ per card payment in the US.
The catch: Stripe isn't open in every country. In India, new accounts are invite-only, and individuals don't qualify. Check your country first.
Can't get Stripe? Polar
Polar is a merchant of record: it sells on your behalf, collects VAT and sales tax worldwide, and pays you out. It pays out in countries where Stripe won't sign you up, India included.
Fee on the free plan: 5% + 50¢ per payment, plus 1.5% on non-US cards.
Or Dodo Payments
Same idea as Polar: a merchant of record that handles the tax for you and pays out to your bank, including Indian bank accounts. Fees start from 4% + 40¢; compare both and pick the cheaper one for your prices.
Don't overcomplicate it. Pick one and start charging. Fees and country rules change, so check each provider's own page before you sign up.
Last checked: October 2026
Hi, I'm Rahul. I'm documenting what I learn while building products.