Credit Card Payment Processing with ASP.NET

Rick Strahl has published a excellent (and very comprehensive) new article on techniques to perform credit-card payment processing with ASP.NET.  He also includes full source code examples (for both ASP.NET 1.1 and ASP.NET 2.0). You can check it out here.

If you are interested in ecommerce, then you should also check out the ASP.NET 2.0 PayPal-enabled Store Starter Kit that you can download for free from here (it is near the middle of the page).  It provides a really easy way to get an e-commerce site up and running using ASP.NET 2.0, and has PayPal payment integration built-in.

Hope this helps,

Scott

Published Tuesday, April 11, 2006 5:45 PM by ScottGu
Filed under: ,

Comments

# re: Credit Card Payment Processing with ASP.NET

Wednesday, April 12, 2006 2:49 AM by Ares
I like Asp.net2.0

# re: Credit Card Payment Processing with ASP.NET

Wednesday, April 12, 2006 6:07 AM by http://cs.rthand.com/blogs/blog_with_righthand/
PayPal starter kit/TryIt doesn't run very well - it can't open connection to sql server and it shows complete exception information (courtesy of debug=true) :-P

# re: Credit Card Payment Processing with ASP.NET

Wednesday, April 12, 2006 12:09 PM by Casey
The eCommerce website does not seem to work. When I hit TryItLive! I get the following web page - An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

# re: Credit Card Payment Processing with ASP.NET

Thursday, April 13, 2006 1:49 AM by scottgu
Hi Casey,

I think the problem is that you don't have SQL Express installed.

Note that with the error messages, it is possible to allow detailed errors for local requests (but not remote). That might be how it is configured.

Hope this helps,

Scott

# re: Credit Card Payment Processing with ASP.NET

Thursday, April 13, 2006 2:47 AM by Andreas Kraus
I have had the same Problem Casey, but Scott is right, it indeed works on another PC where SQL Express is installed.

# re: Credit Card Payment Processing with ASP.NET

Thursday, April 13, 2006 11:13 AM by Josh
Scott, I think Casey was referring to trying to run it live from the asp.net Web site that you linked to above. It seems to work fine today, but yesterday it was returning the SQL error that Casey mentioned. Perhaps you linking to it created a slashdot effect ;)

# re: Credit Card Payment Processing with ASP.NET

Thursday, April 13, 2006 1:00 PM by adron
I'm working on something in this regard at work. Awesome examples...

It's always funny how some things seem simple until one starts working on them.

# re: Credit Card Payment Processing with ASP.NET

Thursday, April 13, 2006 2:09 PM by Rick
I used this starter kit to setup an ecommerce site for my wife. It's a good base starter kit, but I had to do a lot of work to get it production ready (hence the starter kit moniker). The provider model is heavily used which is great.

# re: Credit Card Payment Processing with ASP.NET

Thursday, April 13, 2006 4:53 PM by Mitch
Wow,looks really nice one.
Thanks, Scott.

# re: Credit Card Payment Processing with ASP.NET

Friday, April 14, 2006 4:50 PM by Rob Conery
Our demo URL was down for a day while we switched servers - many apologies to those who tried to get to it and couldn't.

Indeed the initial version is on the basic side - I invite you all to check out our development site at http://dev.commercestarterkit.org - there are tons of new features, as well as an asserted effort to make things more streamlined.

Rob Conery

# re: Credit Card Payment Processing with ASP.NET

Monday, June 05, 2006 7:39 AM by Nandakumar
Hello all,

         I am new to this Credit card payment system. can anyone explain me in detail about the online credit card payment system.

Thank you,

Nandakumar

# ASP.NET 2.0 Tips, Tricks, Recipes and Gotchas

Tuesday, August 01, 2006 11:55 AM by ScottGu's Blog

This page lists some of the more popular “ASP.NET 2.0 Tips, Tricks, Recipes and Gotchas”

# re: Credit Card Payment Processing with ASP.NET

Wednesday, December 20, 2006 3:12 PM by Andy

Hi Scott,

Thanks for putting the information about how to process credit card using ASP.NET 1.1. It'll really help me in building the shopping cart with the payment gateway integration.

Thanks a ton :)

# re: Credit Card Payment Processing with ASP.NET

Sunday, February 11, 2007 10:28 AM by Tink Tam

Hi all,

I have download the commercestarterkit 2.0 c# version,but when I install the website, it occur a error like the following:

Could not add the CommerceServerKit objects to the selected CSK Database.

Connection String:Server=localhost\SQLEXPRESS;Initial Catalog=csk;Integrated Security=true;

The following error occurred:

failed to convert the string to datetime。 Begin inserting data in CSK_Store_Category - 2007-2-11 15:23:36

I try to install it in windowsxp and windows2003,also occur the same error.

Anyone can tell me how to fix it?

Thanks

My Email: rrrtam@hotmail.com

# foreclosures

Thursday, July 24, 2008 11:32 AM by foreclosures

Howard Schultz, the former owner (who sold the team two years ago) has decided to sue the new owners. His goal; to declare the sale of the team null and void as a means of keeping the team in Seattle- and retuning his validity and helping his reputation