// the take
MerchantKit is a Swift framework for handling iOS In-App Purchases — non-consumables, consumables, and auto-renewing subscriptions — using StoreKit's original payment-queue APIs wrapped in a task-based interface. It's aimed at indie/small-team iOS developers who want a 'pro tier' unlock without writing their own receipt parsing and purchase-state tracking from scratch.
Zero third-party dependencies — it links only Foundation, StoreKit, SystemConfiguration and os, so you're not pulling in someone else's transitive dependency tree for something as sensitive as payments. The task abstraction (CommitPurchaseTask, RestorePurchasesTask, etc.) gives purchase flows a cleaner completion-handler API than raw SKPaymentTransactionObserver callbacks. It ships its own ASN.1 parser for local receipt validation, which sidesteps the usual OpenSSL dependency most receipt-validation code drags in. The subscription price/period formatters are a genuinely useful detail — they pull live terms so a free-trial label updates automatically if you change the offer in App Store Connect, no binary resubmission needed.
It's built on the legacy StoreKit 1 payment-queue model (SKPaymentQueue, SKPaymentTransactionObserver) with no sign of StoreKit 2's async/await APIs, which Apple has pushed hard since iOS 15 — adopting this now means building on an API surface Apple is steering developers away from. The README itself admits the test suite is patchy and the API isn't guaranteed stable, which is an honest disclosure but still a real risk for production code handling money. It explicitly deprioritizes security over convenience ('some level of piracy is inevitable and not worth chasing'), relying on local receipt validation rather than server-side verification, which is the weaker approach for anything beyond casual use. Forgetting to implement the consumable-handler delegate method triggers a runtime fatal error rather than a compile-time or gracefully-handled error — a sharp edge for a payments library. Last commit was mid-2024 with a single maintainer, so don't count on quick fixes if StoreKit changes break something.
We read the README, the directory tree and a key source file in November 2026. Nobody pays to be listed. How we judge →