WordPress Video Lessons Manager Plugin + Payments (CMEDDPAY) - Use Case - Charging Users For Access in Video Lessons Portal


Use Case - Charging Users For Access in Video Lessons Portal

Back to User Guides

Requirements This use case requires these to be installed and activated:

Optionally

Notes

  • Only logged-in users can pay for videos. After payment, they have to be logged-in to continue having access.

Video Use-Case

Introduction

The Video Lessons Payments add-on gives the ability to charge users for watching videos on your site. 

Videos can be imported from Vimeo or Wistia and are organized in lessons and courses.

Example

Charging users for watching video lessons - WordPress Video Course Plugin
Charging users for watching video lessons

How It Works

To allow payments, the add-on uses either EDD (Easy Digital Downloads) or WooCommerce. Both plugins are free and grant access to payment gateways such as PayPal and Stripe (note that some gateways might be paid)

EDD and WooCommerce Support

On WordPress, the add-on is named "EDD Payments Addon". It has WooCommerce support - it was simply added later.

The Payments Add-on supports EDD and WooCommerce - Online Course WordPress Plugin
The Payments Add-on supports EDD and WooCommerce

Use Case Assumptions

In this example use case guide, we'll cover how to charge users to have access to our video lessons. 

We consider that you have already installed and configured the base plugin. For help with that, check WordPress Video Lessons Manager Plugin (CMCLM) - Use Case - Creating a Video Lessons LMS And Tracking Student Progress.

We also consider you bought the add-on, but not installed it, and that you have not installed either EDD or WooCommerce. 

It follows:

Installing The Add-on

The process is the same for all CM plugins and add-ons.

CreativeMinds Customer Account Dashboard - Install the WordPress LMS Plugin
CreativeMinds Customer Account Dashboard
  • Download the add-on from your customer dashboard
  • Log in to WordPress and navigate to the WordPress Admin  → Plugins settings.
  • Click on Add New
  • Activate it and add the license

TIP: MicroPayments

If you are going to install MicroPayments Platform Plugin, the process to do that is the same.


Installing Payment Plugins

Direct Payment: EDD or WooCommerce

You must choose between either Easy Digital Downloads or WooCommerce.

EDD or WooCommerce? 

As far as Videos Payment is concerned, the only difference is that WooCommerce supports payment renewals via their WooCommerce Subscription add-on.

It's not possible to add renewals with Video Lessons + EDD

Head to Admin Dashboard → Plugins → Installed Plugins and click Add New

Installing payment plugins
Installing payment plugins

Search for either Easy Digital Downloads or WooCommerce and install it.

Searching payment plugins
Searching payment plugins

Configure Payment Plugins

Don't forget to configure the payment plugin! This way you can connect it to payment providers such as PayPal or credit card companies.

External Resources

MicroPayments Plugin Integration

By using WordPress Video Lessons Manager Plugin with MicroPayments Platform Plugin, can you can charge user with their digital wallet points.

Example

Charging points for watching video lessons - WordPress Video Course Plugin
Charging points for watching video lessons
First Steps

To make this happens, the MicroPayments plugin has to be configured properly. 

Head to Admin Dashboard → CM MicroPayments Pro → Settings → General tab and define these two important settings:

  1. Users must have wallets assigned to them. Learn more: CM MicroPayments (CMMP) - Getting Started - Adding and Managing Wallets
  2. The Checkout page must be defined.

    Setting up the MicroPayments plugin wallet and checkout pages - Online Course WordPress Plugin
    Setting up the MicroPayments plugin wallet and checkout pages

    Learn more: CM MicroPayments (CMMP) - General Settings

MicroPayments Plugin Documentation

CM MicroPayments (CMMP) - Plugin Overview

Now, the integration should be complete.


Choose How To Charge: by Video/Lesson/Course or by Whole Video Collection

The first decision we have to make is how to charge users:

  1. User pays different times for certain videos, lessons or courses.
  2. User pays and has access to all videos.

Currently it's not possible to charge both ways at the same time.

So let's head to the Settings → Payments tab, where you can configure just that in the Payments model option.

Payments settings - WordPress LMS Plugin
Payments settings

TIP: Section is Empty?

Note that in the same screen we can choose the Payment provider: EDD or WooCommerce. If only "disabled" is shown, it means these payment plugins are not activated.

Checking if the EDD or WooCommerce are activated - WordPress Video Lessons Plugin
Checking if the EDD or WooCommerce are activated

Case 1) User Pays, Gets Access To All Videos

This case has the easiest setup.

First, choose "Single payment for all video contents".

Then, under Subscription plans for all channels, create any number of options that the users will have when trying to access video.

Setting up the subscription plans for all channels - LMS in WordPress
Setting up the subscription plans for all channels

Note that these labels can be translated to another language from the labels settings of the plugin.

Example

