Beautiful, thank you so much. That helped me out a lot :D 2009/2/11 Rob LaRubbio <[email protected]>
> Ok, on my first pass I put that tarball into my <root>/src dir and added > the following entries to my buildout config: > > [buildout] > > develop = > .... > src/getpaid.vcs > > [instance] > > eggs = > .... > getpaid.vcs > > zcml = > .... > getpaid.vcs > > I then ran ./bin/buildout, but at this point I got a python error: > > ZopeXMLConfigurationError: File > "/home/rob/projects/onenw/VDA/parts/instance/etc/package-includes/003-getpaid.vcs-configure.zcml", > line 1.0-1.55 > ZopeXMLConfigurationError: File > "/home/rob/projects/onenw/VDA/src/getpaid.vcs/src/getpaid/vcs/configure.zcml", > line 15.3-15.33 > ZopeXMLConfigurationError: File > "/home/rob/projects/onenw/VDA/src/getpaid.vcs/src/getpaid/vcs/browser/configure.zcml", > line 12.2-18.7 > NameError: name 'ValidatePaymentParameters' is not defined > > > /home/rob/projects/onenw/VDA/src/getpaid.vcs/src/getpaid/vcs/browser/postProcess.py(26)?() > -> class OgonePostProcessCancelled(BrowserView, ValidatePaymentParameters): > > So at this point it is getting picked up, but some code needs to be cleaned > up. I think it's left over from the ogone processor since the method name > is OgonePostProcessCancelled. I removed the subclassing of > ValidatePaymentParameters and changed the method name to > VcsPostProcessCancelled (Which matches the referenced class in > browser/configure.zcml) At this point my plone instance starts up. And if > I go to 'Site Setup' and then click on GetPaid in the add on configuration > section I see VCS in the drop down of available processors. (Just a note if > you haven't yet installed GetPaid in the ZMI portal_quickinstaller you will > need to do that first) > > Sorry it's so wordy, but this should get you up and running. > > -Rob > > > > On Tue, Feb 10, 2009 at 7:58 PM, hannesc <[email protected]> wrote: > >> >> Sorry, here's the right address: >> http://www.opennetworks.co.za/getpaid.vcs.tar.gz/ >> >> On Feb 11, 5:56 am, hannesc <[email protected]> wrote: >> > @Rob >> > >> > I have uploaded the code for your perusal to: getpaid- >> > [email protected] >> > >> > On Feb 10, 7:04 pm, Rob LaRubbio <[email protected]> wrote: >> > >> > > Is the code/config up somewhere I can take a look? That would help a >> lot. >> > > I know I ran into problems similar to this with the payflowpro >> processor >> > > when I missed a couple of steps. I also had this problem at the end >> since >> > > my processor wasn't in the getpaid recipe so I had to manually add the >> egg >> > > instead of using addPackages in the recipe. >> > >> > > -Rob >> > >> > > On Mon, Feb 9, 2009 at 11:21 PM, hannesc <[email protected]> wrote: >> > >> > > > Recently I started the development of a payment processor for VCS, a >> > > > South African company. I asked around for help, and it was suggested >> > > > that I use one of the other payment processors, and just edit that >> > > > according to my needs. >> > >> > > > As VCS requires the user to be redirected to an external page, I >> found >> > > > the Ogone processor to be the closest to what I need, and thus >> started >> > > > working on that. I edited where needed (eg. Ogone uses GET, VCS uses >> > > > POST), and once done, I created the egg. I included the egg into my >> > > > buildout, but with no happiness. For some reason, GetPaid is not >> > > > picking up the new Payment Processor. >> > >> > > > Can anyone perhaps point me to some documentation that covers >> Payment >> > > > Processor Development? I mean perhaps if I could get to that, I can >> > > > figure out what I am doing wrong. >> > >> > > > Thanks guys :) >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "getpaid-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/getpaid-dev?hl=en -~----------~----~----~----~------~----~------~--~---
