Post

Replies

Boosts

Views

Activity

How to obtain valid subscription information in the App?
I have an APP with its own user system. I configured subscriptions in the Apple Store and divided them into levels 1 and 2. User logs in to the App Store with apple id A, then logs in to my APP with account A1 and subscribes to level 1 subscription. At this time, he switches to the App Store, switches apple id to B, then returns to my APP (the APP user is still A1 at this time), finds the previous subscription and upgrades it. At this time, apple ids A and B will be charged for subscription at the same time. I need to restrict this operation. My solution is to obtain the user's current valid subscription from the App Store when upgrading. If it cannot be obtained, the user is prohibited from upgrading. However, I only found "Restoring purchased products" from Apple's documentation. This document only explains how to restore completed transactions and cannot be called frequently. Are there any other solutions or APIs?
0
0
54
3d