New! Apple In-App Purchases - StoreKit 2 [Beta]
Exciting news! We are happy to announce that we have added support for integrating Apple in-app purchases using Apple StoreKit 2 framework.
StoreKit 2 is the latest version of Apple’s in-app purchase framework, offering enhanced features and improved performance. So we strongly recommend using it to provide the best in-app purchase experience.
Key Benefits
- Enhanced Functionality: Advanced purchase validation and subscription management for secure, efficient transactions.
- Streamlined Integration: Simplified setup with a unified endpoint, reducing complexity and development time. Additionally, the new integration uses a pre-built connector, making configuration in the Cleeng Dashboard straightforward and user-friendly.
- Data Accuracy: Improved reporting with minimized discrepancies for better decision-making.
- Future-Proof Technology: Transitioning to StoreKit 2 with Cleeng keeps you aligned with the latest in-app purchase advancements.
Get Started with StoreKit 2
- If you are about to start integrating Apple in-app purchases using the StoreKit 2 framework - please follow our new integration tutorial.
- If you have been using our legacy integration utilizing StoreKit 1, migration to StoreKit 2 will be needed. For more information, please contact your dedicated account manager or our Broadcaster Success Specialists.
Please note that support for in-app Apple purchases utilizing StoreKit 2 is being released in the Beta version (you can check out here what the beta version means).
Improvements
API Throttling in Sandbox
We have introduced API throttling within the Cleeng sandbox environment. This new feature is designed to enhance the overall user experience while interacting with our sandbox.
Now the number of API requests that can be sent to our sandbox platform is limited. This rate limiting helps to prevent overwhelming the system and ensures that all users can work within a stable and efficient environment.
The introduction of rate limiting is aligned with the primary purpose of the sandbox, which is not intended for testing scenarios that involve high traffic or the processing of large volumes of data.
Instead, the sandbox serves as a controlled environment for developers and broadcasters to experiment and test their integrations without the complications that can arise from excessive load.
API Changes
Added
API Endpoints:
-
Apple StoreKit 2 purchase validation [Beta] - POST https://inapp.api.sandbox.cleeng.com/storekit2/purchase-validation - this new endpoint is used to notify Cleeng about Apple StoreKit 2 in-app payment and to validate the purchase.
It is worth noting that this purchase validation endpoint can be authorized with either a publisher (X-Publisher-Token) or JWT (Bearer) token. So you can use either a JWT or X-Publisher-Token header authorization depending on how you integrate with Cleeng (directly or through middleware).