VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Development Projects, Modifications, Hacks & Tweaks. VM1.1 => Payment Modules => Topic started by: rorym on August 23, 2006, 22:39:24 PM

Title: Bardo - Payment module - Requires return url
Post by: rorym on August 23, 2006, 22:39:24 PM
Hello

Very much a newbie question - so please forgive any obvious stupidity.

I am writing a plugin for the Bardo payment processor. I have managed to follow the ps_authorize example and use that as a very good guide for most of the stuff, but there is one critical difference. Bardo requires that you supply them with a URL to which they will send the transaction result. The script at the nominated URL then proceses the reult.

Now, I can hard code the script at the URL, but I don't like that idea simply as it will be a maintenance nightmare. I would prefer it if the script can access the existing classes / objects of virtuemart. Can anyone give me pointers as to the best way to set up this page? Or, better yet, a pointer to any documentation? I have the developer's guide, which has already been a huge help (thanks!) - is there anything else?

Regards

Rory