New Version: This is the latest Stripe integration. For the legacy version, see Payments (Legacy).

Overview

Anything’s built-in Stripe integration lets you easily add payments to your app without complex setup. You can collect payments for:
  • Monthly subscriptions (like $20/month for Pro access)
  • One-time purchases (like $100 for lifetime access)
  • Multiple pricing tiers (Basic, Pro, Enterprise)
  • B2B invoicing (for custom work or consulting)

Setup

1

Connect Stripe Account

Complete your Stripe onboarding in your Anything dashboard. This links your app to your Stripe account so you can receive payments.
2

Enable Authentication

You’ll want users to sign in so you can track who has paid for what.
"Allow users to login so we can track free vs paid customers"
3

Update the builder with your desired pricing model or pricing system

"Setup a Pro plan, allow them to create 50 to-do tasks after paying 19.99 a month in Stripe, keep free users at 10."

How It Works

Simple Version:
  1. User clicks “Upgrade” button in your app
  2. Stripe checkout page opens in a popup window
  3. User enters payment info and completes purchase
  4. Your app automatically detects they’ve paid and unlocks features

Key Features

✨ No Complex Setup Required
  • No need to create “Price IDs” in Stripe dashboard
  • No webhook configuration needed
  • Prices are defined by your direct instructions to the builder
✨ Smart Status Checking
  • Your app automatically polls to check if users have paid
  • Works on both web and mobile
  • Caches results for better performance
✨ Production Ready
  • Automatically handles test vs live Stripe keys
  • Creates and manages Stripe customers for you
  • Works seamlessly in Anything’s preview environment

Common Pricing Models

Monthly Subscriptions

Pro Plan: $20/month
Business Plan: $50/month  
Enterprise: $100/month

One-Time Purchases

Lifetime Access: $200 one-time
Premium Features: $50 one-time
Event Ticket: $25 one-time

What You Get

When you implement Stripe, Anything automatically provides:
  • Backend routes for creating checkout sessions
  • Frontend hooks for checking payment status
  • Customer management in Stripe
  • Proper error handling
  • Mobile payment flows

Testing

Anything defaults to test mode while in the builder/preview system, so you can test checkout immediately. Test Credit Cards: Successful payments:
  • Visa: 4242424242424242
  • Mastercard: 5555555555554444
  • American Express: 378282246310005
Failed payments:
  • Card declined: 4000000000000002
  • Insufficient funds: 4000000000009995
  • Expired card: 4000000000000069
Test details:
  • Expiry date: Any future date (e.g., 12/25)
  • CVC: Any 3 digits (e.g., 123)
  • ZIP code: Any valid ZIP (e.g., 12345)

Technical Implementation

Anything automatically handles the complex iOS payment flow for you:
  1. User taps payment button in your iOS app
  2. App opens Safari with Stripe’s secure checkout page
  3. User completes payment with Apple Pay or other methods
  4. Universal Link redirects back to your app
  5. Webhook updates user’s account with purchased items
This approach requires users to temporarily leave your app, but provides significant benefits including lower fees (2.9% + $0.30 vs Apple’s 15-30% commission) and faster payouts (2-7 days vs 30-60 days).

iOS Compatibility

Stripe is fully compatible with iOS apps and follows Apple’s latest guidelines for external payment processing. Due to a US District Court order, Apple updated its guidelines to allow developers more freedom to direct iOS app users to external payment options. See the Reuters coverage and Apple’s official announcement. What Stripe Enables for iOS:
  • Digital goods and subscriptions - Sell in-app credits, premium features, or subscriptions
  • External checkout flow - Redirect users to Stripe’s hosted payment page
  • Universal Links - Seamlessly return users to your app after payment
  • Cross-platform purchases - Users can buy on web and access in your app
Best Practices We Follow:
  • Compliance with Apple Guidelines - Our implementation follows Apple’s updated App Store Review Guidelines
  • Optimized Mobile Experience - Uses Stripe’s mobile-optimized checkout UI with origin_context: "mobile_app"
  • Universal Links Integration - Proper deep linking back to your app after payment completion
  • Webhook Security - Secure payment confirmation and user account updates
  • Customer Management - Automatic Stripe customer creation and management
  • Error Handling - Graceful handling of payment failures and edge cases