Membership plans
Open VidCellar → Membership Plans. Create any number of plans. Each plan has a description, a feature list, and a monthly price, a yearly price, or both.
The pricing page uses [vidcellar_plans] and a Monthly / Yearly switch. Payment uses the PayPal and Stripe keys already stored under Settings. PayPal is verified on the server. Stripe Checkout is confirmed when the visitor returns and by the Stripe webhook. Nothing renews by itself. Renewing while the plan is active adds a full term after the current end date.
Paid registration
Under Settings on this screen, you can require a new account to choose a plan and pay. WordPress registration (wp-login.php?action=register and wp-signup.php) is sent to the VidCellar registration page. The visitor enters their details, chooses Monthly or Yearly, and pays on a Complete your membership step. The WordPress user is created only after payment is confirmed, with the password they chose, and they are logged in. If they leave without paying, no account is created. The pending sign-up is kept for 6 hours and tied to that browser. The password is stored only as a hash.
Expiry and grace
Access is calculated from the dates on every check, so it ends on time even if WP-Cron is late. A twice-daily job sends mail and updates the member role. After the paid term, a grace period starts (default 14 days, adjustable from 0 to 90). During grace, plan videos are trailers only, and the paywall, account page, and pricing page say Renew membership. Renewing during grace keeps the original member-since date and starts the new term that day. When grace ends, the membership is deactivated and the visitor is asked to subscribe again.
Emails: payment receipt, renewal reminder (default 3 days before the end), expired-please-renew, and deactivated. You can give active members an optional Video Member role and remove it when the plan ends.
Cancel and refund
Members cancel from My membership. The policy on screen matches Membership Plans → Settings:
- Monthly memberships are not refunded. Access continues until the end of the paid month.
- A yearly membership cancelled within 3 months (adjustable) of the start of its current year is refunded pro rata for unused time and ends immediately.
- After that window, a yearly membership is not refunded. Access continues until the end of the paid year.
A member who cancelled without a refund can choose Resume membership until the end date. After that date the membership ends with no extra grace and no reminders. Amounts you still need to refund are listed under Payments with Mark refunded after you issue the refund in PayPal or Stripe. The member and the administrator are emailed when a membership is cancelled.
The members list shows status, paid-until, and grace end. You can deactivate a member or grant or extend a free term.
