From 61f57cc9efb7ff1c8c25e55401ba1e03da105eee Mon Sep 17 00:00:00 2001 From: Loewy Date: Tue, 16 Jun 2026 13:42:20 -0700 Subject: [PATCH] Add Apple IAP product config to subscription options --- src/index.tsx | 9 +++++++++ src/operations/payments.gql | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index a3a7497..195de0b 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -5008,6 +5008,11 @@ export type GetAvailableSubscriptionOptionsQuery = { getAvailableSubscriptionOptions: { __typename?: "StripeSubscriptionOptionsGQL"; trialPeriodDays?: number | null; + appleIap: { + __typename?: "AppleIapSubscriptionOptionsGQL"; + enabled: boolean; + proMonthlyProductId?: string | null; + }; products: Array<{ __typename?: "StripeProductGQL"; id: string; @@ -10624,6 +10629,10 @@ export const GetAvailableSubscriptionOptionsDocument = gql` query GetAvailableSubscriptionOptions { getAvailableSubscriptionOptions { trialPeriodDays + appleIap { + enabled + proMonthlyProductId + } products { id name diff --git a/src/operations/payments.gql b/src/operations/payments.gql index dd67eca..a1d3c3f 100644 --- a/src/operations/payments.gql +++ b/src/operations/payments.gql @@ -29,6 +29,10 @@ mutation CreateCustomerPortalSession { query GetAvailableSubscriptionOptions { getAvailableSubscriptionOptions { trialPeriodDays + appleIap { + enabled + proMonthlyProductId + } products { id name