Difference between revisions of "VirtueMart"

From Joomdle
Jump to: navigation, search
(Created page with '====Integrating Joomdle with Virtuemart 1.1.4==== <span class="alert">This "feature" is provided as is and no warranties, guarantees or otherwise, expressed or implied, are prov…')
 
(Limitations)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages}}
 
====Integrating Joomdle with Virtuemart 1.1.4====
 
====Integrating Joomdle with Virtuemart 1.1.4====
  
Line 11: Line 12:
 
====Limitations====
 
====Limitations====
  
* Currently Joomdle only supports Paypal (HTML-form based) as a method of payment.
 
 
* Disabling or hiding a course in Moodle does not automatically unpublish the Virtuemart product in Joomla. You should unpublish the course first in Joomla, then disable / hide the course in Moodle.
 
* Disabling or hiding a course in Moodle does not automatically unpublish the Virtuemart product in Joomla. You should unpublish the course first in Joomla, then disable / hide the course in Moodle.
  
Line 27: Line 27:
 
======Configure Virtuemart to sell downloads.======
 
======Configure Virtuemart to sell downloads.======
  
[[Image:r023_vm_int_vm_download_2.jpg]]
+
[[Image:r023_vm_int_vm_download_2.jpg|800px]]
  
 
From Virtuemart's main Configuration choose the Downloads tab. -->Enable downloads.
 
From Virtuemart's main Configuration choose the Downloads tab. -->Enable downloads.
Line 41: Line 41:
 
Enable Paypal (HTML-form based) as a payment method and configure it as you normally would except that you will need to change the "notify-url" in Paypal's Payment Method Form / Configuration Tab / Payment Extra Info.
 
Enable Paypal (HTML-form based) as a payment method and configure it as you normally would except that you will need to change the "notify-url" in Paypal's Payment Method Form / Configuration Tab / Payment Extra Info.
  
[[Image:r023_vm_int_vm_paypal_configure_2.jpg]]
+
[[Image:r023_vm_int_vm_paypal_configure_2.jpg|800px]]
  
 
* Change Notify URL in the Payment Extra Info block. Change:
 
* Change Notify URL in the Payment Extra Info block. Change:
Line 62: Line 62:
 
A new enrol method, called Joomdle, should appear in Courses/Enrolments. Enable it and set it as default.
 
A new enrol method, called Joomdle, should appear in Courses/Enrolments. Enable it and set it as default.
  
[[Image:r023_moodle_enroll_1.jpg]]
+
[[Image:r023_moodle_enroll_1.jpg|800px]]
  
 
Click Edit to configure its options:
 
Click Edit to configure its options:
Line 68: Line 68:
 
* Default cost: The default cost to enroll in courses
 
* Default cost: The default cost to enroll in courses
 
* Currency: Your preferred default currency for courses
 
* Currency: Your preferred default currency for courses
* Enrol message: A message to show to the user if he tries to access the course without having paid.
+
* Enrol message: A message to show to the user if he tries to access the course without having paid. You can include the string BUY_COURSE_URL to show a link the the product page in Virtuemart.
  
 
======Joomla======
 
======Joomla======
Line 86: Line 86:
  
 
<span class="alert">This "feature" is provided as is and no warranties, guarantees or otherwise, expressed or implied, are provided. Joomdle and individuals associated with its development and support shall not be held responsible for any loss of data, reputation, and/or money in any currency whatsoever. It is strongly advised that this "feature" be installed, configured, tested and proven working in a test environment connected to Paypal's Sandbox development environment prior to being implemented in a production site.</span>
 
<span class="alert">This "feature" is provided as is and no warranties, guarantees or otherwise, expressed or implied, are provided. Joomdle and individuals associated with its development and support shall not be held responsible for any loss of data, reputation, and/or money in any currency whatsoever. It is strongly advised that this "feature" be installed, configured, tested and proven working in a test environment connected to Paypal's Sandbox development environment prior to being implemented in a production site.</span>
 +
 +
 +
====Other payment methods====
 +
 +
**[[VCS payments]]
 +
**[[HSBC CPI payments]]
 +
**[[Other payment methods]]

Latest revision as of 11:33, 21 March 2019

Integrating Joomdle with Virtuemart 1.1.4

