This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var btn; | |
var bt; | |
var txt; | |
//Called when application is started. | |
function OnStart() | |
{ | |
//Create a layout with objects vertically centered. | |
lay = app.CreateLayout( "linear", "VCenter,FillXY" ); | |
//Create a button 1/3 of screen width and 1/4 screen height. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Little helper class to request a payment on an OPI enabled Card Terminal | |
*/ | |
class OPIHelper { | |
private $ip; | |
private $port; | |
private $requestID = 0; |