# OnAccountMerged Event Fires when an account has been merged. Syntax
    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    OnAccountMerged = handler
Parameters
errorCode | Long value that contains the error code.
Remarks The object that caused the event can be referenced in the event function using "this". Examples The following example displays the error code when an account has been merged.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.OnAccountMerged = OnAccountMerged;
    function OnAccountMerged(errorCode)
    {
       alert(errorCode);
    }
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top