This "feature" is provided as is and no warranties, guarantees or otherwise, expressed or implied, are provided. Joomdle and individuals associated with its development and support shall not be held responsible for any loss of data, reputation, and/or money in any currency whatsoever. It is strongly advised that this "feature" be installed, configured, tested and proven working in a test environment connected to Paypal's Sandbox development environment prior to being implemented in a production site.

This document applies to Joomdle R0.23 and Virtuemart 1.1.4

This feature is experimental and has not been fully development nor fully tested.

Ensure you have a Paypal Sandbox account setup and configured properly to test your specific environment.

Limitations

  • Disabling or hiding a course in Moodle does not automatically unpublish the Virtuemart product in Joomla. You should unpublish the course first in Joomla, then disable / hide the course in Moodle.

Features

  • Allows webmasters to publish Moodle courses inside a Virtuemart storefront
  • Allows Buyers to purchase a Moodle course using Paypal (HTML-form based) like any other product offered through Virtuemart
  • Automatically enrolls the Buyer in the selected course(s).
  • Sends a "customised" email to the Buyer confirming their purchase / provide instructions on gaining access.

Virtuemart 1.1.4 Configuration

Ensure you have Virtuemart 1.1.4 installed and working properly before you begin. Joomdle has not been tested with earlier versions of Virtuemart.

Configure Virtuemart to sell downloads.

R023 vm int vm download 2.jpg

From Virtuemart's main Configuration choose the Downloads tab. -->Enable downloads.

Ensure you have correct permissions to make changes to the administrator/components/com_virtuemart/virtuemart.cfg.php file.

Create a new Virtuemart Product Category

Under the Virtuemart Product Menu, create a new Virtuemart Product Category to group your Moodle courses. Take note of Product Category's ID, as you will it later to enter into Joomdle Global Parameters configuration.

Enable Paypal

Enable Paypal (HTML-form based) as a payment method and configure it as you normally would except that you will need to change the "notify-url" in Paypal's Payment Method Form / Configuration Tab / Payment Extra Info.

R023 vm int vm paypal configure 2.jpg

  • Change Notify URL in the Payment Extra Info block. Change:
    • "notify_url" => SECUREURL ."administrator/components/com_virtuemart/notify.php",
    • with
    • "notify_url" => SECUREURL ."administrator/components/com_joomdle/paypal_notify.php",

Ensure you have correct permissions to make changes to the administrator/components/com_virtuemart/classes/payment/ps_paypal.cfg.php file.

Joomdle Configuration

Moodle

The package enrol_joomdle.zip contains a new enrolment method for Moodle.

To install, unzip enrol_joomdle.zip into a temp folder and copy the files to the moodle/enrol folder on your web server (you should have a new folder called moodle/enrol/joomdle now).

Enter Moodle as an administrator.

A new enrol method, called Joomdle, should appear in Courses/Enrolments. Enable it and set it as default.

R023 moodle enroll 1.jpg

Click Edit to configure its options:

  • Default cost: The default cost to enroll in courses
  • Currency: Your preferred default currency for courses
  • Enrol message: A message to show to the user if he tries to access the course without having paid. You can include the string BUY_COURSE_URL to show a link the the product page in Virtuemart.
Joomla

To start using Joomdle's Virtuemart integration, enable it in Joomdle Global Configuration (click on the Parameters button in Joomdle Configuration) as shown in the image below.

R023 vm int joomdle config 1.jpg

Enter the Virtuemart Product Category ID for which you wish Moodle's courses to appear. This means you will not need to manually create Virtuemart products.

Moodle courses will automatically be created in Virtuemart and Published.

In addition, you can configure Joomdle to send out an email to the buyer once the payment has been completed successfully.

  • Either enter the Subject and Body of the email you wish to send; or
  • EnterCOURSE_NAME and COURSE_URL for Joomdle to "grab" the values from Moodle.

This "feature" is provided as is and no warranties, guarantees or otherwise, expressed or implied, are provided. Joomdle and individuals associated with its development and support shall not be held responsible for any loss of data, reputation, and/or money in any currency whatsoever. It is strongly advised that this "feature" be installed, configured, tested and proven working in a test environment connected to Paypal's Sandbox development environment prior to being implemented in a production site.


Other payment methods