<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 (Part 3)

Welcome to Part 3 the LaterPay Connector Guide!

 

In Part 2, we covered how to create your first paid article 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 article of course, but rather to the entire site, or to a part of the content you are serving. For the purposes of our example, we will create a 1 month subscription and a time pass for An Economist - the content category of our mock website.


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

 

 

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.

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 An Economist 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 articles that have a certain path prefix. This is going to be particularly useful when you want to define which articles the subscription should apply to. In our case, given that we have three articles under the prefix ‘/connector-script/AnEconomist/’, 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/AnEconomist/ 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: We’re back to the Template Selector again! You can reuse the same one as for single purchase if the page structure is the same!

4-2

Figure 4.2: Setting the Price and Template

 

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.

4-3

Figure 4.3: The Completed Subscription

 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 articles - article 1 and article 2 - not all of them. This is done by selecting a new time pass, and adding article paths for the two articles instead of defining a path prefix match. This will add the two options to articles 1 and 2, but not for the third one. Please refer again to the video to confirm how this is done!

 4-6

Figure 4.5: Adding the Exact Paths for Multiple Articles

 4-8

Figure 4.6: 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 article URL as “path prefix match” if you want it to apply to all of those articles
  • Alternatively, add individual article 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
  • Link the subscription/time pass to the predefined template, or create a new one if needed
  • Insert the connector script loader to all the webpages that you want the subscription or time pass to apply to
  • 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 Weekly Subscription for a Particular Article Type

Prerequisite: Level 4

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

Video Tutorial: https://youtu.be/ticN4TE-zH0

 

In this scenario, we are going to define two subscriptions for a specific article type. The main assumption here is that the articles 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 articles included in the subscription.

 

First, we need to create a weekly 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 articles in this particular category. Then select the price and link the purchasing option to the template.

 

Finally, do not forget to make sure the pages you want to apply your subscription paywall on are all loading the connector script.

 

 

 

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

Prerequisite: Level 4

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

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

 

In this scenario, we are going to define two Time Passes for a specific article type. The main assumption here is that the articles 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 articles in this particular category. Then select the price and link the purchasing option to the template.

 

Finally, do not forget to make sure the pages you want to apply your subscription paywall on are all loading the connector script.