Fires when the payment device returns credit to the script device account.
OnRetransfer = handler
||Currency value that contains the amount which is returned.
If the defined function of this event returns true, existing credit will not be added to the script device account. If false is returned and the RetransferEnabled property is true, existing credit from the account of the SiteCash object will be added to the script device account.
Use the CurrencyFormatter object for currency functionality.
The object that caused the event can be referenced in the event function using "this".
The following example shows an alert window when the payment device wants to return credit and allows this.
sdevice = SiteKiosk.Plugins("SiteCash").Devices("ScriptDevice");
sdevice.OnRetransfer = OnRetransfer;
SiteKiosk v5.0 (and later versions).
Back to top