WooCommerce Integration in MoolaMojo

From version 0.6.8 the WordPress virtual currency plugin MoolaMojo supports selling currency packages through WooCommerce. This opens endless possibilities to sell all kind of stuff from all kind of plugins through WooCommerce. For example it becomes easy to sell virtual currency packages that can be then used to purchase access to WatuPRO paid quizzes (especially useful if WatuPRO does not support your payment processor but WooCommerce does).

Here’s what is required to make this work:

  1. WooCommerce and MoolaMojo installed and active
  2. Create some currency packages in MoolaMojo
  3. Create product(s) in WooCommerce for selling the MoolaMojo packages. You need to two things to make this work:
    a) Mark the product as Virtual and Downloadable
    b) Add custom product attribute with name “moolamojo” and value the ID(s) of the package(s) you want to sell. The package IDs are shown on the MoolaMojo Packages page.
  4. If you want to automatically redirect to another page after the WooCommerce order is completed, add another custom attribute called “moolamojo-redirect”. Its value should be the full URL of the page to send the user to.

Here is an example of such setup:

That’s it!

IMPORTANT: The package will be assigned only if the WooCommerce order status is COMPLETED. If the order fails for some reason or you are taking offline payment and approving orders manually, the MoolaMojo currency package will not be purchased until the order status is completed.