Repository navigation
Full Changelog: https://github.com/jaywcjlove/StoreKitHelper/commits/v2.11.0
Multi-seat Subscriptions: Quote seat totals, buy a group, and track active seats for purchasers and assigned members
A multi-seat subscription uses the same product ID as an individual subscription. seats is the total number of seats after the purchase, not the number of seats to add. A group can hold 100 people, including the purchaser. Buying fewer seats than the group already has fails; the purchaser reduces the group in subscription settings, and that change applies at the next renewal.
let tiers = [
MultiSeatPriceTier(minimumSeats: 1, maximumSeats: 5, pricePerSeat: Decimal(string: "9.99")!),
MultiSeatPriceTier(minimumSeats: 6, maximumSeats: 10, pricePerSeat: Decimal(string: "7.99")!),
]
let total = product.formattedMultiSeatTotal(seatCount: 8, tiers: tiers) // 5 × 9.99 + 3 × 7.99
await store.purchase(product, seats: 8, options: [
.appAccountToken(appAccountToken)
])
let seats = store.activeSeatCount(for: product.id)
store.presentMultiSeatManagement()Pass suppressInvitationSheet: true to skip the system invitation sheet after a group purchase. Assigned members and people who receive a seat from an organization unlock through their own transaction. multiSeatGrants records the active seat count, revoked seats, invitation model, and original transaction ID. Members invited through a developer-hosted flow have no App Store transaction, so they are not in that map.
purchase(_:seats:) calls StoreKit's Product.PurchaseOption.seats(_:). That symbol ships in the Xcode 27.3 SDK and back-deploys to the system's purchase flow. A build made with an older SDK reports StoreKitError.multiSeatPurchaseUnavailable instead of buying a single seat. Seat quotes and entitlement tracking do not need that symbol.