From 90ec1206e1f1a9c3c120ded95921b702f7d012a1 Mon Sep 17 00:00:00 2001 From: claude Date: Wed, 18 Nov 2026 15:40:23 -0500 Subject: [PATCH] Membership tiers: one pay-what-you-want Supporter tier Level 1 becomes Supporter: members choose $3-$500 a month (suggested $8) on the existing Subscription product (prod_Sc9N5J0vNAdLCn). It keeps the Bronze Price so existing Bronze subscriptions continue. Levels 2-5 are retired with hidden: true; existing subscriptions keep access until they end. Needs the DevOps/www membership image with pay-what-you-want support. Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- defaults/main.yml | 28 ++++++++++++++++++++-------- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 9025068..f27cee3 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Defaults deliberately refuse incomplete membership deployments. Configure: | `www_membership_secret_name` | Existing Secret, default `membership` | | `www_membership_secret_data` | Optional Vault/lookup mapping to manage Secret; default empty | | `www_membership_environment_overrides` | Partial public overrides merged with defaults | -| `www_membership_tiers` | Tier mapping with label, price_id, price_label, usd_amount, group_dn | +| `www_membership_tiers` | Tier mapping with label, price_id, price_label, usd_amount, group_dn; optional `pay_what_you_want` (`product_id`, `min_usd`, `suggested_usd`, `max_usd`) and `hidden: true` (retired: existing subscriptions keep access, not offered) | | `www_membership_replicas` | Web replicas, default 2 | | `www_membership_worker_interval` | Seconds after full sweep, default 60 | | `www_membership_ca_secret_name` | Optional CA Secret mounted at `/etc/membership/ca` | diff --git a/defaults/main.yml b/defaults/main.yml index 72c8937..511b418 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -133,25 +133,34 @@ www_membership_environment: GITHUB_CLIENT_ID: "" # Existing LIVE Stripe prices. Level 0 is free and is not configured as a paid tier. +# One offered tier: Supporter (pay what you want). Levels 2-5 are retired +# (hidden: true): existing subscriptions keep their access until cancelled. # Provision the dedicated paid-group DNs separately. # Override with {} to disable paid tiers, or test-mode prices for a sandbox. www_membership_tiers: level-1: level: 1 - label: Bronze + label: Supporter + # The original Bronze Price: existing Bronze subscriptions keep working. price_id: price_1Rgv4xC5KPXqTvVLfMd6z7wn - price_label: $4 USD / month - usd_amount: "4.00" + price_label: Pay what you want ยท from $3 USD / month + # Members choose a monthly amount; checkout creates that Price on the + # existing "Subscription" product. Crypto prepayments use the same bounds. + pay_what_you_want: + product_id: prod_Sc9N5J0vNAdLCn + min_usd: "3.00" + suggested_usd: "8.00" + max_usd: "500.00" group_dn: cn=Level 1,ou=Memberships,dc=eom,dc=dev - description: Kick off the experiment with a private place to connect and a closer look at what is being made. + description: Keep the lab running between drops, at whatever monthly amount feels right. Every amount gets the same benefits. # Display benefits only; exclusive-content permissions are managed manually. benefits: - - Exclusive members-only content on Discourse and Harmony - - Behind-the-scenes notes and work-in-progress updates - - Giveaways exclusive to Bronze members - - Optional credit on the community supporters page + - Optional thanks in the credits of every drop + - Supporter-only posts on Discourse and Harmony, including work in progress + - Early builds and playtests when they exist level-2: level: 2 + hidden: true label: Silver price_id: price_1Rgv5QC5KPXqTvVLv1PaHWb5 price_label: $8 USD / month @@ -165,6 +174,7 @@ www_membership_tiers: - Invitations to member playtests and listening sessions level-3: level: 3 + hidden: true label: Gold price_id: price_1Rgv5rC5KPXqTvVL8Ol8sMUf price_label: $16 USD / month @@ -178,6 +188,7 @@ www_membership_tiers: - Invitations to occasional small-group feedback sessions level-4: level: 4 + hidden: true label: Platinum price_id: price_1Rgv6FC5KPXqTvVL39mAxYjm price_label: $32 USD / month @@ -192,6 +203,7 @@ www_membership_tiers: - Choose this level if you would like to give more level-5: level: 5 + hidden: true label: Diamond price_id: price_1Rgv6mC5KPXqTvVLkcmznWZa price_label: $64 USD / month -- 2.54.0