Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

How can I do the offline transactions

Algorithm School

Moderator: UNKNwYSHSA

Thelogan
Posts: 40
Joined: Thu Aug 20, 2015 4:48 am
Points :250
Contact:

How can I do the offline transactions

Post by Thelogan » Fri Sep 25, 2015 8:44 am

I am working on applet development for online payment. Now I am experiencing a problem about how to store the offline data into java card.
How can I do the offline transactions? Hope somebody provide me more points. thx

User avatar
horse dream
Posts: 76
Joined: Thu May 21, 2015 11:48 pm
Points :138
Contact:

Re: How can I do the offline transactions

Post by horse dream » Mon Nov 02, 2015 11:35 pm

You should store the offline balance in the persistent memory. Moreover, updates to this persistent memory must be atomic.
That is if a transaction is going on and there is a card tear, then the transaction should be invalid.
For this, Java Card has the beginTransaction and abortTransaction methods in JCSystem.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 22 guests

JavaCard OS : Disclaimer