About this block
Sell a membership in two cards. The free plan signs people up with an email link; the paid plan checks out through Stripe and grants the plan when payment clears.
When to use it
- On the home or pricing page of a course, community or members-only site.
- Whenever a members-only section links to 'see plans'.
What's inside
- A free plan card: its button (signed-out visitors only) goes to the sign-in page, where a free self-signup plan is granted on first sign-in.
- A paid plan card with a Stripe price (prices collection, filtered by metadata membership_plan = pro). Its button adds the price to the cart and goes straight to checkout.
- A 'You're a member' state on each card for visitors who already hold that plan (auth me.plans.<slug> exists), so members are never sold what they have.
- An empty state on the paid card for when no Stripe price is connected yet.
How to customize it
- Change the plan slugs in the card conditions (me.plans.starter / me.plans.pro) to the slugs in Members → Plans.
- Set membership_plan = <slug> in the Stripe price or product metadata, and link that price to the plan in Members → Plans.
- Point Create free account at your sign-in page if it isn't /account, and Go to the course at your members area.
Questions
- What happens after someone pays?
- Stripe tells PageHub the checkout finished, and the plan is added to that customer's email. They sign in with an email link and the members-only pages open.
- Does this work without Stripe?
- The free plan does. The paid card shows a short 'opening soon' note until a Stripe price is connected.