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🥇
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 · 3,095 views · 28 clicksSaaS · Week 45 · 3,095 views · 28 clicks
🥈
Conversational Backlinks for Busy Founders
Place Backlink Relevant Conversation for your domain across Forums and Conversations
Website · 40,485 views · 216 clicksWebsite · Week 45 · 40,485 views · 216 clicks
🥉
upvote.club
Free Social Media Engagement that Helps Boost Your Content. Upvote Club supports 19 social networks with 100+ engagement actions in one dashboard. Add links to your posts and get free engagement from real users.
SaaS · 38,577 views · 110 clicksSaaS · Week 45 · 38,577 views · 110 clicks
#4
Substack Posting API
Onboard your Agent to Substack. Write Publish on Substack via API
SaaS · 57,614 views · 197 clicksSaaS · Week 45 · 57,614 views · 197 clicks
#5
Seenshot App
Free, Fast, MacOS Screenshot app. Make Screenshot cmd+shift+2 and send it via link
Desktop App · 27,046 views · 119 clicksDesktop App · Week 45 · 27,046 views · 119 clicks
#6
Hand-Placed Backlinks $9.99 per link. Flat rate.
Buy hand-placed forum, Q-A and directory backlinks. Flat $9.99 per link, no subscriptions — you only pay for approved listings.
Website · 2,987 views · 18 clicksWebsite · Week 45 · 2,987 views · 18 clicks
#7
Free Invoice Generator - PDF Invoices in Your Browser, No Sign-Up
A free invoice maker for freelancers and small businesses: fill in the invoice, check the live preview, and download a PDF that looks exactly like it. Any currency, tax per item, three templates, no sign-up, and nothing leaves your device.
1,681 views · 16 clicksWeek 45 · 1,681 views · 16 clicks
#8
Merge PDF Files Free - Combine PDFs in Your Browser, No Upload
A free PDF merger for office workers, students, and freelancers: combine PDFs and images into one file in the browser, reorder files and pages, pick page ranges, keep bookmarks, and open password-protected PDFs. Nothing is uploaded, no sign-up, no watermark.
1,573 views · 13 clicksWeek 45 · 1,573 views · 13 clicks