[bop-devel] Python gateway module

Ivan Kohler ivan at 420.am
Wed Aug 23 03:39:38 PDT 2006


On Wed, May 17, 2006 at 03:10:56PM -0300, David Pratt wrote:
> Hi. I am interested in developing a generic python package for payment 
> gateways and hoping to learn from you have already done in perl. Do you 
> have a cvs or svn repository that I can browse.

Lots of modules are in my repository at
http://420.am/cgi-bin/viewcvs.cgi/

Many others are available only on CPAN.

Some pie-in-the-sky thoughts: 

It would be really interesting to work towards having a central, 
language-neutral repository that contains descriptions of payment 
gateways - probably something like XML/YAML, even though I'm not a True 
Believer.  Tt would be great to get to the point someday where all that 
needed to be written was a generic "gateway description" and the 
interfaces in Perl, Python, etc. would all then be available.

-- 
_ivan


> I would like to put something together that will work closely with any 
> existing standards for ecommerce and pos systems.
> 
> It appears at the outset that the main purpose is mapping fields from 
> the request to submit a secure parameterized request to the gateway and 
> evaluating the response for codes and feedback. Are you leaving 
> validation up to the app independent of your module?
> 
> The other approach I can think is to create a dynamic module where there 
> is a base object and subclassing the this to provide a payment gateway 
> object with the attributes of the specific gateway. In any case looking 
> for any recommendations or advice you can offer based on your experience.
> 
> Regards,
> David



More information about the bop-devel mailing list