I'm validating my Google Play Android subscription purchases server side against
https://developers.google.com/android-publisher/archive/v1/purchases/get
I'm running into the case where initiationTimestampMsec
is different from the value in the past.
https://developers.google.com/android-publisher/archive/v1/purchases#resource
I come across this as I have a test case with a specific purchase to validate that the init time is always the same.
The original init time is 1366679371220
(Tue, 23 Apr 2013 01:09:31 GMT). This test case always passed and the code is according to git blame
not touched since
2013-04-28.
When I'm running the test right now, the init time of THE SAME purchase has 1400807382943
(Fri, 23 May 2014 01:09:42 GMT) as it's initiationTimestampMsec
. Interesting to note the difference of the purchase time on the day and the time of day.
The GET
request I make is
https://www.googleapis.com/androidpublisher/v1/applications/<app_id>/subscriptions/product_name/purchases/<purchase_token>?access_token=<access_token>
The purchase itself is logged into my production DB with the init timestamp from my test case (1366679371220
)
EDIT: After having a email conversation with Google, this seems to be a bug that they are aware of.