Jquery card scanner activation, possible?

Jquery card scanner activation, possible?

I'm posting this as a newbie and hope I'm not out of line, here goes.

I have found  a jquery card scanner script


also a jquery slot machine web app



When a user taps a button the reels spin like a slot machine.

I run a coffee shop, my aim is to issue "Coffee Membership" cards.
I will display the juery slot machine in a tablet on my counter.
The tablet will have a card reader attached.
When a member pays they will be invited to swipe their card and the swipe action will spin the wheels to win a free coffee.

The cards will not be payment cards.

So my question is, would this be doable?

If the answer is yes, I will pursue finding a developer to build the application for me.

Thanks in advance for any guidance.