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:

  1. 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.
  2. 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.
  3. 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.
  4. New Subscription Offer Type - Winback Offers:

  5. 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.
  6. Testing Enhancements in Xcode:

For more detailed information, you can refer to the sessions: