Ticket ID: 16854
|
Date de création: 28/07/2011 19:09
|
Produit: SiteKiosk Classic Windows
|
Annexe: -
|
TicketType d´article: Support Request
|
Version: 7.8.328
|
Langue: Anglais
|
Adressages: 30400
|
Dernière modification: 29/08/2011 10:07
|
Plateforme:
Windows XP Home
|
|
Niveau: Fermé
|
IE: 8.0 |
|
Statut bogue: Pas fixé
|
Compte d'utilisateur: Administrateur
|
Fréquence: Environ une fois par heure
|
|
Support Request: connection dropping between card reader and kiosk
Reproduction
this is running on Window 7 home
The javascript code where the function call is from index.php in the kiosk directory:
<!-- Site Kiosk -->
<script type="text/javascript">
window.external.InitScriptInterface(document);
creditcard = SiteKiosk.Plugins("SiteCash").Devices("CreditCard");
creditcard.OnCardSwiped = OnCardSwiped; function setFocus() { document.getElementById("target").focus();
}
function OnCardSwiped(ccardinfo) {
document.getnumber.name_first.value = ccardinfo.FirstName;
document.getnumber.name_last.value = ccardinfo.LastName;
//alert(ccardinfo);
}
</script>
From what I understand, the
"window.external.InitScriptInterface(document)" call is what enables the SiteKiosk functions to be run from within a browser. But apparently the browser is not recognizing it after the first or second scan after reinitializing the kiosk as Sherry has done.
Screen shot is attached.