What's new in StoreKit 2 and StoreKit Testing in Xcode

RSS for tag

Discuss the WWDC23 Session What's new in StoreKit 2 and StoreKit Testing in Xcode

View Session

Posts under wwdc2023-10140 tag

5 Posts
Sort by:
Post not yet marked as solved
1 Replies
698 Views
I am trying to migrate my app from paid to freemium and am facing several issues and doubts. Specifically, I am trying to use StoreKit2 AppTransaction API but I am not averse to using StoreKit if my problems are not solved by StoreKit2: Here are my questions: AppTransaction/Receipt on launch: I see on launch the AppTransaction.shared call fails on the sandbox initially. That means it's possible that on user's who have purchased the app previously, the AppTransaction (or appStoreReceipt in original StoreKit) may not be available when the user downloads or updates the app? That means I will need to ask every user to authenticate with AppStore to refresh the receipt/AppTransaction? Volume Purchase Users: I see StoreKit2 is not advised for volume purchases on the Apple website. I am not sure why that is the case, but does that mean AppTransaction will not be available for users who made Volume purchases under VPP? Is the flow to validate VPP users different? If StoreKit 2 can not be used, can the original StoreKit API help here, or nothing can be of help here?
Posted Last updated
.
Post not yet marked as solved
1 Replies
488 Views
Hi , i have a question to ask: When i first request to get transactionInfo to valid receipt. use getTransactionInfo endpoint. it found 4040010 error. After a while ,I send the same request ,it response correct transaction info It happen rate about 2% What the reason?
Posted
by littlehui.
Last updated
.
Post not yet marked as solved
2 Replies
1.3k Views
As indicated on the website below the sandbox should now have a SHA-256 signature for new purchases starting on June 20, 2023 for apps running in iOS 16.6 and higher. I tried with iOS 17 beta, still getting a SHA-1 signed receipt. Has anybody managed to get a SHA-256 signed receipt? TN3138: Handling App Store receipt signing certificate changes | Apple Developer Documentation
Posted Last updated
.
Post not yet marked as solved
1 Replies
918 Views
Dear Apple Developer Support Team: Our product is currently using the Original StoreKit to provide subscription services to our users, and we are using "https://buy.itunes.apple.com/verifyReceipt" to verify the subscription status of users. Everything is done within our mobile app, and we do not have our own server. However, we have recently discovered that verifyReceipt has been deprecated, and during our TestFlight testing of our subscription service, we often encounter issues such as slow subscription callbacks and lengthy subscription status verification times. Therefore, we are reaching out to seek your assistance. We hope that you can provide us with some help in resolving the issues we are facing with our subscription service development. This will enable us to have a more sustainable collaboration in the future. We look forward to receiving your response as soon as possible. Thank you! Best regards, Avocado Development Team
Posted Last updated
.
Post not yet marked as solved
1 Replies
484 Views
I am planning to convert a paid app to freemium. I would like existing paid users to remain unaffected in this process. In this question, I am focussing on volume purchase users (both existing and future). The info on Apple developer website advises to use original Store Kit if one needs to support Volume Purchase users: You may need to use the Original API for in-app purchase for the following features, if your app supports them: The Volume Purchase Program (VPP). For more information, see Device Management. Does that mean I can't use StoreKit2 to verify receipts of volume purchases made before the app went freemium (to get original purchase version and date), OR, the API can not be used to make in-app volume purchases and perhaps, users will not be able to make volume purchases from AppStore, OR, both?
Posted Last updated
.