Skip to content

redswimmer/kiosksimple-creditcard-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

The following is an example of how to easily parse credit card data from a magnetic stripe reader using JavaScript and KioskSimple.

This is particularly useful when you want to put your website on a kiosk and automatically populate the credit card fields when the customer swipes their card.

By automatically populating the credit card payment fields you reduce the potential for user error and speed up the checkout process.

The following fields are contained in the track data on most credit cards and can be easily parsed from the credit card data using JavaScript when the customer swipes their credit card.

- Cardholder’s Name
- Card Number
- Expiration Date

The full instructions on how to setup this example can be found on our blog here https://www.kiosksimple.com/blogs/news/how-to-parse-credit-card-data-from-a-magnetic-stripe-reader-using-javascript