Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does the purchaseToken remain the same when a subscription is renewed with Android In-App Billing V3?

Does the purchase token remain the same when a subscription is renewed with Android IAB V3?

Would it be a bad idea to rely on the purchase token as the user's ID on a backend server? (Assume throwing away their data when the subscription expired isn't a big deal)

like image 462
Justin Avatar asked Aug 21 '14 16:08

Justin


People also ask

How do I check my subscriptions on Android?

Open the Google Play app. Choose Account -> Subscriptions & Payments -> Subscriptions. Click your test subscription and change the payment method to “Test card, always declines.” After five minutes, payment should be declined.


1 Answers

According to this answer this answer, it remains the same.

So should be fine to rely on it, keeping in mind that it will be different if the user cancels and then purchases the subscription again.

like image 156
Alexandre G Avatar answered Oct 17 '22 10:10

Alexandre G