What’s new in StoreKit and In-App Purchase
Asked on 2025-07-03
2 searches
In the session titled "What’s new in StoreKit and In-App Purchase" from WWDC 2024, several updates and enhancements were introduced:
-
Deprecation of Original API: Starting with iOS 18, the original API for in-app purchases is deprecated. Developers are encouraged to transition to StoreKit 2, which offers improvements such as access to customer transaction history, subscription renewal info, and automatic cryptographic validation. StoreKit 2 also utilizes modern Swift features like the async/await pattern for tasks such as fetching product metadata and purchasing.
-
Transaction History Enhancements: The transaction history APIs now include finished consumable transactions, allowing developers to track all consumables without manual intervention. This feature can be enabled via the project's info plist file.
-
New Fields in Data Models: New fields have been added to the transaction and renewal info data models, including currency information, to provide additional transaction-level details.
-
Testing Enhancements in Xcode: Xcode 16 introduces new features for testing in-app purchases, such as testing privacy policies and license agreements locally, and simulating different purchase scenarios using the transaction manager.
-
Merchandising with SwiftUI: New ways to merchandise subscriptions using SwiftUI and StoreKit views were introduced, including a new subscription offer view designed to engage customers.
-
Subscription Status API: A new subscription status API allows querying subscription status using a transaction ID, providing more flexibility in managing subscriptions.
For more detailed information, you can refer to the session What’s new in StoreKit and In-App Purchase (21:06).

What’s new in StoreKit and In-App Purchase
Learn how to build and deliver even better purchase experiences using the App Store In-App Purchase system. We’ll demo new StoreKit views control styles and new APIs to improve your subscription customization, discuss new fields for transaction-level information, and explore new testability in Xcode. We’ll also review an important StoreKit deprecation.

What’s new in StoreKit and In-App Purchase
Learn about the latest StoreKit API enhancements to help you deliver great In-App Purchase experiences to your customers. We’ll review new fields added to AppTransaction, Transaction, and RenewalInfo, and updates to In-App Purchase offer codes. We’ll also cover creating signed In-App Purchase requests using the App Store Server Library and updates to merchandising subscriptions using SwiftUI.

Implement App Store Offers
Learn how to engage customers with App Store Offers using App Store Connect, as well as the latest StoreKit features and APIs. Discover how you can set up win-back offers (a new way to re-engage previous subscribers) and generate offer codes for Mac apps. And find out how to test offers in sandbox and Xcode to make sure they work smoothly.