Amadis

Date Time Update

Following a feature update request, after a transaction with completion set as IMMD (Immediate), the date and time of the created Authorisation Request message and Completion Advice message, are now no longer the same as from ARKOS 1.8.2 version.

A callback has been added in Arkos that requests and updates the time and date accordingly before building a completion message.

From the application side, the response is as below:

public byte[] updateDateTime() { Calendar cal = new GregorianCalendar(); TlvTree tlvTree = TlvTree.Empty(); //TAG_SYSTEM_DATE tlvTree.SetEMVDate(0xDF9F43, cal.get(Calendar.YEAR) % 100, cal.get(Calendar.MONTH) + 1, cal.get(Calendar.DAY_OF_MONTH)); //TAG_SYSTEM_TIME tlvTree.SetEMVTime(0xDF9F44, cal.get(Calendar.HOUR_OF_DAY), cal.get(Calendar.MINUTE), cal.get(Calendar.SECOND)); return tlvTree.AsBytes(); }

Note: SetEMVTime is available in your latest ASL version.