1. Home
  2. Docs
  3. LearnDash Addons
  4. LearnDash Pay For Quiz/Certificate

LearnDash Pay For Quiz/Certificate

The LearnDash Pay for Quiz/Certificate allows you to sell LearnDash quizzes, quiz certificates, and course certificates. You can offer free quiz attempts for your students to try before purchasing quiz access. Payments can be processed swiftly and securely through PayPal or through any of WooCommerce’s payment gateways.

Table of Content

  1. Installation
  2. Pay For Quiz/Certificate
  3. Quiz Settings
  4. Certificate Settings
  5. PayPal Settings
  6. Payments
  7. FAQ
  8. Changelog

The LearnDash Pay For Quiz/Certificate add-on allows you to sell LearnDash quizzes, quiz certificates, and course certificates. You can also offer students free tries for quizzes before they purchase quiz access. 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 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. 
LearnDash Pay For Quiz & Certificate – Main Menu

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.

LearnDash Pay For Quiz & Certificate – License

General Settings:

Go to the General Settings tab from the settings page to view the general settings.

  • 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 Quiz:

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

  • Allow Selling Certificate:

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

  • Allow Free Quiz Attempts:

Specify the number of free tries you want to offer students before they purchase quiz access.

LearnDash Pay For Quiz & Certificate – General Settings

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. 

LearnDash Pay For Quiz & Certificate – Select Course Certificates & Price for Selected Certificates

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

LearnDash Pay For Quiz & Certificate – WooCommerce Product Linked With Quiz

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. 

LearnDash Pay For Quiz & Certificate – Select Course Certificates & Price for Selected Certificates

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

LearnDash Pay For Quiz & Certificate – WooCommerce Product Linked With Certificates

Frontend:

Quiz:

LearnDash Pay For Quiz & Certificate – Purchase the Quiz Access

Course Certificate:

LearnDash Pay For Quiz & Certificate – Purchase the Certificates Access on the Course Page

Quiz Certificate:

LearnDash Pay For Quiz & Certificate – Purchase the Quiz Certificates Access

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.
LearnDash Pay For Quiz & Certificate – Identity Token

To get your PayPal’s 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.
LearnDash Pay For Quiz & Certificate – 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.
LearnDash Pay For Quiz & Certificate – Auto Return
  • Turn On the Payment Data Transfer.
LearnDash Pay For Quiz & Certificate – Payment Data Transfer
  • Pressing the save button in the one-step above will display the identity token here.
LearnDash Pay For Quiz & Certificate – Find Identity Token Key
  • 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.

LearnDash Pay For Quiz & Certificate – Payments

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:

If I have purchased quiz access, do I have to repurchase it to reattempt the quiz?

No, you don’t have to purchase the access again. You can retake the quiz multiple times with a single payment, depending on the characteristics of the quiz.

If I have purchased a course Certificate, do I have to repurchase it when I want to download it again?

No, you just have to purchase the access once after completing the course. You can download the certificate any number of times, as long as the course continues to be offered on the website.

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

Yes, any payment gateway supported and configured with 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.

Can a  certificate only be bought once a student completes the course?

No, the student can pay for their LearnDash certificate from the WooCommerce shop before they begin progress on the course. However, they will not have access to the certificate until they complete the course / pass the quiz. 

It is possible to purchase a LearnDash course and its relevant course certificate 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 indeed buy the course and it’s certificate together. Ideally saving the hassle of purchasing the certificate access once the buyer completes the course & providing an extra incentive to reach completion.

Is it necessary to provide free quiz attempts before selling the quiz as a paid product?

No, by entering “0” in the “Allow Free Quiz Attempts” field, you can turn off the free quiz attempts option only allowing access to a quiz after payment.

Will the “Payment” tab within the add-on’s 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.

Changelog:

1.1.12

  • Fix: Fixed the issue of more than 6 quiz not adding on quiz settings.

1.1.11

  • Fix: Made Quiz and Certificate settings Ajax based repeater field.
  • Update: Updated the UI.

1.1.10

  • Fix: Added the strings that were no translating before.

1.1.9

  • Fix: Fixed Quiz free attempts no reset issue.

1.1.8

  • Fix: Fixed save WooCommerce product type issue.

1.1.7

  • Fixed item is already in the cart issue.

1.1.6

  • Compatibility with the LearnDash Certificate Verify and Share plugin is added.

1.1.5

  • Fixed Quiz retries issue.
  • Updated License handling and directory.

1.1.4

  • Fixed PayPal payment issue

1.1.3

  • Fixed WooCommerce product type issue

1.1.2

  • Fixed multilingual translation support

1.1.1

  • Fixed plugin header information
  • Fixed WooCommerce class check
  • Fixed strings to translation magic functions
  • Fixed warning/notices
  • Fixed spelling mistakes

1.1.0

  • Support WooCommerce integrated with any payment method.
  • Dynamically Create/Update/Delete WooCommerce products from the admin interface.
  • Dynamic purchase button for LD PayPal & WooCommerce Adds To Cart.
  • Ability to set a limit for quiz attempts before it will ask for the payment.

1.0

  • Initial release

How can we help?