what is new with in-app purchases?
Generated on 8/5/2024
1 search
Apple introduced several new features and updates for in-app purchases at WWDC 2024. Here are the key highlights:
-
Deprecation of Original API:
- The original API for in-app purchases is deprecated starting with iOS 18 and aligned OS releases. Existing apps will continue to work, but the legacy API won't receive any enhancements or new features. Developers are strongly encouraged to update their apps to use StoreKit 2. What’s new in StoreKit and In-App Purchase.
-
StoreKit 2 Enhancements:
- StoreKit 2 offers many improvements, including automatic cryptographic validation, modern language features like Swift Async/Await, and back-deployed attributes in Swift, allowing access to new App Store features even on older OS versions. What’s new in StoreKit and In-App Purchase.
-
Transaction History API:
- The transaction history APIs now include finished consumable transactions, making it easier to track all consumables. This can be configured via the project's info plist file. What’s new in StoreKit and In-App Purchase.
-
New Subscription Offer Type - Winback Offers:
- Winback offers are designed to help recover churned subscribers. These offers can be customized and promoted on the App Store. What’s new in StoreKit and In-App Purchase.
-
App Store Server API Updates:
- New one-time charge notifications for one-time purchases.
- Consumption request notifications for refund requests now include a reason field.
- Enhanced transaction history endpoint to return comprehensive data on all purchases.
- New fields like price, currency, and offer discount type for better insights. Explore App Store server APIs for In-App Purchase.
-
Testing Enhancements in Xcode:
- Improved tools for testing in-app purchase flows using StoreKit configuration in Xcode. What’s new in StoreKit and In-App Purchase.
For more detailed information, you can refer to the sessions:
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.
Explore App Store server APIs for In-App Purchase
Learn how to leverage your server to build great In-App Purchase experiences with the latest updates to the App Store Server API, App Store Server Notifications, and the open source App Store Server Library. After a recap of current APIs, we’ll introduce updated endpoint functionality, new transaction fields, and a new notification type. We’ll also discuss best practices for the purchase lifecycle, delivering content, and targeting offers, so you can become a server power user.
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.