EmDash Memberships
Setup guide for Stripe memberships and paywalls. The paywall itself installs from npm and is not part of this plugin.
@emdashmemberships.bsky.social/emdash-membershipsOr open Registry in your EmDash admin and search for this name.
Permissions
Plugins get only the capabilities they declare and you approve. Your EmDash admin lists these again before anything installs.
FAQ
Does this plugin charge a fee?
No. The publisher keeps the Stripe revenue. There is no application fee.
What does the free package include?
Stripe memberships, per-article sales, metered reads, emailed sign-in, owner grants, and a Restrict Content Pro importer. x402 is included and off unless a rule offers it.
What is not included yet?
Plan switching, coupons, gifts, team seats, and a paid Pro licence. Assisted launch is US$249. A Restrict Content Pro rehearsal is US$750, and the live cutover is quoted after that rehearsal.
Installation
This plugin is a setup guide. It does not gate pages, charge readers, or request any permissions. Install the memberships package from npm, then register it as a native plugin.
Requires EmDash 1.4 or newer, Astro 6, Node.js 22.16 or newer, a Stripe account, and a redeploy after the environment variables change. An email provider is needed before readers can receive sign-in links in production. Local astro dev prints those links in the terminal.
- Install the package:
pnpm add @simplethingsltd/emdash-memberships
- Register
emCashPlugin()insideemdash({ plugins: [...] })inastro.config.mjs. - Set
STRIPE_SECRET_KEY,STRIPE_WEBHOOK_SECRET, andPUBLIC_SITE_URL. Keep them out of git. Live keys also needEM_CASH_CHECKOUT_ENABLED=true. - Point Stripe webhooks at
/_emdash/api/plugins/em-cash/stripe-webhook. - Add a membership page, an account page, and render
EmCashPaywallon gated entries. The package README has the three pages. - Protect a post in EmDash Admin, then run
em-cash-protected-searchwithlocal,staging, orproduction. With no argument it updates the local SQLite file only. A Cloudflare site must passproductionor the paid body stays in the live search index.
The internal plugin id stays em-cash. That is the webhook path.
Keep exploring
More plugins like EmDash Memberships
Browse by keyword, or see everything @emdashmemberships.bsky.social publishes.