Post

Replies

Boosts

Views

Activity

Subscription: Getting expiration date from receipt
Hello everyone, For a subscription, in order to get the last expiration date from receipt, tutorials on internet recommend to get the "last object" of the receipt: let lastReceipt = receiptInfo.lastObject as! NSDictionary let expiresDate = lastReceipt["expires_date"] But during my tests in sandbox environment, I found out there is no ["expires_date"] in the receipt "last object". Actually, the last subscription info was always in the "first object", so I have to write: let lastReceipt = receiptInfo.firstObject as! NSDictionary Does anyone else notice that? Are these tutorials out of date? Or did I miss something? I am quite new with subscriptions, so thank you for any insights.
2
0
686
Jun ’22
Where to write a subscription policy in the purchase popup?
Hello, In some apps, when purchasing a subscription, in the purchase popup (where we should tap 2 times the lateral button to continue), above the price, we can see a "POLICY" message stating: "You can cancel anytime in Settings > Apple ID at least one day before renew date, etc." How can we set up this message? In Xcode? On App Store Connect? I didn't find any field for this in my subscription products on App Store Connect. Thank you!
1
0
443
Jun ’22
Why my In-App-Purchases suddenly became mixed up?
Hello everyone, I have several apps running which have many IAPs. For instance: Button A > price A > unlocks feature A Button B > price B > unlocks feature B Button C > price C > unlocks feature C It works fine for years. But, since a few weeks ago (I guess), without me changing anything, everything is mixed up with no particular order pattern: Button A > price C > unlocks feature C Button B > price A > unlocks feature A Button C > price B > unlocks feature B The strangest part is when I build the apps in Xcode and run on my device, everything is working fine. The code is the same that is live since I have not updated any of the apps. This bug only appears on the apps downloaded from the App Store. The products ID are also unchanged on App Store Connect. Actually, I noticed that App Store Connect has been updated recently. Is that somehow linked to this? Please, does anyone know something on how to solve this? It completely messes up the user experience. Thank you very much.
4
0
1.3k
May ’22