From 61799bd4debe3f62950aafe9fea7299e9de07552 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 14a2368..b3c15a4 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -5012,6 +5012,11 @@ export type GetAvailableSubscriptionOptionsQuery = { getAvailableSubscriptionOptions: { __typename?: "StripeSubscriptionOptionsGQL"; trialPeriodDays?: number | null; + appleIap: { + __typename?: "AppleIapSubscriptionOptionsGQL"; + enabled: boolean; + proMonthlyProductId?: string | null; + }; products: Array<{ __typename?: "StripeProductGQL"; id: string; @@ -10632,6 +10637,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