VCS payments/de

From Joomdle
Revision as of 14:28, 27 September 2010 by Antonio (talk | contribs) (Created page with '[http://www.wobble.co.za/ Wobble] has sponsored the development of a Virtuemart patch to allow using VCS Payment Gateway with Joomdle. With it, when a course purchase is made in…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Wobble has sponsored the development of a Virtuemart patch to allow using VCS Payment Gateway with Joomdle.

With it, when a course purchase is made in Virtuemart with the VCS payment method, the user is automatically enrolled in the relevant Moodle courses.

To use it, first install the normal VCS plugin, and make sure it is working correctly for normal products.

Then, download this file and place it in '/administrator/components/com_virtuemart/html/'.

Then, you will need to modify the payment plugin configuration in Virtuemart. In Extra Info section, look for:

<input type="hidden" name="osApprovedUrl" value="<?php $sess->purl(SECUREURL."index.php?page=checkout.vcs&order_id=". $order_id) ?>" />

And change by:

<input type="hidden" name="osApprovedUrl" value="<?php $sess->purl(SECUREURL."index.php?page=checkout.vcs.joomdle&order_id=". $order_id) ?>" />