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.

Create a plan

Enable your YPTWallet Plugin, and make sure you enable the plugin parameter enablePlugin_YPTWalletPayPal

Also, enable the PayPal Plugin and add your credentials

Go to Paypal developer Site 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