Monthly Archives: July 2015

InstaMojo Integration for Namaste! LMS

This plugin will let users from India who have the Intelligence module for Namaste! LMS to sell access to courses and classes via the Instamojo payment service.

The plugin requires Namaste! LMS min. version 1.6.2. If you use PRO, the min. compatible version is 1.1.8.

Download namaste-instamojo v. 1.1 here (18 KB)

From version 1.0 the bridge also works with the Namaste! PRO shopping cart.

How To Use It

Install the plugin and activate it. A new menu item will appear under your Namaste! LMS menu. The item is called “Instamojo integration”:

Before you can proceed you need the following:

  • Your API key and Auth token. Once you have an Instamojo account you can obtain these from the Developers section.
  • A dynamic payment link. The link must have a fixed price and “Pay what you want” options selected.
  • The link must also have two custom fields added in the Advanced Settings section in your Instamojo link management page. One of the fields should be called item_id and the other field should be item_type.
  • It needs to have “Custom redirection URL” attribute also set up. You can see the URL in your “Instamojo Integration” page in Namaste! LMS.

Once all this is done, ensure a couple more things:

1. You must enter the field identifiers of the custom fields in the Instamojo Integration page. The field indentifiers are visible in the “Custom fields” section of the Instamojo link management page for the given link. You need to mouse over the field names to see the identifiers.

2. You have to enter the following code inside your “Other payment instructions” box in Namaste! LMS Settings page (exactly as you see, just copy and paste)

[namastemojo-button amount="{{amount}}" item_id="{{course-id}}" item_type="{{item-type}}"]

This will generate a payment link on your paid quizzes. It can work along with all other payment methods. The payment link has class “namastemojo-button” so feel free to style it.

Using Question Difficulty Levels

From version the WordPress quiz plugin WatuPRO adds a new important feature: question difficulty levels.

What Does It Do?

There are several reasons to use question difficulty levels in your quiz system:

  • To limit which difficulty levels are shown in a given quiz. This can be useful if you want to try how users perform on the quiz depending on how difficult questions are shown. Alternatively you can use one quiz as question bank and show questions of different difficulty levels in different quizzes.
  • To limit what kind of questions do users access. An option lets you manually give access to certain difficulty levels to every user from the Edit user page.
  • To let users unlock difficulty levels automatically based on their performance. You can do this by defining unlock criteria as explained below.

How To Use It

To create some difficulty levels go to the WatuPRO Difficulty Levels page and write them one per line:


Once saved, you’ll get the following new options:

  • A drop-down selector in the Edit Quiz page
  • A multi-select drop-down menu in the Edit User page (from your main WP Users page):

When you select “Apply difficulty level restrictions per user account.” checkbox on the Difficulty Levels page you’ll also get options to setup default difficulty levels for new user accounts:


And the options to create unlock criteria will also appear. Here is example of automatic unlock criteria:


This means that for each difficulty level you can add criteria for automatic unlocking. When user completes a quiz, their points and correct answers are calculated. If criteria are satisfied a new question difficulty level will be unlocked and the user will be notified about this by flash message on the “Final screeen” on the quiz they just completed.

The “Unlock log” in the admin “Difficulty levels” page will let you know who and when has unlocked a new difficulty level.