Support Request: SiteCash plugin is not working .

Reproduction

Hi
I have installed sitekiosk on windows embedded system, And attached Bill reader and Coin Acceptor hardware and configured them through configuration manager and created one .skcgf file. I have added my .html file in html folder and provides all rights to support scripts through configuration manager .

But when i tried to run this code throws javascript error

  
<html>
<body>
<table border="0" bgcolor="#ebebeb" width="600" cellspacing="5"
cellpadding="5" style="font-family:verdana;font-size:8pt;"
align="center">
<tr><td bgcolor="f8f8f8">
The following example shows which plugins have been enabled
in the configuration.
</td></tr>
<tr><td style="font-family:verdana;font-size:8pt;">
<pre>
<SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
 for (var i = 1; i <= SiteKiosk.Plugins.Count; ++i) {
        if (SiteKiosk.Plugins.Item(i).Enabled)
            pactstatus = "<b>Activated</b>";
        else pactstatus = "Deactivated";
        if (i != 1) document.writeln("");
        document.write(SiteKiosk.Plugins.Item(i).Name +
   ": " + pactstatus);
    }
   



    function OnPullRequestCompleted(bool_success) {
        if (bool_success) {
            document.getElementById("result").innerHTML = "Thank you. The payment was successful.";
        }
        else {
            document.getElementById("result").innerHTML = "Payment has not been made.";
        }
    } 



</SCRIPT>
</pre>
</td></tr>
<tr>
<td>
Please click the button and pay the requested amount 
    <input type="button" value="Make your payment" onclick="SiteKiosk.Plugins('SiteCash').Script.Dispatch.StartPullRequest('Please make your payment! This service', 0.5, OnPullRequestCompleted, 30); ">
    <br />
    <span id="result"></span>



</td>
</tr>
</table>
</body>
</html>

Description

I am getting error in line where onclick=SiteKiosk.Plugins('SiteCash') is written .

where ever i used this code in different example it throws same error . Please help on this issue.

Thanks

Answer: (1)

Re: SiteCash plugin is not working . 12/30/2014 10:54 PM
Support for writing scripts falls outside of the scope of our free technical support. If you have a customization request for a feature that is not available in SiteKiosk, please write up your requirements and email that to sales-us(at)provisio.com and we can provide you with a quote to complete your request.

You might try start with some of the examples in the Object Model documentation that is available in the SiteKiosk help file.
My Account
Login
Language (Tickets):