Skip to content

Subscription Plugin

YouPHPTube edited this page Oct 16, 2018 · 20 revisions

With this plugin, you can create plans for your users to be dynamically included in groups for a specific time.

For example: On your site, you can create a group of users called "Private" and add the videos that you want to be private in this group. So, only users who are associated with this group can view the videos.

So you do not have to manually add and remove users to these groups we created this plugin.

With the Subscription plugin, you can create plans, add a value to it and inform how long users who join it will continue.

One detail is that when the time expires the user may pay again for the subscription to renew.

The steps for building your subscription are as follows:

In the left menu click on plugins

Enable the following plugins Subscription (Commercial) YPTWallet (Free) PayPalYPT (Free)

First of all make sure that the "enablePlugin_YPTWalletPayPal" parameter is enabled inside your YPTWallet

Go to Paypal developer Website here https://developer.paypal.com/developer/applications (you must have Paypal account, of course) Click on Create App on the right side of the page Choose the name of your app and click Create App Now you can see and manage everything including client ID and secret.

Clone this wiki locally