WordPress Questions and Answers + Payments Add-on (CMAP) - Use Case - Creating Forum With Paid Subscriptions For Posting Questions and Answers


Use Case – Creating Forum With Paid Subscriptions For Posting Questions and Answers

Back to User Guides

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


Introduction

The Answers Payments Add-on allows you to charge users for posting questions and answers on your forum. It can be done in two ways - by one-time charge for publishing question or answer or by paying for a subscription.

Use Case Front-End

Q&A Subscription:

Q&A Subscription - WordPress Q and A Plugin
Q&A Subscription
Q&A Subscription - Discussion Forum Plugin for WordPress
Q&A Subscription

Questions Subscription:

Questions Subscription - WordPress Question and Answer Plugin
Questions Subscription

Answers Subscription:

Answers Subscription - WordPress Forum Plugin
Answers Subscription

Use Case Assumptions

In this example use case guide we will consider how to charge users for posting questions and answers on WordPress discussion forum using subscription plans.

We assume that you have already installed the WordPress Questions and Answers and Answers Payments Add-On.

It follows:

Installing the Plugin

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

CreativeMinds Customer Account Dashboard - Downloads tab
CreativeMinds Customer Account Dashboard
  • Download the plugin 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.

Learn more: Getting Started - Plugin Overview


Installing Payment Plugin (EDD or WooCommerce)

You must choose between either Easy Digital Downloads or WooCommerce.

EDD or WooCommerce? No Difference For The Plugin

As far as Answers Payments add-on is concerned, there is no difference between using either EDD or WooCommerce. 

Both are free and provide free and paid add-ons.

We recommend researching about each to find out what's better for your use case. If you already use one of them, it's better to keep using it.

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

Installing WordPress payment plugin - WordPress Discussion Forum
Installing WordPress payment plugin

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

Installing Easy Digital Downloads on WordPress - WordPress Q and A Plugin
Installing EDD on WordPress

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

Quick Recap

We recommend you first to get to know, how to work with the base plugin and how to configure it. If you haven't done it yet, please check this use case guide:

Also, if you want to know more about how to charge users for publishing each question or answer, then check this use case guide:

Choosing Between Payment Providers

First thing we need to do is to choose the payment provider. Navigate to Admin Dashboard → CM Answers Pro → Settings → Payments tab. Under the General section you can find the following options:

Choosing payment plugin - Discussion Forum Plugin for WordPress
Choosing payment plugin
  • Payment Provider - Choose a payment provider between Easy Digital Downloads or WooCommerce. Note: only active payment plugins will be listed.
  • Autocomplete WooCommerce Order - Enable this option if you want to automatically approve WooCommerce orders, in case if you use WooCommerce as a payment provider.
  • Enable CRON for checking user subscription every 4 hours - Enable this option to automatically check statuses of user subscriptions.

Then click the button Update below the settings to save the changes.

'Update' button - WordPress Questions and Answers
'Update' button

Subscriptions

Now we can configure our subscription plans. The plugin has 3 types of subscriptions:

Subscription plans settings - WordPress Question and Answer Plugin
Subscription plans settings
  • Q&A Subscription - Paying for this subscription allows users to ask questions and post answers on the forum for certain period of time. This type of subscription can not be used together with Question Subscription or Answers Subscription.
  • Question Subscription - Paying for this subscription allows users to ask questions for certain period of time. This type of subscription can be used together with Answer Subscription and can not be used together with Q&A Subscription.
  • Answers Subscription - Paying for this subscription allows users to post answers for certain period of time. This type of subscription can be used together with Question Subscription and can not be used together with Q&A Subscription.

TIP

Each type of the subscription can be used together with one-time charges for posting questions or answers, giving your users a choice if they want to pay separately for posting each question or answer, or they want to buy a subscription. Learn more about one-time charges in this use case guide: WordPress Questions and Answers + Payments Add-on (CMAP) - Use Case - Creating Forum That Charges For Posting Questions and Answers

One-time charges for posting questions and answers on the forum - WordPress Forum Plugin
One-time charges for posting questions and answers on the forum

