Hi there,
We have had multiple users complain about being billed for multiple subscriptions at the same time.
After some investigation we discovered that if an Android user has a subscription paused in the Google Play Store, they are prompted to subscribe again because the SDK reports that they have no active subscription. The original paused subscription will eventually resume and the user will end up with multiple ongoing subscriptions.
Re: RevenueCat/purchases-android
"Subscription Paused" - This state won't be able to be directly detected through the SDK currently, but is already logged as a future feature. Google recommends providing a deep link for the user to manage their subscription. This can be accessed through the
managementURL
property on the Purchaser Info object and shown to users with an expired subscription.
Is there an update to this? I wasn’t able to find anything. Being able to detect that a user has a subscription paused would allow us to not let the user subscribe twice. The UI could mention that a subscription is paused the direct them to the `managementURL`.
"entitlements":{
"active":{
},
"all":{
"premium":{
"billingIssueDetectedAtMillis":null,
"billingIssueDetectedAt":null,
"unsubscribeDetectedAtMillis":null,
"isSandbox":true,
"productIdentifier":"monthly",
"identifier":"premium",
"periodType":"NORMAL",
"unsubscribeDetectedAt":null,
"isActive":false,
"store":"PLAY_STORE",
"expirationDate":"2022-01-31T23:10:25.000Z",
"originalPurchaseDate":"2022-01-31T22:58:27.000Z",
"latestPurchaseDate":"2022-01-31T23:05:25.000Z",
"willRenew":true
}
}
}
Looking at the purchaserInfo
object it appears that it may be possible to infer a paused subscription by checking for an inactive entitlement with isActive === false
and willRenew === true
and possibly unsubscribeDetectedAtMillis === null
. However, it seems like it’d be better if the SDK handled this state was detected in the SDK instead.
Here is a link to the relevant Google Play developer documentation on paused subscriptions:
https://developer.android.com/google/play/billing/subscriptions#pause