When I do a order in my program the Google Purchase TimeStamp is my timezone Eastern Standard Time but the TimeStamp that shows up on the Google Order in my Google Merchant account is based Pacific Standard Time (I assume because Google is in California)
(in Android - B4A)
Example: I get the time stamp of 1475421576874 which equals 10/02/2016 11:19:36 AM
Google Shows 10/02/2016 08:19:36 AM
Which is the 3 hour difference
If the user requests a refund or cancellation I use B4J to generate a file containing Invalid timestamps using the Google Merchant TimeStamp (as I do not know the Android Timestamp)
IS it safe for me to do ( BJ4 ):
To calculate the difference in Timestamps (what would be a 3 hour difference amount).
I use this timestamp to handle cancellations. It takes google so long to do a cancellation and in my software the user could make a lot of money while waiting for the cancellation to take place. So I create a file on my server with their MacAddress as the name and in the file it contains an array of Invalid transactions time stamps. When processing ownedproducts I skip the ones that have a Invalid timestamp. Only reason I am wasting my time doing this is that it has been 3 days since I cancelled an order in Google Merchant and it is still coming to my program as purchased. NOT Good.
(in Android - B4A)
Example: I get the time stamp of 1475421576874 which equals 10/02/2016 11:19:36 AM
Google Shows 10/02/2016 08:19:36 AM
Which is the 3 hour difference
If the user requests a refund or cancellation I use B4J to generate a file containing Invalid timestamps using the Google Merchant TimeStamp (as I do not know the Android Timestamp)
IS it safe for me to do ( BJ4 ):
B4X:
Dim PST as Long = (DateTime.TicksPerDay / 24) * 3
To calculate the difference in Timestamps (what would be a 3 hour difference amount).
I use this timestamp to handle cancellations. It takes google so long to do a cancellation and in my software the user could make a lot of money while waiting for the cancellation to take place. So I create a file on my server with their MacAddress as the name and in the file it contains an array of Invalid transactions time stamps. When processing ownedproducts I skip the ones that have a Invalid timestamp. Only reason I am wasting my time doing this is that it has been 3 days since I cancelled an order in Google Merchant and it is still coming to my program as purchased. NOT Good.