dsheroh has asked for the wisdom of the Perl Monks concerning the following question:

Has anyone dealt with credit card processing using Element Express and, if so, can you point me to any existing modules or sample code so that I don't have to reinvent it from the ground up? I'm coming up blank on CPAN and their documentation, while quite extensive, also appears to be rather less than useful.

Replies are listed 'Best First'.
Re: Element Express credit card processing
by proceng (Scribe) on Dec 13, 2007 at 15:53 UTC
    Go to the Element Express developer site http://www.elementps.com/developers/ and look at their API's.
      The "Express Interface Specification" linked from that page is the document which I previously referred to as "rather less than useful". As in "it only provides a single sample of credit card processing (on page 134), which just instantiates a bunch of classes from an unspecified C# library and then has them do all the work". Or perhaps the ElementExpress.* classes are built in to the C# core, so there isn't a library to identify. I'm not familiar enough with C# to say. But they're definitely not in the Perl core, so an example of using them does me no good whatsoever.

      Now, yes, I expect that I probably can work something up which directly generates a lump of XML to submit based on their lists of "input fields" and extracts the response from the returned XML based on the corresponding lists of "output fields", but that's precisely the wheel I'd like to avoid reinventing. Take a look at the Business::PayPal modules for an idea of what I'd hoped to find - a set of Perl classes which I can instantiate and then have them do all the work.

      I had downloaded the interface specification from the Element Express web site and then, in my dev environment, I just added a web reference to their test URL defined in that spec. From that point, I was actually able to copy and paste the sample code they had in the spec to connect to them.
        esper, Just out of curiosity what are you trying to integrate to? We have a system that will do all of the integration for you if you are trying to integrate credit card processing to a certain software. We have developed everything so we plug it in to whatever you need to integrate to...very simple call me at 480-456-6225 ext. 100