In-app purchases

In-app purchases are supported in HoloLens, but there's some work to set them up.

To use the in app-purchase functionality, you must:

This API will bring up the stock Windows OS popup that shows the in-app purchase name, description, and price. The user can then choose purchase options. Once the action is completed, the app will need to present UI, which allows the user to switch back to its immersive view.

For apps targeting desktop-based Windows Mixed Reality immersive headsets, it isn't required to manually switch to a XAML view before calling the RequestProductPurchaseAsync API.