Tips and Tricks WP eCommerce

eCommerce Solution for WordPress Blog

  • Home
  • eCommerce Plugins
  • WP eStore Documentation
  • WP Shopping Cart Doc

Setup Pay Per View with Indefinite Access to the Purchased Content

Normally when you setup pay per view content and sell access to a page, the access expires after a configurable amount of time.

If you don’t want the access to expire (so the user can view the page indefinitely) then do the following:

  • Go to eStore settings menu
  • Enter a value of “999” in the “Duration of Download Link” field
  • Enter a value of “999” in the “Download Limit Count” field
  • Save the settings.

disable-link-expiry-feature-settings

This will turn off the automatic link expiry feature. So after a user purchase the item, they can click on that link whenever they want to view the content and they will be given access to that page.

WP eStore’s Pay Per View – Using WordPress Permalinks as Digital Products (APR)

Authenticated Page Redirect (APR) allows you to offer secure one-off access to WordPress pages and posts, without requiring the services of a membership plugin. You might find this capability useful in some cases for selling access to something like an event or time specific page or post, which may in turn provide access to live streaming video.

This feature is widely used to setup pay per view (PPV) content.

What to Expect

This is the scenario that we are after:

  1. A visitor arrives on your site and sees a purchase button for some Pay Per View (PPV) content.
  2. The visitor makes a purchase using the purchase button.
  3. The visitor then gets an encrypted link in the email (optionally you can also show the links on the Thank you page).
  4. The visitor clicks on the encrypted link which sends him to a WordPress page and allows him to see the content embedded on that page. If the visitor directly goes to this page without clicking on the encrypted link first (no content will be shown to the visitor).

How the APR Feature Protects the Content

The key thing to understand here is that the APR feature protects the content inside the APR shortcode (it doesn’t try to mask or hide the URL of the page). The content inside the APR Shortcode can only be viewed after the customers click on the encrypted link for that product that they receive after the purchase. If anyone directly goes to that URL the content inside the APR shortcode will be hidden this is why there is no need to hide the actual URL.

Setup Preparation (Basic Understanding)

The security mechanism used by APR is an encrypted session cookie; the APR Cookie. Each APR cookie is specific to a particular permalink, and contains encrypted timing information. On the pages being protected by APR, called APR Targets, an APR shortcode encloses the content being protected.  Content enclosed by an APR shortcode will only be displayed if one of the following specified conditions are met:

  • An APR cookie EXISTS in the current browser session.
  • An APR cookie exists and is LESS THAN an a specified number of minutes old.

Setup Authenticated Page Redirect

There is another pay per view feature video tutorial in our additional video tutorial section on the forum.

Step 1 (Create the Page with the Content and the Shortcode)

To setup a permalink as a digital product first you need to create the target page and setup the content that you want to deliver after the purchase.

Create a page or post that will become the APR target then enclose the content you want to protect using one of the following shortcodes:

  • Available Shortcodes for Authenticated Page Redirect Feature

Please make sure that the permalink you will be using works. Copy and paste it into the address bar of your browser. Specifically, ensure that the permalink you think you are going to use does not get modified by WordPress. If the permalink changes, then either fix the problem or use the resulting URL as the link you will use for the APR target URI.

Step 2 (Configure the Product)

Setup your digital product, using the URL of the APR target page in the “Digital Product URL” field.  CHANGE the URL scheme from ‘http’ to ‘aprtp’ or from ‘https’ to ‘aprtps’ in the “Digital Product URL” field. So for example if your APR target page URL is the following:

https://www.example.com/my-secret-page-with-awesome-video

Change the keyword “https” to “aprtps” and use that URL in the “Digital Product URL” field. So for the above example you will enter the following in the “Digital Product URL” field:

aprtps://www.example.com/my-secret-page-with-awesome-video

Now, whenever an encrypted link, pointing to an APR target is processed by eStore; an APR cookie will be issued, before the browser is redirected to the APR target, by the download manager script. This way your customers can only view the protected content on that page after they have made a payment.

Limitations

If an APR target contains the ‘nextpage’ tag, only content on the first page will be protected by the APR shortcodes.

Troubleshooting Tips

Reasons for why APR would not work include:

  1. The product URL does not specify the APRTP protocol. You forgot to use the correct URL format (see step 2 above) in the “Digital Product URL” field.
  2. The specified URL used with the APRTP protocol does not EXACTLY match the “pretty URL” format used for the non-APR URL. Example, if the non-APR URL is “http://site.com/page/” the APR URI must include the trailing “/” or it will not work.
  3. The browser is not accepting cookies.

This is an example of how to check for proper APR cookie authorization. Notice the conditional testing that is taking place. The conditional shortcode can be used to handle expired links.

[wp_eStore_APR expiry=0 status=unexpired]
Now you see me!
[/wp_eStore_APR]
[wp_eStore_APR expiry=0 status=expired]
Now you don't!
[/wp_eStore_APR]

Allow Indefinite Access

Read this post to learn how you can allow the purchasers to have indefinite access to the content.

Sell Pay Per View – Setting Up Pay Per View Option Using WP eStore Plugin

Pay-per-view (PPV) is a type of service by which a customer can purchase events to view on your site.

You sell access to a post or page that has the content inside it. The content is available for view after the customer makes a payment. The content can be a video (embedded on the post or page), a digital download, images etc.

When to Use “Pay Per View” or “On Demand” Delivery Method?

There are 2 ways you can deliver digital content to your customers:

  • Direct download via encrypted file download option
  • Pay Per View / On-Demand Access to a webpage that has the content in it

Direct Download:
The direct download method means you are letting your customer download a file to their computer (this is the default method of digital content delivery)

Pay Per View / On-Demand Access:
This covers everything else that does not fall under the direct download category. This method is used to give a customer access to the content without a direct download (the customer views the content on your site via the browser). If you want to give your customer access to a webpage which contains the digital content (for example: a page with embedded streaming video) then use one of the “Pay Per View” methods explained below.

1. The New “Pay Per View” Method

The newly added “Using WordPress Permalink as Digital Product” feature can be used to configure better “Pay Per View” option:

  • Using WordPress Permalink as Digital Product

2. Old “Pay Per View” Method

This method should not be used anymore as we will only support the new Pay Per View method (which is more robust) going forward.

The following video shows how to setup a Pay Per View model to sell streaming videos using WP eStore:

eStore Pay Per View

Your Shopping Cart

Shopping Cart Empty
Shopping Cart is Empty
Visit The Shop

Search

Featured Documents

Stylish Product Display Options for WP eStore WP eStore Quick Setup and Usage Video Tutorial WP eStore Shortcodes and Functions Reference WordPress eStore Plugin Features WordPress eStore Plugin Demo What Our Customers Have to Say About Our Products WordPress eStore WishList (Feature Suggestions) WordPress eStore Frequently Asked Questions (FAQ) How to Show Add to Cart buttons

Featured Plugins

WP Express Checkout Plugin
wordpress_estore_icon
wordpress membership plugin icon
wordpress_affiliate_plugin_icon

Copyright © 2025 | eCommerce Plugins