VCS payments

From Joomdle
Revision as of 16:48, 30 October 2010 by Antonio (talk | contribs) (Protected "VCS payments" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(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) ?>" />