Supporting In-App Purchases

Your app can leverage two main types of in-app purchases:

Durable products are permanently owned by the user. Each one may only ever be purchased once by the same user. This is typically used to permanently activate app features or game levels. There is, however, the option to make these expire after a certain amount of time (currently 1, 3, 5, 7, 14, 30, 60, 90, 180, or 365 days). After a durable product expires, the same user may buy it again. This is currently the best approximation of a subscription model offered by the Windows Store.

Consumable products can be bought over and over. It’s up to your app to decide what it means to buy something multiple times, but a common example is a bundle of virtual coins ...

Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.