Hey,
Is there documentation or a guide anywhere on how to integrate Playfab catalog purchasing on UWP, which is able to run on both Xbox One and Windows 10 ?
Are there specific requirements and APIs for the purchasing to work with the Xbox store, or Playfab intended to be used with Untiy IAP ?
At the moment in our application, authentication is working, and we are able to pull all of our items from the Playfab catalog, but are unsure of the exact user model and how purchases are required to be made, given UWP cross platform, and Playfab capabilities.
Answer by SethDu · Oct 15, 2019 at 07:39 AM
Basically there are two types of IAP on PlayFab, non-receipt purchase and purchase with receipt. Apple App Store, Google Play Store, UWP and Xbox are the latter one. They will follow the same procedure, no matter the setup process or players’ purchasing process. Even though we don’t have any official documentation on UWP and XBOX, but you may still refer to: https://docs.microsoft.com/en-us/gaming/playfab/features/commerce/economy/getting-started-with-unity-iap-android.
After the implementation, a brief process of purchase will be: 1. Using 3rd-party SDK to make the purchase, 2. Receive the receipt and validate it via PlayFab SDK like ValidateWindowsStoreReceipt.