See a working in-app purchase in under 10 minutes. No PurchaseKit account or Apple Developer account needed.
The demo runs entirely locally using Xcode's StoreKit Configuration. You'll make a test purchase and see how PurchaseKit handles the entire flow.
git clone https://github.com/purchasekit/purchasekit-demo.git
cd purchasekit-demo
cd demo/rails/pay
bin/setup
The server starts on http://localhost:3000. Leave this terminal running.
demo/ios/PurchaseKitDemo.xcodeproj in XcodeThe app connects to your local Rails server automatically.
user@example.com / passwordThat's it. You just completed an in-app purchase flow!
Pay::Subscription record was createdIn production, steps 4-5 happen via PurchaseKit's webhook infrastructure instead of locally.
Ready to add purchases to your app?