World-Three-Technologies / Masxaro-Prototype

Other
8 stars 4 forks source link

two types of receipt time #16

Closed yichaoyu closed 13 years ago

yichaoyu commented 13 years ago

I think there are two types of receipt time: 1. the time when users make their payments. 2. the time when the receipt is synced into our database. The two types are not necessarily the same. Because when the mobile cannot access to the network, the latest receipt from vendor machine may be transmitted later.

yaxing commented 13 years ago

I'm not sure whether we do need the second one...

yichaoyu commented 13 years ago

So we can include the payment time in the JSON str. What's the format of it?

yaxing commented 13 years ago

If you wanna insert it directly into database the format would be MM-DD-YY HH:MM:SS