Premium Content For LearnDash

The Premium Content For LearnDash add-on allows you to sell individual LearnDash lessons and topics. The add-on supports WooCommerce and PayPal as payment gateways.

Installation #

  • Install and activate the LearnDash LMS plugin.
  • Install and activate the WooCommerce plugin.
  • Install and activate the Premium Content For LearnDash Addon.
  • You will see a new sub-menu titled “Pay For Lesson & Topic” under the LearnDash LMS menu on the WP Dashboard.
wpinnovators product premium content for learndash main menu image

License Configuration #

Go to the License Settings tab to add and activate the product’s License Key. The License Key can be found in the email you received when you purchased the add-on. Add your license key in the corresponding field and click on Activate.

wpinnovators product premium content for learndash licensing image

General Settings #

Before you continue to configure this add-on, make sure your PayPal business account is configured correctly with LearnDash LMS. To do this, follow LearnDash LMS’s official documentation on PayPal settings.

Once your PayPal account is configured, navigate to LearnDash LMS > Premium Content For LearnDash > General Settings to configure the setting options for this add-on.

wpinnovators product premium content for learndash general settings image
  • Payment Method:
  1. Select LearnDash PayPal if you want to use LearnDash PayPal’s payment gateway.
  2. Select WooCommerce if you want to accept payments through WooCommerce Checkouts using all the payment gateways configured with WooCommerce.
  • Allow Selling Lesson:

If this option is enabled, lesson access will be restricted and available for purchase. A payment button will be displayed on the front end.

  • Allow Selling Topic:

If this option is enabled, topic access will be restricted and available for purchase. A payment button will be displayed on the front end.

Lesson Settings #

Go to the Lesson Settings tab from the settings page to view the lesson settings options for the add-on.

  • Select Courses:

Here you can select the courses for which you want to accept payments for lessons. 

  • Select Lessons:

To accept payments for a lesson, select the specific lessons you want to sell in this field.

  • Price(s) for selected Lessons:

Here you can configure the price you will charge for each lesson.

wpinnovators product premium content for learndash lesson settings image

Note: Configuring payments for lesson access will automatically generate a WooCommerce product linked with the respective lesson access.

wpinnovators product premium content for learndash woocommerce product 01 image

Frontend #

wpinnovators product premium content for learndash paid lesson on frontend image

Topic Settings #

Go to the Topic Settings tab from the settings page to view the topic settings options for the add-on.

  • Select Courses:

Here you can select the courses for which you want to accept payments for topics. 

  • Select Topics:

To accept payments for a topic, select the specific topic you want to sell in this field.

  • Price(s) for selected Topic:

Here you can configure the price you will charge for each topic.

wpinnovators product premium content for learndash topic settings image

Note: Configuring payments for topic downloads will automatically generate a WooCommerce product linked with the respective topic download access.

wpinnovators product premium content for learndash woocommerce product 02 image

Frontend #

wpinnovators product premium content for learndash paid topic on frontend image

PayPal Settings #

In this tab, you can configure the PayPal settings required to manage payments.

Identity Token #

Here you can insert the Identity Token for your PayPal account.

wpinnovators product premium content for learndash paypal settings image

To get your PayPal Identity Token, follow these steps: 

  • Log into your PayPal Business account.
  • Navigate to Account Settings > Website Payments from the top-right icon.
  • Click on Update in front of the Website Preferences.
wpinnovators product premium content for learndash paypal account settings website payments website preferences image
  • Turn on the auto-return to enable PDT (Payment data transfer) and enter your site’s URL on which you want your student to redirect after purchasing the lesson or topic.
wpinnovators product premium content for learndash paypal auto return image
  • Turn On the Payment Data Transfer.
wpinnovators product premium content for learndash paypal payment data transfer image
  • Pressing the save button in the one step above will display the identity token here.
wpinnovators product premium content for learndash paypal auto return and identity token image
  • Set up the rest of the options as per your will.
  • Copy the Identity token to use it further.

Payments #

The Payments tab will contain the transaction history of all your lessons and topics sales.

wpinnovators product premium content for learndash payments image

Note: If the payment status is not updated, you can simply hover over the transaction and click on the “Verify Payment” link to refresh the status.

FAQ’s #

Does the add-on support any payment gateways other than PayPal?

Yes, other than PayPal, WooCommerce is supported.

The Payment tab on the Setting page is not showing the transaction records.

Make sure you have correctly configured PayPal’s identity token, as described in the official documentation.

If I have purchased Lesson access, do students have to repurchase it to retake the lesson?

No, students don’t have to purchase access again. They can revise the lesson multiple times with a single payment.

It is possible to purchase a LearnDash lesson and its relevant topic at the same time through the WooCommerce store? 

Yes, if the LearnDash course is configured to be sold as a WooCommerce product within a WooCommerce shop, the user can buy the lesson and corresponding topic together.

Will the “Payment” tab within the add-on settings list payments made through both LearnDash’s PayPal and the WooCommerce payment gateways?

No, the add-on will only list payments made through LearnDash’s PayPal, whereas the payments handled through WooCommerce gateways will be tracked in the “orders” sub-menu of the WooCommerce section on the WordPress dashboard.

Is access to all of a Lesson’s topics automatically granted when a Lesson is purchased or do topics have to be purchased additionally to the lesson?

If you set the payment only for a lesson then access to all the lesson’s topics will automatically be granted once you purchased the lesson. But, if you set a separate payment for both lessons and their topics then you have to purchase them separately.

Changelogs #

1.0.3

  • Fix: Fixed issue of too many check license requests.

1.0.2

  • Fix: Fixed conflict with ACF plugin.

1.0.1

  • Fix: Fixed issue of WooCommerce cart quantity now working.

1.0.0

  • Initial release.
What are your feelings
Updated on December 16, 2024