Well in v4 it was more complex I had to use .bat files and php scripts.
V5 which is due out soon its simply a jscript that is called within SambaPOS. The Jscript pushes and pulls from the PHP based website.
Here is the script I used for the punch. V5 ONLY
function punch(employee){
if (employee == 'Jesse'){
var user = 2;
}
else if (employee == 'Melissa'){
var user = 12;
}
var url = 'http://localhost:8085/api/soap/punch.php?user='+user;
web.Download(url);
}
V4 I used the Start Process action to launch a series of .bat files.
Some actions to look at in v4 for more advanced inegrations are:
Start Process
Execute HTML Widget Action
Execute Script
Look at this discussion for more ideas: