/
With VP5300, how do I know the card is inserted or not after the Transaction started?
With VP5300, how do I know the card is inserted or not after the Transaction started?
The VP5300 has the ability to broadcast card insert/removal notifications, even during a transaction. If you look in USDK demo, it is Device-> Start Listen Notifications. Once that is on, you will get a callback for every card state change: Inserted, seated, removed.
IDT_Device.SharedController.device_listenForNotifications(true);
Send "false" to turn them back off.
Once enabled, you will get all notifications to your main message callback as a DeviceState.Notification:
case DeviceState.Notification: if (cardData.Notification == EVENT_NOTIFICATION_Types.EVENT_NOTIFICATION_Card_Inserted_Not_Seated) { SetOutputText(IP2 + " Notification: Card inserted but not Seated\n"); } if (cardData.Notification == EVENT_NOTIFICATION_Types.EVENT_NOTIFICATION_Card_Removed) { SetOutputText(IP2 + " Notification: Card Removed\n"); } if (cardData.Notification == EVENT_NOTIFICATION_Types.EVENT_NOTIFICATION_Card_Not_Seated) { SetOutputText(IP2 + " Notification: Card not Seated\n"); } if (cardData.Notification == EVENT_NOTIFICATION_Types.EVENT_NOTIFICATION_Card_Seated) { SetOutputText(IP2 + " Notification: Card Seated\n"); } if (cardData.Notification == EVENT_NOTIFICATION_Types.EVENT_NOTIFICATION_Swipe_Card) { SetOutputText(IP2 + " Notification: Swipe Card\n"); }
Related articles
, multiple selections available,
Related content
Detecting Card Insertion with a MiniSmart II
Detecting Card Insertion with a MiniSmart II
More like this
Contact EMV Transaction, Phase 3 of 3: Complete Transaction
Contact EMV Transaction, Phase 3 of 3: Complete Transaction
More like this
How to turn on/off the beeping on VP3300 when the card is not removed in the dip slot?
How to turn on/off the beeping on VP3300 when the card is not removed in the dip slot?
More like this
How to restrict the transaction when the pairing is lost between the VP5300 and L100?
How to restrict the transaction when the pairing is lost between the VP5300 and L100?
More like this
What would happen if the VP5300 reader is commanded to Enter Low Power Mode while a card is already fully inserted?
What would happen if the VP5300 reader is commanded to Enter Low Power Mode while a card is already fully inserted?
More like this
VP5300 (SPTP2-988-33-XXX-XX): Home
VP5300 (SPTP2-988-33-XXX-XX): Home
More like this