This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Basic implementation of methods needed to receive swiped credit card data with javascript. | |
* | |
* NOTE: PCI compliance specifies that card data must never be stored in an unencrypted manner, and | |
* only certain pieces of card data can be stored persistently. Ensure that output logging is NOT | |
* stored persistently when using this file, as it contains console.log messages that are intended | |
* to educate the user, and these messages contain data that may compromise your PCI compliance posture. | |
* | |
* If you choose to use any of this code with real credit card data, it is your responsibility | |
* to remove all log statements, output, or other code that may serve to persist offending information. |