Example of using together the Q&A Subscription and one-time charge for asking questions:

Example of using together the Q&A Subscription and one-time charge for asking questions - WordPress Discussion Forum
Example of using together the Q&A Subscription and one-time charge for asking questions

Now let's consider each subscription type more detailed.

Q&A Subscription

Under the Q&A subscription section you can configure the subscription which allows users to post questions and answers on the forum for a certain period of time. The options are:

Q&A subscription settings - WordPress Q and A Plugin
Q&A subscription settings
  • Enable unified subscription for Questions and Answers - Turn on this option if you want users to pay for a subscription to be able to post questions and answers.
  • Set period for Answer and Question Subscriptions (in months) - Set the amount of months that the subscription will work after the payment.
  • Enable sending email about expired subscription - Turn on this option if you want to notify the user when his subscription is expired and he needs to pay for the subscription again in order to continue posting questions and answers.
  • Email subject / content about an expired subscription - These 2 fields allow you to customize the subject and body of the email notification which will be sent to the user after the subscription expiration. You can use the shortcode [username] inside the email body, which will be replaced by the actual user name of a receiver.
  • EDD / WooCommerce product - Choose the field related to the payment system that you have chosen previously and select here a product to define the price of the subscription. You need to create a product in advance. Both payment systems work similar, let's choose an EDD product for our example.

TIP

Learn more about how to create a product in Easy Digital Download and WooCommerce:

Have a note that the subscription payment is not recurring. It means that every time the subscription is expired, the user has to manually purchase it again to continue posting questions and answers.

After you finished configuring the Q&A subscription, don't forget to save the changes by clicking the button Update below the settings.

'Update' button - Discussion Forum Plugin for WordPress
'Update' button

Now let's see the result on the front-end.

Front-end Result

When the user wants to post a question or answer on the forum, he will be asked to get a subscription first:

Q&A Subscription - WordPress Questions and Answers
Q&A Subscription
Q&A Subscription - WordPress Question and Answer Plugin
Q&A Subscription

After the user clicks the button Subscribe, he will be redirected to the checkout page or cart. In our case it's a checkout page provided by EDD:

Checkout page - WordPress Forum Plugin
Checkout page

And after purchasing the user can see the confirmation information. There's a button Go back which allows to get back to the forum:

Confirmation page - WordPress Discussion Forum
Confirmation page

Now the user is able to post questions and answers:

Posting a question when the Q&A subscription is purchased - WordPress Q and A Plugin
Posting a question when the Q&A subscription is purchased
Posting an answer when the Q&A subscription is purchased - Discussion Forum Plugin for WordPress
Posting an answer when the Q&A subscription is purchased

Example of the email notification when the subscription is expired:

Email notification when the Q&A subscription is expired - WordPress Questions and Answers
Email notification when the Q&A subscription is expired

Question Subscription

Now let's consider a Question Subscription. Have a note that the Q&A subscription must be disabled, as it overrides Question or Answers subscriptions. Under the Question subscription section you can configure the subscription which allows users to post questions on the forum for a certain period of time. The options are identical to the previous case:

Question subscription settings - WordPress Question and Answer Plugin
Question subscription settings
  • Enable subscription for Questions - Turn on this option if you want users to pay for a subscription to be able to post questions.
  • Set period for Question Subscription (in months) - Set the amount of months that the subscription will work after the payment.
  • Enable sending emails about an expired subscription - Turn on this option if you want to notify the user when his subscription is expired and he needs to pay for the subscription again in order to continue posting questions.
  • Email subject / content about an expired subscription - These 2 fields allow you to customize the subject and body of the email notification which will be sent to the user after the subscription expiration. You can use the shortcode [username] inside the email body, which will be replaced by the actual user name of a reciever.
  • EDD / WooCommerce product - Choose the field related to the payment system that you have chosen previously and select here a product to define the price of the subscription. You need to create a product in advance. Both payment systems work similar, let's choose an EDD product for our example.

Have a note that the subscription payment is not recurring. It means that every time the subscription is expired, the user has to manually purchase it again to continue posting questions.