User needs to purchase the subsciption to watch video lessons - WordPress eLearning Plugin
User needs to purchase the subsciption to watch video lessons

TIP: User Has To Be Logged-in

If a user tries to access the page without being logged-in, they will be prompted to log in. So it's a good idea to make sure users can log in from video pages.

Login requirement to access video lessons - WordPress Learning Management System Plugin
Login requirement to access video lessons

Additionally, in the base Video Lessons plugin you can set "Who can watch video" to Logged-in Users only. This means guest users won't even have access to free videos.

Login requirement to access video lessons - WordPress Video Courses
Login requirement to access video lessons

Learn more: WordPress Video Lessons Manager Plugin (CMVLM) - Settings - General

Case 2) User Pays, Gets Access To Specific Videos

You can also charge differently for each video or lesson. Even, in each case, creating different options such as 1-day access and 6-month access.

First, start by selection "Separate payment for each course, lesson or video".

Swithcing the payment model to separate payment for video materials - WordPress Video Lessons Manager Plugin
Swithcing the payment model to separate payment for video materials

Now, you should edit each content to set its pricings.

Example 1: Video Costs $5 For One-Week Access

First, we edit the desired video.

Editing the video - WordPress Video Course Plugin
Editing the video

Then, we check the metabox "Subscription plans" and add the price option.

Setting the subscription plans for a specific video - Online Course WordPress Plugin
Setting up the subscription plans for a specific video

If you are using MicroPayments plugin, the box will be called "CM MicroPayment Costs".

Setting up the cost in points for watching the video - WordPress LMS Plugin
Setting up the cost in points for watching the video

Now, users will be prompted to pay before watching it. Note that, since the video is part of a lesson, you can set different prices across the lesson. Below, the second video is free.

Paid and free video within the same lesson - WordPress Video Lessons Plugin
Paid and free video within the same lesson

Example 2: Lesson Has Teaser, Trial and Full Plans

Editing the lesson, we set up three options. We also name them in the description field.

Offer different subscription plans - LMS in WordPress
Offer different subscription plans

Now, when accessing the lessons, users will choose between those options.

The box with subscription plans - WordPress eLearning Plugin
The box with subscription plans

TIP: Pricing Priority

If you set a price to a lesson, it's not possible to set specific prices to the videos inside that lesson.


Showing Users Their Subscription History

The Video Lessons Payments Add-on comes with a shortcode to display subscriptions history.

  • Shortcode: [cmvl-subscriptions status="active|inactive"]
  • Shortcode attribute:
    • status - set active|inactive to display subscriptions with a specific status. The inactive subscription will be displayed with the checkout option. This attribute is optional.

Example

Shortcode displaying active subscriptions without checkout option.

Shortcode displaying active subscriptions without checkout option - WordPress Learning Management System Plugin
Shortcode displaying active subscriptions without checkout option

Shortcode displaying active subscriptions with checkout option.

Shortcode displaying active subscriptions with checkout option - WordPress Video Courses
Shortcode displaying active subscriptions with checkout option

Translating Interface

The Payments add-on includes some specific labels. This way, you can adapt all messages related to payments.

Head to Settings → Labels and edit all relevant text. 

Payments labels - WordPress Video Lessons Manager Plugin
Payments labels

Example

Example of changing labels - WordPress Video Course Plugin
Example of changing labels

TIP: Price Placeholder

The payment labels may, naturally, include the duration and price of the access.

To solve this, we use the placeholders %s for duration and .%.2f for price.   

The %.2f expression is special. 2f means there are two decimals. You can change it extensively.

Examples with the cost $2.15

Label Front-end result
$%.2f $2.15
$%.1f $2.1
$d% $2
USD %.2f USD 2.15
%d euros 2 euros

Learn more: Settings - Labels


Extra - Adding Subscriptions Manually

Head to Admin Dashboard → CM Video Lessons Manager Pro → Subscriptions.

Navigation to the Subscriptions dashboard - Online Course WordPress Plugin
Navigation to the Subscriptions dashboard
Subscriptions dashboard - WordPress LMS Plugin
Subscriptions dashboard

In this screen, you can manage subscriptions (for lessons only) and also add new ones. Each subscription has a lesson, user and date information attached to it.

To add a subscription, find the lesson, identify the user and set the duration time. For each video, you can choose a different pricing model. Click on the Add subscription button.

Providing a subscription to the user manually - WordPress Video Lessons Plugin
Providing a subscription to the user manually

TIP: Free Subscriptions

Manually added subscriptions are marked as "Free"

How manual subscriptions are marked - LMS in WordPress
How manual subscriptions are marked

Learn more: Video Lessons EDD Payments (CMEDDPAY) - Subscriptions - How the Payments Work


Result

Below we show a lesson where users must pay to receive access.

Example

Charging users for watching video lessons - WordPress eLearning Plugin
Charging users for watching video lessons

More information about the WordPress Video Lessons Manager Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.