Hi,
I subscribed my test product on 2016/07/25 which have been renewed so many 
times till now.
But it always returns the same purchaseToken so I can't get the correct 
expiryTimeMillis.

// Get purchase token which doesn't change after renewing
mService.getPurchases(3, getPackageName(), SUBSCRIPTION, null);

// Get subscriptionPurchase
AndroidPublisher.Purchases.Subscriptions.Get result = 
    subscriptions.get( configuration.getPackageName(), "test_subs", "PURCHASE 
TOKEN");

SubscriptionPurchase subscriptionPurchase = result.execute();

subscriptionPurchase.getStartTimeMillis(); // 2016/07/25
subscriptionPurchase.getExpiryTimeMillis(); // 2016/07/26


Is it possible to get the new purchaseToken?
Or I have to count the expired date by myself?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/d002f5ec-a2e9-4a46-a777-6ac87bb2524b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to