{"action":"created","issue":{"url":"https://api.github.com/repos/CarlRaymond/jquery.cardswipe/issues/19","repository_url":"https://api.github.com/repos/CarlRaymond/jquery.cardswipe","labels_url":"https://api.github.com/repos/CarlRaymond/jquery.cardswipe/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/CarlRaymond/jquery.cardswipe/issues/19/comments","events_url":"https://api.github.com/repos/CarlRaymond/jquery.cardswipe/issues/19/events","html_url":"https://github.com/CarlRaymond/jquery.cardswipe/issues/19","id":164672825,"node_id":"MDU6SXNzdWUxNjQ2NzI4MjU=","number":19,"title":"AAMVA (Driver's License) Parsing","user":{"login":"rickjedi","id":5541283,"node_id":"MDQ6VXNlcjU1NDEyODM=","avatar_url":"https://avatars3.githubusercontent.com/u/5541283?v=4","gravatar_id":"","url":"https://api.github.com/users/rickjedi","html_url":"https://github.com/rickjedi","followers_url":"https://api.github.com/users/rickjedi/followers","following_url":"https://api.github.com/users/rickjedi/following{/other_user}","gists_url":"https://api.github.com/users/rickjedi/gists{/gist_id}","starred_url":"https://api.github.com/users/rickjedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickjedi/subscriptions","organizations_url":"https://api.github.com/users/rickjedi/orgs","repos_url":"https://api.github.com/users/rickjedi/repos","events_url":"https://api.github.com/users/rickjedi/events{/privacy}","received_events_url":"https://api.github.com/users/rickjedi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-09T15:55:58Z","updated_at":"2018-07-11T23:57:05Z","closed_at":null,"author_association":"NONE","body":"I cannot seem to get the parser to recognize the AAMVA format. There are other plugins that do that, but I'm already using your plugin to parse payment card data so I need a modification that will parse driver's licenses.\n\nHere's the configuration I'm using:\n\n```\n$.cardswipe({\n        firstLineOnly: false,\n        success: cardSwipeComplete,\n        parsers: [aamva, \"generic\"],\n        debug: true,\n        error: errorCallback,\n        prefixCharacter: '%',\n    });\n```\n\nI write to the console whenever any one of the states is entered, but they never fire. In debug mode I get into the PENDING state, since I've changed the prefix from the standard \"%B\" to simply \"%\", but success, start, end, failure, none of those states gets entered.\n\nI have not yet written the aamva parser, so I was hoping you could help. Here's the GIT that another developer published for that purpose: https://github.com/winfinit/aamvajs\n\nHere's the standard for AAMVA (its actually in a table, but all the fields are there in three tracks):\n\nAAMVA Driver’s License Format\n\nTRACK 1\nField ID Character Contents Length*\na Start Sentinel (%) 1\nb State or Province 2\nc City 13\nd Name 35\ne Address 29\nf End Sentinel (?) 1\ng Linear Redundancy Check\n(LRC) Character 1\n\nTRACK 2\nField ID Characte r Contents Length\na Start Sentinel (;) 1\nb ANSI User Code 1\nc ANSI User ID 5\nd Jurisdiction ID/DL 14\ne Expiration date 4\nf Birthdate 8\ng Remainder of Jurisdiction ID/DL 5\nh End Sentinel (?) 1\ni Linear Redundancy Check\n(LRC) Character 1\n\nTRACK 3\nField ID Character Contents Length\na Start Sentinel (%) 1\nb Template Version # 1\nc Security Version # 1\nd Postal Code 11\ne Class 2\nf Restrictions 10\ng Endorsements 4\nh Sex 1\ni Height 3\nj Weight 3\nk Hair Color 3\nl Eye Color 3\nm ID # 10\nn Reserved Space 16\no Error Correction 6\np Security 5\nq End Sentinel (?) 1\nr Linear Redundancy Check\n(LRC) Character 1\n"},"comment":{"url":"https://api.github.com/repos/CarlRaymond/jquery.cardswipe/issues/comments/404346375","html_url":"https://github.com/CarlRaymond/jquery.cardswipe/issues/19#issuecomment-404346375","issue_url":"https://api.github.com/repos/CarlRaymond/jquery.cardswipe/issues/19","id":404346375,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDM0NjM3NQ==","user":{"login":"btcseminar","id":39869419,"node_id":"MDQ6VXNlcjM5ODY5NDE5","avatar_url":"https://avatars3.githubusercontent.com/u/39869419?v=4","gravatar_id":"","url":"https://api.github.com/users/btcseminar","html_url":"https://github.com/btcseminar","followers_url":"https://api.github.com/users/btcseminar/followers","following_url":"https://api.github.com/users/btcseminar/following{/other_user}","gists_url":"https://api.github.com/users/btcseminar/gists{/gist_id}","starred_url":"https://api.github.com/users/btcseminar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btcseminar/subscriptions","organizations_url":"https://api.github.com/users/btcseminar/orgs","repos_url":"https://api.github.com/users/btcseminar/repos","events_url":"https://api.github.com/users/btcseminar/events{/privacy}","received_events_url":"https://api.github.com/users/btcseminar/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T23:57:05Z","updated_at":"2018-07-11T23:57:05Z","author_association":"NONE","body":"I'm posting this as a newbie and hope I'm not out of line, here goes.\r\n I have found a jquery slot machine web app https://github.com/josex2r/jQuery-SlotMachine\r\nWhen a user taps a button the reels spin like a slot machine.\r\nI run a coffee shop, my aim is to issue \"Coffee Membership\" cards.\r\nI will display the juery slot machine in a tablet on my counter. \r\nThe tablet will have a card reader attached.\r\nWhen a member pays they will be invited to swipe their card and spin the wheels to win a free coffee.\r\nThe cards will not be payment cards.\r\nSo my question is, would this be doable?\r\nIf the answer is yes, I will pursue finding a developer to build the application for me.\r\nThanks in advance for any guidance.\r\n\r\n"}}
{"actor":{"display_login":"btcseminar"}}