Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Credit Card swipe revisited
Message
De
26/04/2010 15:12:41
 
 
À
25/04/2010 11:48:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01461945
Message ID:
01462082
Vues:
136
>Hi All:
>
>I have a form with one text box. In thisform.init, I say
>
>
>this.txtCC.setfocus()
>
>
>When the user swipes the credit card in a keyboard wedge, it's just like typing a bunch of characters.
>
>How can I tell when the swipe is over, so that I can examine the data?
>
>I was thinking of setting a timer and using the KEYPRESS to start it off and check the data after 1 second or so.
>
>Can you think of a better way?
>
>BTW, the crtedit card data usually has 'sentinel' characters at the beggnning and end of the string, but this is unreliable, since some keyboards seem to strip the sentinel characters.
>
>Thanks,
>
>Yossi


In my KeyPress() method I currently use
IF nKeyCode = 13
   this.ProcessSwipe()
ENDIF
so I don't need any timer.

For PCI DSS I am looking to switch over to MercuryShield so I don't have to worry about capturing the CC# at all. They expect to release this next week sometime.
Carsten M. Thode
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform