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

9 Comments

  • 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

  • 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)

  • 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

  • I have had the same Problem Casey, but Scott is right, it indeed works on another PC where SQL Express is installed.

  • 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 ;)

  • 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.

  • Wow,looks really nice one.

    Thanks, Scott.

  • 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

  • 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

Comments have been disabled for this content.