From d1bc29b41b13e5f9b4ed7bfe2dc3ac2a87a55f06 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 0e2db20..e50e541 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -5040,6 +5040,11 @@ export type GetAvailableSubscriptionOptionsQuery = { getAvailableSubscriptionOptions: { __typename?: "StripeSubscriptionOptionsGQL"; trialPeriodDays?: number | null; + appleIap: { + __typename?: "AppleIapSubscriptionOptionsGQL"; + enabled: boolean; + proMonthlyProductId?: string | null; + }; products: Array<{ __typename?: "StripeProductGQL"; id: string; @@ -10684,6 +10689,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