View in English

  • Apple Developer
    • 今すぐ始める

    「今すぐ始める」を詳しく見る

    • 概要
    • 学ぶ
    • Apple Developer Program

    最新情報

    • 最新ニュース
    • Hello Developer
    • プラットフォーム

    プラットフォームを詳しく見る

    • Appleプラットフォーム
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store

    特集

    • デザイン
    • 配信
    • ゲーム
    • アクセサリ
    • Web
    • Home
    • CarPlay
    • テクノロジー

    テクノロジーを詳しく見る

    • 概要
    • Xcode
    • Swift
    • SwiftUI

    特集

    • アクセシビリティ
    • App Intent
    • Apple Intelligence
    • ゲーム
    • 機械学習とAI
    • セキュリティ
    • Xcode Cloud
    • コミュニティ

    コミュニティを詳しく見る

    • 概要
    • 「Appleに相談」イベント
    • コミュニティによるイベント
    • デベロッパフォーラム
    • オープンソース

    特集

    • WWDC
    • Swift Student Challenge
    • デベロッパストーリー
    • App Store Awards
    • Apple Design Awards
    • Apple Developer Center
    • ドキュメント

    ドキュメントを詳しく見る

    • ドキュメントライブラリ
    • テクノロジー概要
    • サンプルコード
    • ヒューマンインターフェイスガイドライン
    • ビデオ

    リリースノート

    • 注目のアップデート
    • iOS
    • iPadOS
    • macOS
    • watchOS
    • visionOS
    • tvOS
    • Xcode
    • ダウンロード

    ダウンロードを詳しく見る

    • すべてのダウンロード
    • オペレーティングシステム
    • アプリ
    • デザインリソース

    特集

    • Xcode
    • TestFlight
    • フォント
    • SF Symbols
    • Icon Composer
    • サポート

    サポートを詳しく見る

    • 概要
    • ヘルプガイド
    • デベロッパフォーラム
    • フィードバックアシスタント
    • お問い合わせ

    特集

    • アカウントヘルプ
    • App Reviewガイドライン
    • App Store Connectヘルプ
    • 近日導入予定の要件
    • 契約およびガイドライン
    • システムステータス
  • クイックリンク

    • イベント
    • ニュース
    • Forum
    • サンプルコード
    • ビデオ
 

ビデオ

メニューを開く メニューを閉じる
  • コレクション
  • すべてのビデオ
  • 利用方法

