Processing a Credit Card Swipe (USB Card Reader) using c#

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,378
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 21, 2011

http://www.markhagan.me/Samples/CreditCardSwipeMagneticStripProcessing

I show you how to use a cheap, USB magnetic card reader to parse out credit card data to process using ASP.Net C#. I will likely do a follow-up video which actually connects with Stripe.com and does the process. If you found this helpful, leave me a comment.

Woops! Spell "caret" incorrect!

Link to this comment:

Share to:

Uploader Comments (markhaganme)

  • Hello, Thanks for the Video it halped me alot !!,

    iI would definitely be interested in how actualy getting the strings from the card reader in winform application!

  • @avnerify You should be able to just copy the code that I have and change the field names to match your winform field names.

  • Dude you rock! This was aswesome! You saved me so much time building this slide care reader. Very informative and to the point!

  • @MikeMichellelucas I am glad you liked it! Note that this reader will also work with Medical Insurance cards. Probably not helpful for you, but I had someone message me asking for an example: the code is the same.

  • Just a few moments when the mic whistles or something and it gets really high pitched otherwise I found it interesting and you did a good job of talking all the way through. Thanks.

  • @FlightOfGrey I am glad that you liked it! I will work on the mic issues for the next video.

see all

All Comments (12)

Sign In or Sign Up now to post a comment!
  • How do you decode for the CVV# on the back of the card? This is on asp.net but do I need Visual Studio also? Can I do it on a (VS) only and what version would you recommend? Sorry for all the questions, great video though. Thanks!

  • else if (PercentPresent)  { //%1000000755? string[] CardData = CardReader.Text.Split('%'); txtUserName.Text = FormatCardNumber(CardData[0]);

    Having trouble readying my one number scan from my rewards card

  • @FlightOfGrey I will try to get that video posted on here tomorrow.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more