LearnDash Pay For Quiz/Certificate - Overview

With this add-on’s support, you can sell your LearnDash quizzes, quiz certificates, and course certificates. The add-on allows you to use Paypal’s payment gateway to accept payments from your students swiftly and securely. 

Installation:

  • Install and activate the LearnDash LMS plugin.
  • Install and activate the WooCommerce plugin.
  • Install and activate the LearnDash Pay For Quiz/Certificate Addon.
  • You will see a new sub-menu titled “Pay for Quiz/Certificate” under the LearnDash LMS menu on the WP Dashboard. 

Pay For Quiz/Certificate:

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 > Pay For Quiz/Certificate to configure the setting options for this add-on. 

License Configuration:

Go to the Licence 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.

General Settings:

Go to the General Settings tab from the settings page to view the general settings options for the add-on.

  • Allow Quiz On WooCommerce:

If this option is enabled, the virtual product type "Quiz" will be available for creating as a product in WooCommerce.

  • Allow Certificate On WooCommerce:

If this option is enabled, the virtual product type "Certificate" will be available for creating as a product in WooCommerce.

  • Allow Selling Quiz:

If this option is enabled, the Quiz access will be restricted by the payment button.

  • Allow Selling Certificate:

If this option is enabled, the Certificate access will be restricted by the payment button.

Quiz Settings:

Go to the Quiz Settings tab from the settings page to view the quiz settings options for the add-on.

  • Select Courses:

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

  • Select Quizzes:

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

  • Price(s) for selected Quizzes:

Here you can configure the price you will charge for each quiz attempt. 

Certificate Settings:

Go to the Certificate Settings tab from the settings page to view the certificate settings options for the add-on.

  • Select Courses:

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

  • Select Certificates:

Here you can add and select the course certificates for which you want to enable the payments.

  • Price(s) for selected Certificates:

Here you can configure the amount that users will pay to obtain course and quiz certificates. 

Frontend:

Quiz: Course Certificate:

Quiz Certificate:

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.

To get your PayPal’s Identity Token, follow these steps: 

  • Log into your PayPal Business account.
  • Navigate to Account Settings > Website Preferences from the top-right icon.
  • Click on Update in front of the Website Preferences.
  • 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 quiz attempt or the certificate.
  • Turn On the Payment Data Transfer.
  • Pressing the save button in the one-step above will display the identity token here.
  • 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 quiz and certificate sales.

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.


Selling LearnDash Quiz/Certificate as a WooCommerce Product:

Before setting up the add-on with WooCommerce, make sure you have correctly configured your PayPal’s business account in the WooCommerce’s settings. To do this, please follow the official guide here.

Selling Quiz as a WooCommerce Product:

Adding a quiz as a WooCommerce product is similar to writing a post in WordPress.

  • Go to WooCommerce > Products > Add Product.
  • Enter a product Title and Description.
  • Go to the Product Data panel and enable the“Virtual” option. 
  • Next, select Quiz from the dropdown menu. 

As a quiz is a virtual product, purchases don’t require shipping.  An order with virtual products won’t calculate shipping costs.

Product data

  •  From the product data meta box, go to the General tab and configure the following options:
  • Price
    • Regular Price – Item’s normal/regular price
    • Sale Price – Item’s discounted price that can then be scheduled for specific date ranges. The sale expires at 11:59 pm of the specified end date
  • Select Quiz

Select the quiz you want to sell from the dropdown menu.

  • Next, go to the Attributes tab. Here, you will see a field where you can add product attributes. Once you have chosen an attribute from the select box, click add and apply the terms attached to that attribute (e.g., Nintendo DS) to the product. You can hide the attribute on the frontend by leaving the Visible checkbox unticked.

Custom attributes can also be applied by choosing a Custom product attribute from the select box. These are added at the product level and won’t be available in layered navigation or other products.

You can find out more at Managing Product Categories, Tags, and Attributes.

  • Next, go to the Advanced section tab. Here you can configure the following options:
  • Purchase note – Enter an optional message to send the customer after they purchase the product.
  • Menu order – Custom ordering position for this item.
  • Enable Reviews – Enable/Disable customer reviews for this item.
  • Next, provide a product short description. Add an excerpt. This typically appears next to product imagery on the listing page, and the long description appears in the Product Description tab.
  • On the Add New Product panel’s right-hand side, there are product categories in which you can place your product, similar to a standard WordPress post. You can also assign product tags in the same way.
  • Now, set catalog visibility option and feature status. In the Publish panel, you can set Catalog Visibility for your product.
  • Shop and search – Visible everywhere, shop pages, category pages, and search results.
  • Shop only – Visible in shop pages and category pages, but not search results.
  • Search only – Visible in search results, but not on the shop page or category pages.
  • Hidden – Only visible on the single product page – not on any other pages.

You can also set whether the product is promoted in product categories, up-sells, related products as a Featured Product.

  • Set the product image to set the quiz product image.

Click Publish.

Selling Course Certificate as a WooCommerce Product:

  • Go to WooCommerce > Products > Add Product.
  • Enter a product Title and Description.
  • Go to the Product Data panel, enable a Virtual checkbox, and select Certificate from the dropdown menu. 

As a certificate is a virtual product, it doesn’t require shipping. An order with virtual products won’t calculate shipping costs.

  •  Go to the Product Data meta box and select the General tab. Here you can configure the following:
  • Price
    • Regular Price – Item’s normal/regular price
    • Sale Price – Item’s discounted price that can then be scheduled for specific date ranges. The sale expires at 11:59 pm on the specified end date.
  • Select the Course Certificate you want to sell from the drop-down menu.
  • Set the rest of the options as desired.
  • Click Publish.

Selling Quiz Certificates as a WooCommerce Product:

  • Go to WooCommerce > Products > Add Product.
  • Enter a product Title and Description.
  • Go to the Product Data panel, enable the Virtual option, and select  Certificate from the dropdown menu. 

As a quiz certificate is a virtual product, it doesn’t require shipping. An order with virtual products won’t calculate shipping costs.

  •  Go to the product data meta box and select the general tab. Here you can configure the following options:
  • Price
    • Regular Price – Item’s normal/regular price
    • Sale Price – Item’s discounted price that can then be scheduled for specific date ranges. The sale expires at 11:59 pm on the specified end date.
  • Select the Quiz Certificate you want to put on sale from the dropdown.
  • Set the rest of the options as desired.
  • Click Publish.