PlayFab supports in-app purchase via Apple’s App Store by providing receipt validation, a critical feature to reduce fraud and prevent hacking by players. iOS games first complete a transaction on the client, then submit the receipt to PlayFab. PlayFab verifies with Apple that the receipt is valid, and also checks an internal database to make sure this is the first time the receipt is being presented. Only then does PlayFab credit the player’s account with the item (or currency) purchased.
How it Works
After you setup your app in the App Store developer portal, you will be given the App Bundle ID. Install this integration, then provide the Bundle ID. PlayFab will use this Bundle ID to validate receipts, and also to enable purchase recovery.