Overview
ZeroSettle provides native support for Apple’s StoreKit 2 framework, enabling developers to integrate payment incentives directly into their existing in-app purchase flows. Wherever StoreKit subscription transactions are supported, you can add aZSCheckoutButton to offer incentivized checkout through ZeroSettle.
Implementation
Add theZSCheckoutButton to your subscription or product purchase flow by providing the StoreKit product ID and user ID:
Integration Example
Here’s a complete example showing how to integrate ZeroSettle with your existing StoreKit purchase flow:Technical Details
TheZSCheckoutButton component integrates directly with Apple’s StoreKit 2 SDK and ZeroSettle’s backend infrastructure to provide the following functionality:
The button uses the provided productId to match against your StoreKit product configuration and the userId to identify the purchaser. When tapped, it initiates a ZeroSettle checkout flow that automatically applies any applicable incentive discounts configured in your dashboard.
Button Parameters
Requirements
- iOS 15.0+ (StoreKit 2)
- ZeroSettle SDK 1.0+
- Xcode 13.0+
- Valid StoreKit product IDs configured in App Store Connect

