Post

Replies

Boosts

Views

Activity

What to do with an invalid Order ID from the StoreKit Lookup API
I've got a user that is having a problem accessing their unlocked in-app purchase. They've sent us a copy of their receipt, and I plugged the Order ID into the Lookup API (https://developer.apple.com/documentation/appstoreserverapi/look_up_order_id). I'm getting {"status":1} as a result on the lookup which the docs say is invalid (https://developer.apple.com/documentation/appstoreserverapi/orderlookupstatus), and I'm not quite sure what to do with that. Does that mean they faked the invoice? That seems really unlikely to me. I also wondered if that means they revoked the purchase, but in that case I would expect it to still return the transaction so I could see the revocation reason and date. I don't want to go back to the user with "Sorry, your purchase is not valid" without knowing why. Any additional information or guidance on interpreting "Invalid" would be really helpful.
3
0
1.7k
Jan ’22
Mac in-app purchases aren't showing up in the production environment with StoreKit 2
I'm trying to launch a new Mac-only app using SwiftUI and targeting macOS 12, so using the new StoreKit 2 APIs makes a ton of sense. My code for the purchases is largely based on the sample code from WWDC21, and it works really really well during local testing and when installed through TestFlight. But the purchases never load when App Review runs the app. They've sent several screenshots, and none of the purchases are loaded and I haven no idea why. I've made sure to select "In-App Purchase" in the "Signing & Capabilities" tab. I have created all of the purchases in App Store Connect, quadruple checked the identifiers match what the app is expecting, and made sure the purchases were submitted for review along with the app. What else could I possibly be missing? Has anyone else had similar issues?
2
0
1.2k
Dec ’21
NSPersistentCloudKitContainer sharing with the new databaseScope option
I'm really excited about the new public database options introduced in the "Sync a Core Data store with the CloudKit public database" talk! I see in the documentation that the databaseScope refers to the CKDatabase.Scope which includes an option for the shared database. Does this mean that we will be able to automatically sync CoreData records to a shared CloudKit database this year? I would really like to add support to my app to sync data with friends through CloudKit, but with the existing system it is too much work to sync shared objects through a CKShare, so I have avoided building it so far. I'm really excited to start using the new changes. Thanks!
5
0
1.5k
Jun ’20