Ana Sayfa / Kod ve Scriptler / Cross-Platform Billing Entitlements Kit

Cross-Platform Billing Entitlements Kit

İmzalı webhook'lar, RLS ve eski olay korumasıyla Stripe + RevenueCat + Supabase yetkilendirme kaynak kiti.

  • Yayın tarihi27 Eylül 2026
  • Nerede çalışırNode.js 22
  • VeritabanıPostgreSQL 15
  • Paket içeriği.ts, .json, .sql, .md, package.json, JavaScript .js
  • Son güncelleme27 Eylül 2026
  • Canlı demoVar
Cross-Platform Billing Entitlements Kit

Overview

This developer kit combines Stripe web billing, RevenueCat mobile purchases and Supabase entitlement records. It includes webhook handlers, database migrations and access-control logic for building a subscription-enabled application. The public demo uses fictional account data; buyers must configure their own provider accounts and application.

Features

  • Supabase/Postgres server-owned entitlement ledger
  • Stripe Checkout and Billing Portal edge functions
  • RevenueCat/App Store purchase and restore helpers
  • Signed Stripe webhook verification
  • RevenueCat Authorization + HMAC verification
  • Duplicate, stale and same-time event protection
  • Independent provider grants with aggregate access
  • Existing Stripe customer migration support
  • RLS authorization and fail-closed behavior
  • 26 unit tests plus local database/RLS integration suite
  • Setup, lifecycle, security and migration documentation
  • Commercial source license

Requirements

  • Node.js 22 LTS and npm
  • Supabase project for deployment
  • Supabase CLI + Docker/OrbStack + psql for the full local integration suite
  • Stripe test/live account for web billing
  • RevenueCat + App Store Connect sandbox setup for native iOS billing
  • Buyer must configure their own provider products, secrets and webhook endpoints