Hi,
I am seeing a weird behavior from RevenueCat in our app where purchases are getting linked to the wrong account. I’ve been able to narrow it down to the following use case:
- User logs in with new account.
- User subscribes.
- User cancels their subscription.
- User deletes account.
- User’s subscription expires.
- User logs in with new account.
- User subscribes again.
- Purchase is linked to old account instead of the new account.
Here’s what I see in the customer history for the old account who is erroneously getting the subscription:
Here’s the history for the new account (Don’t mind the promotional entitlement I granted them while I investigated the issue):
This is clearly the wrong behavior since the user purchased the subscription after logging in with the new account. The purchase should not count as a renewal but as a new purchase on the new account. It seems that RevenueCat erroneously thinks the old subscription was renewed.
I do understand that restoring purchases might solve this issue by causing the old account to get linked with the new one, however, I still think the correct behavior is for any new purchase to get linked to the current logged in account.
Any ideas?
Thanks,
Miro