Integrate our products into your software. Let's make payment happen together!
Look at all the possibilitiesIn SecPos the implementation of polling is needed as without it the terminal acts as a slave to the POS and cannot do anything on its own including heartbeat or automatic end of day closures.
ElmeExecuteCronJobs is necessary for unattended terminals to run background activities like TMS calls.
The following code snippet demonstrates how you can execute a ElmeExecuteCronJobs.
TerminalDelegate terminalDelegate = new TerminalDelegate() {
@Override
public void onPaymentAdministrationSuccess(PaymentAdministrationResult result) {
//contains code which handles a successful ElmeExecuteCronJobs call
}
@Override
public void onError(Error error) {
//contains code which handles a failed ElmeExecuteCronJobs call
}
};
TerminalApi terminalService = new TerminalService();
terminalService.elmeExecuteCronJobs(externalTerminal, terminalDelegate);