Skip to content

PayPerView Plugin

Daniel Neto edited this page Mar 2, 2022 · 8 revisions

With The Pay-per-view (PPV) plugin you can let your users purchase exclusive content for a certain amount of time.

you can define the price and how long it will take to expire

Payment gateways

All payments go to the site owner

PayPerView plugin works connected to the Wallet, so it supports Stripe, PayPal and any other payment gateway connected to the Wallet plugin. this means all payments made for a PPV will go directly to the site owner, and if you need to pay something to your users, they will need to request a withdrawal from the wallet balance, and you will manually pay them. (PayPal has an automatic withdrawal option)

Each user will receive their PPV payment directly (requires Stripe)

But if you want the PPV payment to go directly to your users/publisher, it requires Stripe from all your users. each user will need to enter their stripe API key on their account

To enable PPV payment to go directly to your users you must enable usersCanSetPPV

https://github.com/WWBN/AVideo/wiki/PayPerView-Plugin#userscansetppv

The plugin options

allowFreePlayWithAds

You can have free videos and make money with ads, for this check the option allowFreePlayWithAds what means if you try to play a video with a PPV active, the video will play, but with ads. If the user wants to remove the ad, he will need to purchase the PPV plan.

usersCanSetPPV

Your Users can set up PPV for their own videos with the option usersCanSetPPV. They will need to add their Stripe account and the money will go directly to them. For now, is not possible to get a cut from the payment to the site owner.

The options below are good if you want to make all your site PPV, without any free video.

onlyPlayVideosWithPayPerViewActive

If you check the option onlyPlayVideosWithPayPerViewActive videos that do not have PPV active will not play, they will be displayed on the first page, but will not be possible to play

onlyShowVideosWithPayPerViewActive

If you check the option onlyShowVideosWithPayPerViewActive that does not have PPV active will not appear on the main page.

Prepare the PPV

Click on the blue button with the label "Edit" on the right side of the PPV Plugin

image

Create a PPV Plan

Click on the PPV Plans Tab, and create or edit plans for your PPV

image

Select the videos that will charge for PPV

Once you already have a PPV plan, you can refresh your page, go to the PPV Videos tab and you will see a list with all your videos. just click on the checkbox X plan that you want to activate and then click on the Save button.

image

Clone this wiki locally