Is there anything new with respect to in-app payments?
Generated on 8/3/2024
1 search
Yes, there are several new updates regarding in-app payments presented at WWDC:
-
Deprecation of Original API: Starting with iOS 18, the original API for in-app purchases is deprecated. 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, which offers many improvements such as customer transaction history, subscription renewal info, and automatic cryptographic validation (What’s new in StoreKit and In-App Purchase).
-
Transaction History for Consumables: The transaction history APIs now include finished consumable transactions. This means developers no longer need to manually track finished consumables, as the framework provides transactions for all consumables regardless of their finished state (What’s new in StoreKit and In-App Purchase).
-
New Fields in Transaction and Renewal Info: New fields such as currency and price have been added to the transaction and renewal info data models, providing additional in-app purchase transaction level information (What’s new in StoreKit and In-App Purchase).
-
One-Time Charge Notification: A new notification type is introduced for one-time purchases of in-app products. This allows developers to track every single in-app purchase made in their app using App Store server notifications (Explore App Store server APIs for In-App Purchase).
-
Consumption Request Notifications: These notifications are now sent for refund requests submitted for auto-renewable subscriptions in addition to consumables. They include a new consumption request reason field, allowing developers to express a preference for granting or denying the refund (Explore App Store server APIs for In-App Purchase).
-
Winback Offers: A new type of subscription offer called Winback offers is introduced 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).
For more detailed information, you can refer to the sessions:
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.
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.