その他のビデオ

  • 概要
  • Summary
  • コード
  • Appleアプリ内購入の新機能

    より手頃な料金オプションをアピールして長期契約を確保できる、12か月契約の月払いサブスクリプションのメリットについて紹介します。この新しい決済オプションの設定とテストを、App Store Connect、StoreKit API、Xcodeによるテストなどを活用して実施する方法を学びましょう。さらに、オファーコード利用のためのAPIの改善点や、App Reviewへの提出時の体験の向上についても解説します。

    関連する章

    • 0:01 - Introduction
    • 0:51 - Overview of monthly subscriptions with a 12-month commitment
    • 1:42 - Set up in App Store Connect
    • 2:28 - Merchandise with StoreKit
    • 6:55 - Monitor subscriptions with App Store Server APIs
    • 8:50 - Bundles and Suites
    • 9:26 - Offer code redemption
    • 10:35 - Enhanced submission experience
    • 12:38 - Next steps

    リソース

    • In-App Purchase types
    • Managing the life cycle of monthly subscriptions with a 12-month commitment
    • Supporting monthly subscriptions with a 12-month commitment
    • App Store Server Notifications V2
    • Supporting offer codes in your app
    • Implementing a store in your app using the StoreKit API
      • HDビデオ
      • SDビデオ

    関連ビデオ

    WWDC26

    • App Store ConnectのRetention Messagingの利用方法

    WWDC24

    • App Storeのオファーの実装

    WWDC23

    • StoreKit 2とXcodeでのStoreKitテストの新機能
    • SwiftUI向けのStoreKitについて

    WWDC22

    • App Store Connectの最新情報
  • このビデオを検索
    • 3:29 - Merchandise pricing terms with StoreKit views

      // Merchandise pricing terms with StoreKit views
      
      import StoreKit
      import SwiftUI
      
      struct SubscriptionStore: View {
          var body: some View {
              SubscriptionStoreView(groupID: "3F19ED53") {
                  // Custom marketing content
              }
              .preferredSubscriptionPricingTerms {_, subscriptionInfo in
                  subscriptionInfo.pricingTerms.first {
                      $0.billingPlanType == .monthly
                  }
              }
          }
      }
    • 4:02 - Get subscription pricing terms and make a purchase

      // Get subscription pricing terms and make a purchase
      
      import StoreKit
      
      var product: Product?
      // Fetch and assign product
      
      // Get the monthly billing plan's pricing terms for merchandising
      let pricingTerms = product?.subscription?.pricingTerms
        .first(where: {$0.billingPlanType == .monthly })
      if let pricingTerms {
        let monthlyPrice = pricingTerms.billingDisplayPrice
        let totalCommitmentPrice = pricingTerms.commitmentInfo.price
        // Display both monthly and total commitment price to the customer
      }
      
      let result = try? await product?.purchase(options: [.billingPlanType(.monthly)])
      switch result {
        // Verify the transaction, give the customer access to
        // the purchased content, and then finish the transaction
      }
    • 5:05 - Sheet to manage subscriptions by subscriptionGroupID

      // Sheet to manage subscriptions by subscriptionGroupID
      
      import SwiftUI
      import StoreKit
      
      struct ManageSubscriptionsButton: View {
          let subscriptionGroupID: String
          @State var presentingManageSubscriptionsSheet: Bool = false
      
          var body: some View {
              Button("Manage Subscriptions") {
                  presentingManageSubscriptionsSheet = true
              }
              .manageSubscriptionsSheet(
                  isPresented: $presentingManageSubscriptionsSheet,
                  subscriptionGroupID: subscriptionGroupID
              )
          }
      }
    • 7:45 - JWSTransaction (decoded) for a monthly subscription with a 12-month commitment

      // JWSTransaction (decoded) for a monthly subscription with a 12-month commitment
      
      {
          // …
          "expiresDate": 1783503660000, // for this billing period
          "price": 10990, // for this billing period
          "productId": "plus.pro.annual",
          "purchaseDate": 1780911660000,
          "type": "Auto-Renewable Subscription",
          "billingPlanType": "MONTHLY",
          "commitmentInfo": {
              "billingPeriodNumber": 1,
              "totalBillingPeriods": 12,
              "commitmentExpiresDate": 1812447660000,
              "commitmentPrice": 131880,
          }
      }
    • 7:59 - JWSRenewalInfo (decoded) for a monthly subscription with a 12-month commitment

      // JWSRenewalInfo (decoded) for a monthly subscription with a 12-month commitment
      
      {
          // … 
          "renewalBillingPlanType": "MONTHLY",
          "commitmentInfo": {
              "commitmentAutoRenewProductId": “plus.standard.annual”,
              "commitmentAutoRenewStatus": 0,
              "commitmentRenewalDate": 1812447660000,
              "commitmentRenewalPrice": 10990,
              "commitmentRenewalBillingPlanType": "BILLED_UPFRONT"
          }
      }
    • 9:58 - Sheet to redeem an offer code

      // Sheet to redeem an offer code
      
      struct OfferCodeRedemption: View {
          @State var presentingOfferCodeSheet: Bool = false
      
          var body: some View {
              Button("Redeem Offer Code") {
                  presentingOfferCodeSheet = true
              }
              .offerCodeRedemption(options: [], isPresented: $presentingOfferCodeSheet) {result in
                  switch result {
                  case .success(let verificationResult):
                      switch verificationResult {
                          // Verify the transaction, give the customer access to
                          // the purchased content, and then finish the transaction
                      }
                  case .failure(let error):
                      // Handle error
                  }
              }
          }
      }
    • 0:01 - Introduction
    • Learn how to merchandise products and grow your business with expanded subscription pricing options, updates to the offer code redemption API, and an enhanced App Store Connect submission experience.

    • 0:51 - Overview of monthly subscriptions with a 12-month commitment
    • Monthly subscriptions with a 12-month commitment is a new pricing option that lets customers pay monthly for an annual subscription; can be added to new or existing one-year subscriptions in App Store Connect to reach a wider customer base.

    • 1:42 - Set up in App Store Connect
    • Configure monthly subscriptions with a 12-month commitment in App Store Connect. Set up pricing, offers, and availability.

    • 2:28 - Merchandise with StoreKit
    • Learn how SKDemo merchandises monthly subscriptions with a 12-month commitment using StoreKit and learn how to test with StoreKit Testing in Xcode.

    • 6:55 - Monitor subscriptions with App Store Server APIs
    • New fields in App Store Server APIs to manage the subscription lifecycle of monthly subscriptions with a 12-month commitment.

    • 8:50 - Bundles and Suites
    • Offering subscription Bundles and Suites is another way to provide customers with more value in their subscriptions across apps.

    • 9:26 - Offer code redemption
    • The offer code redemption API is extended to take in a set of RedeemOption values and returns a VerificationResult.

    • 10:35 - Enhanced submission experience
    • When you’re ready to submit an app to the App Store, you can utilize our enhanced submission experience for In-App Purchases in App Store Connect.

    • 12:38 - Next steps
    • Utilize the new features; adopt the expanded subscription pricing, update offer code redemption call sites, test in Xcode 27 and sandbox, and submit through the enhanced App Review experience.

Developer Footer

  • ビデオ
  • WWDC26
  • Appleアプリ内購入の新機能
  • メニューを開く メニューを閉じる
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    Open Menu Close Menu
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • SF Symbols
    メニューを開く メニューを閉じる
    • アクセシビリティ
    • アクセサリ
    • Apple Intelligence
    • App Extension
    • App Store
    • オーディオとビデオ(英語)
    • 拡張現実
    • デザイン
    • 配信
    • 教育
    • フォント(英語)
    • ゲーム
    • ヘルスケアとフィットネス
    • アプリ内課金
    • ローカリゼーション
    • マップと位置情報
    • 機械学習とAI
    • オープンソース(英語)
    • セキュリティ
    • SafariとWeb(英語)
    メニューを開く メニューを閉じる
    • 英語ドキュメント(完全版)
    • 日本語ドキュメント(一部トピック)
    • チュートリアル
    • ダウンロード
    • フォーラム(英語)
    • ビデオ
    Open Menu Close Menu
    • サポートドキュメント
    • お問い合わせ
    • バグ報告
    • システム状況(英語)
    メニューを開く メニューを閉じる
    • Apple Developer
    • App Store Connect
    • Certificates, IDs, & Profiles(英語)
    • フィードバックアシスタント
    メニューを開く メニューを閉じる
    • Apple Developer Program
    • Apple Developer Enterprise Program
    • App Store Small Business Program
    • MFi Program(英語)
    • Mini Apps Partner Program
    • News Partner Program(英語)
    • Video Partner Program(英語)
    • セキュリティ報奨金プログラム(英語)
    • Security Research Device Program(英語)
    Open Menu Close Menu
    • Appleに相談
    • Apple Developer Center
    • App Store Awards(英語)
    • Apple Design Awards
    • Apple Developer Academy(英語)
    • WWDC
    最新ニュースを読む。
    Apple Developerアプリを入手する。
    Copyright © 2026 Apple Inc. All rights reserved.
    利用規約 プライバシーポリシー 契約とガイドライン