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

2

15

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)

Philippine answered 21/8, 2014 at 16:5 Comment(0)
S
3

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.

Siouan answered 13/3, 2017 at 3:56 Comment(1)
If orderId and purchase token remains same, whats the identifier for the renewal?Trilby
D
0

Yes, the token remains the same whenever a subscription is renewed.

In the case of downgrade or upgrade, Purchase Token and order_id is newly generated, but in case of renewal, Purchase Token remains the same.

Dday answered 6/12, 2019 at 14:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.