EmDash Memberships

Setup guide for Stripe memberships and paywalls. The paywall itself installs from npm and is not part of this plugin.

Public name@emdashmemberships.bsky.social/emdash-memberships

Or 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.

No special permissions requested

This plugin does not request access to protected EmDash features.

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.

  1. Install the package:
pnpm add @simplethingsltd/emdash-memberships
  1. Register emCashPlugin() inside emdash({ plugins: [...] }) in astro.config.mjs.
  2. Set STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET, and PUBLIC_SITE_URL. Keep them out of git. Live keys also need EM_CASH_CHECKOUT_ENABLED=true.
  3. Point Stripe webhooks at /_emdash/api/plugins/em-cash/stripe-webhook.
  4. Add a membership page, an account page, and render EmCashPaywall on gated entries. The package README has the three pages.
  5. Protect a post in EmDash Admin, then run em-cash-protected-search with local, staging, or production. With no argument it updates the local SQLite file only. A Cloudflare site must pass production or 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.

Install on your site

Open in EmDash

EmDash Memberships

@emdashmemberships.bsky.social/emdash-memberships

Choose the EmDash site where you want to review this plugin. Nothing is installed until you confirm its permissions in that site's admin.

This browser will remember the site. You can change it next time.