Same for me, I didn't know how to create a payment processor, so I took getpaid.authorizenet as a model and I create getpaid.paymentech. It is not complicated to implement and you can follow any of this two payment processor as a model.
Basically you need to follow the same folder structure : getpaid.myprocessor You will have to create your own adapter and implement a method for "authorize", "capture" and "refund". Then plonegetpaid is calling the "process" method when a person is making a payment on the site. Hope this help Lucie -- S i x F e e t U p , I n c . | http://www.sixfeetup.com Phone: +1 (317) 861-5948 x605 ANNOUNCING the first Plone Immersive Training Experience | Sept. 10-11-12, 2009 http://www.sixfeetup.com/immerse On Thu, Jan 15, 2009 at 12:02 PM, larubbio <[email protected]> wrote: > > I'm in the process of writing a processor for Paypal's PayflowPro > product, so I can tell you a little about what I'm doing. I also > wasn't able to find a howto (perhaps I should write one when I'm > done), so I just found a processor that was similar to mine and looked > over it's code. I then copied it to a new directory and used it as a > template. I would suggest starting there and then when you have more > specific questions ask again. I don't have my code in front of me > right now (it's on a work computer) so I'm sorry I can't give you > anything more specific. > > At a very high level I remember I had to create two new interfaces and > register them in my configure.zcml. These had to subclass some > getpaid interfaces (IPaymentProcessor and IPaymentProcessorOptions I > think are the names) One specified the config options for my > processor, the other was my processor. Defining and registering those > allows getpaid to display your processor in it's config screen (and to > call it later when needed). I then had to implement my processors > class. For that there are three methods, authorize, charge and > refund. Getpaid will call those when users actions dictate it. > Within getpaid.core there are some predefined success and failure > return codes, but I'm just at the debugging stage, so I'm not clear on > this part yet. So hopefully that is enough to get you started, if not > post another question and hopefully I'll be further along, or on my > computer with my code. > > -Rob > > On Jan 15, 1:39 am, hannesc <[email protected]> wrote: >> Hey guys. I just got my hands on GetPaid, and so far it looks like a >> stunning product. It works really well. I do however need to set up a >> custom external payment processor (VCS South Africa). I can't seem to >> find any howtos for this. Does anyone perhaps know where I can look, >> or can someone perhaps help. I'd really appreciate some freedback :) > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
