authorize.net C# wrappers/library

authorize.net, c#, wrapper

Solution

I use SharpAuthorize.com on a few eCommerce sites. One of which makes around $10K / month...

MinimumCreditCard authNet = new MinimumCreditCard()
    .Login("testdrive")
    .Password("password")
    .TransType(TransType.AUTH_CAPTURE)
    .CardNum(_cardNumField.Text)
    .ExpDate(_cardExpField.Text)
    .CardCode(_cardCodeField.Text)
    .Amount(8.00);

if (authNet.Authorize())
{
    // Money in your pocket!
}

It is noted on the site, but you should use a transaction id instead of the username and password in real code.

Problem

Are there any good libraries or wrappers for Authorize.net? The code samples available from their site seem a little ... raw. I'm looking for an easy to use, object oriented API that I can simply set some properties, and it takes care of all the plumbing code under the hood. I've found a few random blog posts of people offering their code that they've written, but code offered in a blog post doesn't give a high degree of confidence generally that it's been well tested. I mean, we'll consider these if we have to, but we'd prefer something that looks like it's gone through some sort of release/testing cycle ... even if it's just that it has been posted on codeplex or something. Thanks! :-)

Original source

Related problems