Orange is my favorite color

It’s been in development for quite some time but my CFPAYMENT project, inspired by Ruby’s ActiveMerchant, has gone beta at cf.Objective() with a 0.9 release!

Working with Mark Mazelin over the better part of a year, we’ve created a developer-friendly set of components with a simple API. We’ve made it easy to create new gateways on top of our core and most importantly, we’ve battle-tested this code processing over $1 Million USD using these components.

Whether you are an OO nut or a spaghetti coder, our simple interface makes processing credit cards and e-checks (EFTs) easy like:

<cfset config = {path = "bogus.gateway", username = "user", password = "foo" } />
<cfset core = createObject("component", "cfpayment.api.core").init(config) />
<cfset gateway = core.getGateway() />

<cfset cc = core.createCreditCard() />
<cfset cc.setFirstName("Joe").setLastName("Blow").setAddress("888 Nowhere Lane").setPostalCode("94103") />
<cfset money = core.createMoney(5000) />< !-- $50.00 in cents -->

<cfset response = gateway.purchase(money, creditcard) />

<cfdump var="#response.getParsedResult()#" />

I’ve put more than five years of e-commerce experience into the design and reliability of this library and Mark has helped me make it better every step of the way.

I’ll be at cf.Objective() in Minneapolis through Sunday so please don’t hesitate to come find me and talk shop.

6 Comments

  1. Sana said:

    on May 15, 2009 at 4:59 am

    Its really great work. Keep it up.

  2. Steve Bryant said:

    on May 15, 2009 at 6:06 am

    I used cfpayment on a small cart recently and it was great. I didn’t have to worry with the specifics of that gateway and I love the comfort of knowing I can migrate the same code to a new site with a different gateway without having to rewrite a bunch of code.

    So, what’s new in 0.9?

  3. RobG said:

    on May 15, 2009 at 11:41 am

    This is perfect timing! I have a small cart-like project to do this weekend, so I’m going to try this out.

    Rob

  4. Joseph Lamoree said:

    on May 15, 2009 at 11:48 am

    I’m anxious to give this software a try. Hopefully, I’ll have a chance to hunt you down and chat about it at cf.Objective().

    -joseph

  5. Mike said:

    on May 17, 2009 at 4:35 pm

    People still use ColdFusion?

    I recently wrote a payment solution in PASCAL if anyone is interested…

  6. brian said:

    on May 18, 2009 at 6:32 am

    @Steve – basically some cleanup and documentation. If you were using SVN before, not a ton but we needed to package it up.

    @Joseph – good chatting at cf.o, thanks for the socks! Ping me about payflow pro.

    @Mike – only about 750,000 people still use ColdFusion. It’s in such dire straights that the developer community has only doubled in the past couple of years! It should be dead any day now.

{ RSS feed for comments on this post}