Skip to content

PayPerView Live Plugin

Daniel Neto edited this page Feb 5, 2025 · 4 revisions

With this plugin, you will be able to schedule and presell Live events.

Install and edit the plugin configurations

image

Create Plans

image

Steps to Create a New Plan

1. Access the Plans Section

  • Navigate to the Plans tab in the PayPerView plugin.

2. Fill in the Plan Details

  • Name: Enter the name of the plan. (e.g., Plano ao vivo)
  • Description: Provide a brief description of the plan (optional).
  • Value: Set the price of the plan. (e.g., 1 means $1 or the defined currency).
  • Hours Valid: Define the total duration (in hours) the plan will be valid after the scheduled start time of the live stream.
    • ⚠️ Important: Ensure that Hours Valid covers the entire duration of the live event, otherwise access may expire before the stream ends.
  • Status: Select whether the plan is Active or Inactive.
  • % Site Owner: Define the percentage of the payment that goes to the site owner.
  • % User: Define the percentage of the payment that goes to the content creator or user.

3. Save the Plan

  • Click the "New" button to create a new plan.
  • Click the "Save" button to store the details.

Managing Plans

The Edit section on the right displays all existing plans.

You can:

  • Click the ✏️ edit icon to modify an existing plan.
  • Click the 🗑️ delete icon to remove a plan.

Example Plan Configuration

Value Name Status Hours Valid % Siteowner % User
1 Plano ao vivo Active 1 100 0

This setup means:

  • The plan costs 1 currency unit.
  • It is valid for 1 hour.
  • 100% of the payment goes to the site owner.
  • The user/creator receives 0%.

Assigning a Plan to a User's Livestream in AVideo PayPerView Live Plugin

image

The Live Schedule section allows an admin to assign a PayPerView plan to a user's live stream. This ensures that only users who purchase the plan will have access to the scheduled live event.

Steps to Assign a Plan to a Livestream

1. Access the Live Schedule Section

  • Navigate to the Live Schedule tab in the PayPerView plugin.

2. Fill in the Live Stream Details

  • Plans: Select the PayPerView plan that will be applied to the live stream.
  • Users: Choose the user who owns the livestream.
  • Live Starts: Set the start date and time of the live event.
  • Live Ends: Set the end date and time of the live event.
  • Status: Choose whether the event is Active or Inactive.
  • Start Sell In: Define when the plan will be available for purchase.

3. Save the Live Schedule

  • Click the "New" button to create a new schedule entry.
  • Click the "Save" button to store the schedule.

Managing Scheduled Livestreams

  • The Edit section on the right displays all scheduled livestreams.
  • You can:
    • Click the ✏️ edit icon to modify an existing schedule.
    • Click the 🗑️ delete icon to remove a scheduled livestream.

Example Live Schedule Configuration

# Live Starts Live Ends Status Start Sell In
1 2024-11-26 13:35 2024-11-26 14:35 Active 2024-11-26 13:35
2 2025-02-13 11:30 2025-02-13 12:30 Active 2025-02-04 05:30

How This Works

  • Admins can schedule live events and assign a PayPerView plan to them.
  • Users will only be able to access the live event if they purchase the assigned plan.
  • The Start Sell In option determines when users can begin purchasing access.

This feature allows for complete monetization of live content through pre-planned and scheduled PayPerView live streams.

Assigning a PayPerView Plan as a Streamer in AVideo PayPerView Live Plugin

Streamers can set up a PayPerView (PPV) plan for their own live streams without admin intervention. This allows them to monetize their content by requiring users to purchase access.

image

Steps to Assign a PPV Plan

1. Access the Live Panel

  • Navigate to the Live Panel in your AVideo dashboard.
  • Scroll down to the section "Choose a PPV Plan".

2. Select or Create a PPV Plan

  • Click "New PPV" to create a new plan.
  • Click "Saved PPV" to choose an existing plan.

3. Fill in the Plan Details

  • Plans: Use the dropdown menu to select a PayPerView plan.
  • Description: Provide details about the PPV event (optional).
  • Start Selling: Choose when the plan will be available for purchase.
    • Options include "Start Now" or scheduling a future date.

4. Save the Plan

  • Click the "New" button to create a new plan entry.
  • Click "Save Plan" to store the settings.

Managing PPV Plans

  • If needed, streamers can return to this section to modify or remove a PPV plan before the stream starts.

How This Works

  • Only users who purchase the assigned PPV plan will have access to the live stream.
  • This feature provides full control to streamers for monetizing live content.

You can start selling the ticket now or in the future

image

Once a user tries to play the Live, he will be prompt for choosing the plan and a payment

image

Clone this wiki locally