Skip to content

FansSubscriptions Plugin

Daniel Neto edited this page Nov 11, 2026 · 5 revisions

FansSubscriptions plugin

FansSubscriptions lets each creator sell a subscription to their own fans. Videos (and lives) the creator marks as Fans Only can be watched only by the creator's paying fans.

FansSubscriptions is a paid add-on, available from the AVideo plugin marketplace. It needs the YPTWallet plugin and at least one payment gateway.

Actors

This plugin involves 3 actors:

  • The site administrator (admin)
  • The content producer (creator)
  • The customer who pays to watch the content (fan)

Rules

  1. The creator creates their own plans (price and number of days). The admin can also create and edit plans for any creator.
  2. The admin chooses the site's share in the plugin option adminCutPercentage (default No Cut).
  3. The fan pays with their wallet balance. The real money from the gateway goes to the admin's payment account. Inside AVideo, the price goes to the creator's wallet, then the admin's share moves to the site owner's wallet.
  4. The creator gets the money by requesting a withdrawal, following the normal wallet withdrawal rules.

Plugin configuration

  1. Set up YPTWallet and a payment gateway.
  2. Go to Admin Panel → Plugins, enable FansSubscriptions and click Install tables.
  3. Click Edit parameters and set:
    • adminCutPercentage: the site's share of each fan payment.
    • displayLeftMenuSubscribeButton: shows a subscribe button in the left menu.
    • allowFreePlayWithAds: lets non-fans watch Fans Only videos with ads, unless the video is marked as only for paid users.
    • thanksForSubscribe: the thank-you message.
  4. The Edit button on the plugin row opens the admin view, with the tabs Plans, Subscriptions and Logs.

FansSubscriptions configuration

Creator view to enable fans only

  1. The creator opens My Account, tab Fans Plans, sub-tab Plans, and creates a plan: Name, Price, Status, How Many Days, Description.
  2. In My videos, each video has a Fans Only / For public button. Fans Only makes the video available only to the creator's fans.
  3. For lives, the creator turns on Live only for fans in the live panel.
  4. The My Subscribers sub-tab lists the creator's fans.

Creator enabling Fans Only

A visitor who opens a Fans Only video without a subscription is sent to the creator's plans page to subscribe.

Common questions

Why is a Fans Only video still unavailable after payment? Check the fan's wallet History for the payment, the subscription in the Subscriptions tab, its expiration, and that the plan belongs to the creator of that video.

Keep the buyer signed in to AVideo while approving a PayPal fan plan. A session that expires during checkout can leave a funded wallet without an active fan subscription; do not pay again before checking both records. Older FansSubscriptions code can also fail on the first subscription to a creator because it reuses an empty follower lookup, and its failure message may claim a refund that went back to the creator instead. Review both users' wallet histories when investigating that message. The local correction must be deployed from the separately versioned FansSubscriptions repository as well as the PayPalYPT fix in AVideo.

Who receives the actual gateway payment? The admin's gateway account. The creator's share is kept in the creator's AVideo wallet until withdrawal.

Can every creator make plans? Every user who can upload videos sees the Plans sub-tab in My Account → Fans Plans.

Clone this wiki locally