question

zipswich avatar image
0 Votes"
zipswich asked ·

IAP license is lost after Windows 10 is updated to 1909 18363.815

The app uses CurrentApp.LicenseInformation to retrieve a license. The retrieved LicenseInfo.ProductLicenses have the license, but it is not active. Many users have reported this problem. The problem can be solved by updating Windows 10 to preview 19041.208.

Could anyone shed some light on this problem?

windows-uwp
· 4
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Are you using Windows.ApplicationModel.Store namespace for your In-app purchase? If you are, it is recommended that you use the Windows.Services.Store namespace instead. Since the Windows.ApplicationModel.Store namespace is no longer being updated with new features. For more details about this, you can refer to this document. If you use new namespace and test again, will the same issue occur?

1 Vote 1 · ·

Thanks a lot. It did it.

0 Votes 0 · ·

Hi, I have converted my comment to answer, you can mark it to help others who have the same issue.

1 Vote 1 · ·
Show more comments

1 Answer

FayWang-MSFT avatar image
1 Vote"
FayWang-MSFT answered ·

Hello,

Welcome to Microsoft Q&A!

Based on this document: In-app purchases and trials using the Windows.ApplicationModel.Store namespace, it mentions:

The Windows.ApplicationModel.Store namespace is no longer being updated with new features. If your project targets Windows 10 Anniversary Edition (10.0; Build 14393) or a later release in Visual Studio (that is, you are targeting Windows 10, version 1607, or later), we recommend that you use the Windows.Services.Store namespace instead.

So it is recommeded that you use Windows.Services.Store namespace instead for your In-app purchase.






· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.