SiteKiosk: Bug Fix für kritischen Fehler
Wenn ein Kiosk-Rechner mit der SiteKiosk Version 7.1 - 8.6 unter Windows 7 betrieben und der Internet Explorer 10 installiert wird, ist das System mit großer Sicherheit nicht mehr benutzbar. Unter Windows 8 tritt dieser Fehler nicht auf! Sobald die automatische Update-Funktion auf dem Windows 7 Rechner aktiviert ist, wird der neue Internet Explorer 10 selbständig installiert.

Alle Händler und Wiederverkäufer werden dringend aufgefordert diese Informationen an die Betreiber der Kiosk Systeme weiterzuleiten. PROVISIO hat keine Informationen über die Endkunden und kann daher nicht direkt informieren!

Weitere Informationen...
Object Model Scripting: SiteCafe deposit/add funds event
Artikel ID: 17725
Artikeltyp: Object Model Scripting
Level: Geschlossen
Sprache: Englisch
Erstellungsdatum: 15.03.2012 11:31
Letzte Änderung: 12.04.2012 14:57
Produkt: SiteCafe
Version: -
Aufrufe: 5307
Anhang: -
Erstellt von: Anonymous (User)
Geändert von: Anonymous (User)
Beschreibung
Hello, I'm looking for a way to capture the even when user receives money from sitcafe manage or enter prepaid code.

Something like: SiteKiosk.Plugins("SiteCash").OnInpayment
which works perfect for cctalk devices, but not for SiteCafe. Is there any way to capture the deposit when using prepaid code and/or login/password?
OnBeginSession was looking good until I found that it always carry the balance from the last session and I can't find any way to identify if it's a new deposit.
Kommentare (1): SiteCafe deposit/add funds event
Re: SiteCafe deposit/add funds event PROVISIO\olbrich (Provisio) 15.03.2012 14:37
Hello,

I am sorry but there is no direct event for this case.

But you may have a look at the “OnDisplayTextChange Event“ which fires when the text displayed in the progress bar that shows the remaining credit changes
http://www.provisio.com/en-US/Help/ObjectModel/sitekiosk_object/sitecash_ondisplaytextchange_evt.html

Then you can add a function which calculates the added balance and put it into the log file (or you add any other functionality you like).

Here an example (without any further support) that you can use as external script:

SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
var gk_before = SiteCafe.Balance;
var gk_now;

SiteKiosk.Plugins("SiteCash").OnDisplayTextChange = ODTChange;
function ODTChange()
{
gk_now = SiteCafe.Balance;
if (gk_now > gk_before)
	{
	var gk_diff = gk_now - gk_before;
	SiteKiosk.Logfile.Notification("Added:" + gk_diff);
	}
gk_before = gk_now;
}

The example creates a log file entry displaying the added credit.
Installation:
- Copy & Paste the lines into an editor and then savie it as JS file (e.g. Add.js) to the folder “…\SiteKiosk\Html”-
- Then add the JS file to the SiteKiosk configuration (Browser Designs-->Advanced).

Regards,
Michael Olbrich
© 1996-2013 PROVISIO. Alle Rechte vorbehalten. Impressum Kontakt AGB Datenschutz