After you finished configuring the subscription, don't forget to save the changes by clicking the button Update below the settings.

'Update' button - WordPress Forum Plugin
'Update' button

Now let's see the result on the front-end.

Front-end Result

When the user wants to post a question, he will be asked to get a subscription first. The process of purchasing the subscription and result is similar to the previous case - after the purchase, the user will be able to post questions.

Questions subscription - WordPress Discussion Forum
Questions Subscription

Example of the email notification when the subscription is expired:

Email notification when the Questions subscription is expired - WordPress Q and A Plugin
Email notification when the Questions subscription is expired

Answer Subscription

Now let's consider an Answers Subscription. Have a note that the Q&A subscription must be disabled, as it overrides Question or Answers subscriptions. Under the Answers subscription section you can configure the subscription which allows users to post answers for a certain period of time. The options are identical to previous cases:

Answers subscription settings - Discussion Forum Plugin for WordPress
Answers subscription settings
  • Enable subscription for Answers - Turn on this option if you want users to pay for a subscription to be able to post answers.
  • Set period for Answer Subscription (in months) - Set the amount of months that the subscription will work after the payment.
  • Enable sending emails about an expired subscription - Turn on this option if you want to notify the user when his subscription is expired and he needs to pay for the subscription again in order to continue posting answers.
  • Email subject / content about an expired subscription - These 2 fields allow you to customize the subject and body of the email notification which will be sent to the user after the subscription expiration. You can use the shortcode [username] inside the email body, which will be replaced by the actual user name of a reciever.
  • EDD / WooCommerce product - Choose the field related to the payment system that you have chosen previously and select here a product to define the price of the subscription. You need to create a product in advance. Both payment systems work similar, let's choose an EDD product for our example.

Have a note that the subscription payment is not recurring. It means that every time the subscription is expired, the user has to manually purchase it again to continue posting answers.

After you finished configuring the subscription, don't forget to save the changes by clicking the button Update below the settings.

'Update' button - WordPress Questions and Answers
'Update' button

Now let's see the result on the front-end.

Front-end Result

When the user wants to post an answer, he will be asked to get a subscription first. The process of purchasing the subscription and result is the same as in previous cases - after the purchase, the user will be able to post answers.

Answers subscription - WordPress Question and Answer Plugin
Answers Subscription

Example of the email notification when the subscription is expired:

Email notification when the Answers subscription is expired - WordPress Forum Plugin
Email notification when the Answers subscription is expired

Monitor Subscriptions

The plugin allows you to track and manage existing subscriptions. To do this, navigate to Admin Dashboard → CM Answers Pro → Subscriptions.

Navigation to the Subscriptions dashboard - WordPress Discussion Forum
Navigation to the Subscriptions dashboard

There you will find a table with all info:

Dashboard for managing subscriptions - WordPress Q and A Plugin
Dashboard for managing subscriptions

The table contains the following information about each subscription:

  • ID
  • User
  • Price
  • Status
  • Date Create
  • Date Edit
  • Date Expired

You can click on any user to see his profile and you can also Cancel or Delete any subscription by clicking relevant buttons next to the needed item.

Translating Front-end Labels

You can translate all labels and buttons that appear on the front-end. To do this, navigate to Admin Dashboard → CM Answers Pro → Settings → Labels tab.

Navigation to the labels settings - Discussion Forum Plugin for WordPress
Navigation to the labels settings

All labels related to the payment process can be found under the section Payments.

Labels related to payments - WordPress Questions and Answers
Labels related to payments

End Result

Following instructions found in the plugin and guides, you should be able to charge users for posting questions and answers on your forum using subscription plans.

Use Case Front-End

Q&A Subscription:

Q&A Subscription - WordPress Question and Answer Plugin
Q&A Subscription
Q&A Subscription - WordPress Forum Plugin
Q&A Subscription

Questions Subscription:

Questions Subscription - WordPress Discussion Forum
Questions Subscription

Answers Subscription:

Answers Subscription - WordPress Q and A Plugin
Answers Subscription

More information about the WordPress Questions and Answers 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.