You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
What's new in v4.7.3
A purchase of the subscription that is already active on the device (for example a promotional offer on the same product after the user turned off auto-renew) is no longer reported as successful when StoreKit 2 returns the existing transaction without contacting the App Store. It now fails with APPHUD_SUBSCRIPTION_ALREADY_ACTIVE (-990). StoreKit 2 answers this way in the same app session that bought the product; in a later session the purchase reaches the App Store (#168).
When the App Store does apply such a purchase (a new transaction, auto-renew turned back on, or the promotional offer scheduled for the next renewal), it is reported as successful once the device reflects the change, up to 10 seconds after the payment sheet closes.