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馃
Free LinkedIn Likes From Real Members | LinkedInLikes
Get free LinkedIn likes on your posts from real members who react by hand. No password needed: you only share a link.
Website 路 12,847 views 路 46 clicksWebsite 路 Week 49 路 12,847 views 路 46 clicks
馃
Free Medium Claps From Real Writers | MediumPlace
Free Medium claps on your stories from verified accounts of real writers, each given by hand. No bots, no Medium password, nothing to pay. Paste a link.
Website 路 7,964 views 路 10 clicksWebsite 路 Week 49 路 7,964 views 路 10 clicks
馃
Free GitHub Stars From Real Developers | GitWow
Get free GitHub stars on your repository from real developers who star by hand. No token or password, and it's free.
Website 路 15,624 views 路 28 clicksWebsite 路 Week 49 路 15,624 views 路 28 clicks
#4
Free Substack Likes From Real Writers | StackRooms
Free Substack likes on your posts and Notes from verified accounts of real writers, given by hand. Free to ask, free to receive. Just share a link.
Website 路 7,784 views 路 2 clicksWebsite 路 Week 49 路 7,784 views 路 2 clicks
#5
Free Twitter Likes From Real People | SupaTwitter
Free Twitter likes on your tweets from verified accounts of real people, each given by hand. No bots, no Twitter password, nothing to pay. Paste a link.
Website 路 7,679 views 路 4 clicksWebsite 路 Week 49 路 7,679 views 路 4 clicks
#6
Free X Likes From Real People, Given by Hand | XFast
Free X likes on your posts from verified accounts of real people, each one given by hand. No bots, no X password, no conditions. Paste a link to start.
Website 路 7,591 views 路 0 clicksWebsite 路 Week 49 路 7,591 views 路 0 clicks