<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=442498563201411&amp;ev=PageView&amp;noscript=1">

Getting Started with the LaterPay Connector for Video (Part 3)

Welcome to Part 3 of the LaterPay Video Connector Guide!

 

In Part 2, we covered how to create your first paid video using the LaterPay Connector. If you need a refresher before you move forward, you can access the earlier Levels below:

Now it's time to learn how to add subscriptions and time passes to the mix!

 


LEVEL 4: Adding Subscriptions and Time Passes

Now that we have successfully defined our first purchase, let’s try adding a subscription option and a time pass as well.

 

You wouldn’t normally want to add a subscription option for a single video of course, but rather to all, or a section, of the catalogue of videos you are serving. For the purposes of our example, we will create a 1 month subscription and a time pass for three videos.

 

Once again, we have put together a short video outlining the key steps: https://youtu.be/cWQ77rZ3DXw

 

 

Going back to the Connector interface, select ‘Subscriptions,’ and a configuration window will open up. Clicking on the plus button will give you a number of options to define what your subscription will look like.

 

Connector Video 4-1

Figure 4.1: Subscriptions Configuration Window

 

Let’s briefly review the different options and walk through the steps we took in our video example:

 

  • Title: This is how the subscription will be named. Since this will be displayed to the end user, it makes sense to give it a meaningful name, such as  “1 Month Subscription.”

  • Description: Just like the title, the description will also be visible to the end user. With that in mind, you want to make sure you provide a descriptive name that is easy to understand, such as “Subscribe to All My Videos for a Month!”

  • Match Type: When we were setting up a single purchase, we talked about the Exact Path and ArticleID. For subscriptions, we also have the option for a “Path Prefix Match”, which matches all sites that have a certain path prefix. This is going to be particularly useful when you want to define which videos the subscription should apply to. In our case, given that we have two videos under the prefix ‘/connector-script/videos/’, we can select that path prefix and put it into the text box - for your own site, choose the path in which the relevant content is gathered.

  • Path/Paths/ArticleID: Much like with the Single Purchase, you will be defining the corresponding value here, based on which Match Type is selected. As mentioned above, we will have /connector-script/videos/ set as the value here.

  • Validity Period: As you might expect, we use this option to determine for how long the subscription will be valid - in our case it will be 1 Month.

  • Price: We set the price for the one month subscription, just as we did for the single purchase. Let’s say $4/4€ (400).

  • Template: For videos, you can omit the template altogether, as this is used for selecting which part of a paid text will be hidden behind the paywall.

4-2

Figure 4.2: Setting the Price

 

This time, after clicking on ‘Save,’ given that each of the articles imports a connector script in their code, you should see a subscription overlay on all of them; and we should see it added in the single purchase overlay as an additional purchase option. After buying the subscription, the user will now get access to all three articles.

 

Connector Video 4-3

Figure 4.3: The Completed Subscription

 Connector Video 4-4

Figure 4.4: The Subscription Option Added to the Overlay

 

You can similarly add a time pass to your content by following almost the exact same steps as you did for a subscription, only using the  time pass category.

 

But let’s make it a little bit more interesting! We’re going to add a time pass only for two of the videos - #1 and #2 - not all of them. This is done by selecting a new time pass, and adding article paths for the two videos instead of defining a path prefix match. This will add the two options to videos #1 and #2, but not for the third one. Please refer again to the video to confirm how this is done!

 

4-5

Figure 4.5: The Time Pass Configuration Window

 4-6

Figure 4.6: Adding the Exact Paths for Multiple Videos

 

Connector Video 4-7

Figure 4.7: Setting the Duration and Price of the Time Pass

 

Connector Video 4-8

Figure 4.8: The Time Pass Option Added to the Overlay

 

You’re are all done! Congratulations on successfully adding subscriptions and time passes to your site!

 

Checklist: Adding a Subscription or Time Pass

  • Go to the Connector page
  • Define the subscription or time pass and set the video URL as “path prefix match” if you want it to apply to all of those videos
  • Alternatively, add individual video paths if you don’t want the subscription or time pass to apply to the whole category of content
  • Input the website path prefix for articles that will be available for single purchase
  • Wrap your video in an appropriate player (JWPlayer was used in this example)
  • Insert the connector script loader to all the webpages that you want the subscription or time pass to apply to, as well as the video player loader script
  • Refresh content and confirm you’re all set!

In Part 4 of this blog series, we are going to look at using in-page configuration and ArticleIDS. Alternatively, if you'd like to review some more scenarios related to Level 4, please see below!

 


ADDITIONAL SCENARIOS

Scenario 4.1: Defining a Monthly and 6 Month Subscription for a Particular Video Type

Prerequisite: Level 4

Objective: Create a monthly and a weekly subscription for three articles in the same category

Video Tutorial: https://youtu.be/rcbKaTUtqCI

 

In this scenario, we are going to define two subscriptions for a specific video type. The main assumption here is that the videos uniquely share a common URL prefix - put another way, you can distinguish the category you want to apply these purchasing options to by their URL path. If this is not the case for you, you might look into Scenario 5.3, which leverages ArticleIDs to select the videos included in the subscription.

 

First, we need to create a monthly subscription, specifying a title and a description. Then, we select “Path Prefix Match” as the Match Type option, as we want the subscription to be applied to all videos in this particular category. Then select the price and link the purchasing option to the template.

 

Finally, do not forget to make sure the web pages containing videos you want to apply your subscription paywall on are all loading the connector for video and the player script.

 

 

 

Scenario 4.2: Defining a Two Hour and a One Day Time Pass for a Particular Video Type

Prerequisite: Level 4

Objective: Create a 2 hour and a 1-day Time Pass for 3 videos, all of which are in the same category

Video Tutorial: https://youtu.be/iY7ibbt-tOw

 

In this scenario, we are going to define two Time Passes for a specific video type. The main assumption here is that the videos uniquely share a common URL prefix- put another way, you can distinguish the category you want to apply these purchasing options to by their URL path. If this is not the case for you, you might look into Scenario 5.4, which leverages ArticleIDs to select the articles included in the Time Passes.

 

First, we need to create a 2 hour Time Pass, specifying a title and a description. Then, we select “Path Prefix Match” as the Match Type option, as we want the subscription to be applied to all videos in this particular category. Then select the price and link the purchasing option to the template.

 

Finally, do not forget to make sure the web pages containing videos you want to apply your subscription paywall on are all loading the connector for video and the player script.