Cross-Platform Billing Entitlements Kit

Description
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
Instructions
- Extract the ZIP and read README.md and WHEN_TO_USE.md.
- Run npm ci and npm run quality.
- Configure Supabase and apply the included migration.
- Map your Stripe prices and RevenueCat products to your internal entitlement.
- Configure webhook secrets and deploy the included edge functions.
- Run npm run test:local to verify the local database/RLS behavior.
- Complete Stripe test-mode Checkout/Portal/webhook and RevenueCat/App Store sandbox purchase/restore tests in your own provider accounts before production.
| Author | logicandlayers |
|---|---|
| Category | Scripts & Code / NodeJS |
| Price | $44 |
| Extended License | $132 |
| First Release | Sep 27, 2026 |
| Last Update | Sep 27, 2026 |
| Database | PostgreSQL 15 |
| Files included | .ts, .json, .sql, .md, package.json, JavaScript .js |
| Software version | Node.js 22 |
| Javascript framework | Node.js |
| Programming language | JavaScript, TypeScript |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit馃
Perceptle
Perceptle is a daily browser-based game that challenges you to test your sensory intuition through five quick estimation and rhythm-based rounds.
Other 路 3,957 views 路 16 clicksOther 路 Week 47 路 3,957 views 路 16 clicks
馃
Free LinkedIn Likes From Real
Get free LinkedIn likes on your posts from real members who react by hand. No
SaaS 路 4,075 views 路 18 clicksSaaS 路 Week 47 路 4,075 views 路 18 clicks
馃
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS 路 11,557 views 路 80 clicksSaaS 路 Week 47 路 11,557 views 路 80 clicks
#4
aaas.market
407 reliable micro tools for solo founders, marketers and creators. They work in your browser
SaaS 路 3,936 views 路 7 clicksSaaS 路 Week 47 路 3,936 views 路 7 clicks