ShowPaymentInfoDialog Method



 
The ShowPaymentInfoDialog method displays the payment information dialog.


Syntax

    SiteKiosk.Plugins("SiteCash").ShowPaymentInfoDialog(parent, url, isframe)
    
Parameters
    parent HWND that contains the handle to the parent window.
    url String that specifies the requested URL.
    isframe Boolean value that specifies whether the URL will be displayed in a frame.
Return Value
    None.
Remarks
    The payment information dialog contains the price per minute and hour and information about the used payment device.
    It can use the ZoneDispatch object to receive information about the requested zone.
Examples
    The following example displays the payment information dialog when there is no more credit.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    myhwnd = SiteKiosk.WindowList.MainWindow.Handle;
    myurl = "http://www.google.de/";
    SiteKiosk.Plugins("SiteCash").OnCreditStatusChange = OCSChange;
    function OCSChange()
    {
       if (!this.CreditStatus)
       {
          this.ShowPaymentInfoDialog(myhwnd, myurl, false);
       }
    }
    </SCRIPT>
    

Applies to
    SiteKiosk v6.0 (and later versions).

Back to top