CreateReceiptText Method
The CreateReceiptText method creates a receipt text.
Syntax
[str=] SiteKiosk.Plugins("SiteCash").Devices("CreditCard").
CreateReceiptText(obj)
|
Parameters
obj |
TransactionData object. |
Return Value
Returns a String that contains the receipt text.
Remarks
Examples
The following example creates a receipt text and shows it in an alert window.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
creditcard = SiteKiosk.Plugins("SiteCash").Devices("CreditCard");
ccardinfo = creditcard.CreateCardInfo();
myreceipt = creditcard.CreateReceiptText(TransactionData);
alert(myreceipt);
</SCRIPT>
|
Applies to
SiteKiosk v5.0 (and later versions).
Back to top