How to monetize access to the WordPress content

This article is about Advanced Access Manager 5.0 or higher and premium E-Commerce extension. Some of the features explained in this article also require Plus Package extension.

When you plan to make money on your website, restricting access to the premium content may not be enough. You still have to have the payment process as well as either develop a custom script that automatically opens premium content for a buyer upon payment completion or you do it offline manually. Both cases are not ideal as they might be too complicated to implement or too tedious if manual process applied.

These days companies like Braintree (PayPal product) or Stripe provide all necessary tools to setup payment process on your website without compromising security or breaching very strict PCI DSS compliance regulations. The only thing you need is AAM E-Commerce extension that “glues” together payment gateway integration and AAM core.

With the few steps you will be able to start selling access to any content on your website and here are they:

Install E-Commerce & Create E-Product

When E-Commerce extension is installed properly, you should be able to see additional submenu under AAM menu called E-Products. Here you can create the unlimited number of products that any authenticated user can buy. It is strongly recommended to write some good description for each product as this might significantly increase the sales rate.

AAM E-Product

You should also notice a custom metabox on the right side titled “E-Commerce”. Here you can define the cost of your product. Any other details for purchase transactions can be defined with your merchant provider either Braintree or Stripe.

Setup Payment Widget

When at least one product is defined, you can go ahead and drop the “AAM Payment Widget” widget on your website. It is important to understand that this widget will be visible for authenticated users only. AAM does not have the ability to track sales for visitors.

AAM WordPress Monetize Access

Go to Appearance->Widgets and drop the “AAM Payment Widget” to the sidebar. Depending on the selected Payment Merchant, provide all necessary information that authorizes you with the payment merchant.

Please Understand! If you are planning to make money of your website, it is important to have verified an account with either Braintree or Stripe merchant. You also have to be familiar with how it works and where can you find API credentials/tokens.

Setup Payment Widget

If you navigate to AAM page, you will be able to find access option MONETIZE ACCESS for any post, page or custom post type on the Posts & Pages tab. With Plus Package extension, this option is also available for categories or any custom post type. Here you can bind E-Product that you created with any post, page, category, custom post type, custom taxonomy or even with default access all posts.

AAM Monetized Access Option

The MONETIZE ACCESS option prevents user from reading/downloading any post or media attachment until access to it is purchase and AAM offers two different user flows for that.

The default behavior is to redirect user to E-Product page that is assosiated with a post and upon purhcase complishing, user will be redirected back to read a post.

Another option is to define a teaser message with LIMIT option. The teaser message has to contain shortcode that is replaced with the URL to E-Product page.

If everything was setup properly, you should be able to see “Purchase” widget on the sidebar when you navigate to any post that is defined with MONETIZE ACCESS option.

Braintree payment widget

From here, if a restricted user tries to access monetized content, he will be automatically redirected to the bounded E-Product for purchase and upon payment completion, will be redirected back to restricted content. However this time he will have the ability to read, view or download it.

Get notified about important updates and new features (no more than one email per month).