Receipt Validation for iOS

Starting with AppsFlyer's iOS SDK version 2.5.3.12, you can perform receipt validation for in-app purchases in the App Store. 

The Receipt Validation flow is as follows:

1. User performs an in-app purchase

2. Apple store responds with success or fail (authentication)

3. Developer calls the SDK Receipt Validation function (validateAndTrackInAppPurchase) with receipt data

4. The SDK calls AppsFlyer's validation service with the receipt data

5. AppsFlyer's validation service validates the transaction with Apple's servers

6. Apple's servers respond with success or failure

7. AppsFlyer's validation service transfers the response to the SDK

8. The SDK transfers the receipt validation response to the App

Please see below a sample of a Receipt Validation response:

Screen_Shot_2015-02-26_at_12.26.45.png

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Powered by Zendesk