Skip to content

StoreProduct.RequestPurchaseAsync fail to purchase when Run as Administrator #5162

@oden3d

Description

@oden3d

Describe the bug

Call StoreProduct.RequestPurchaseAsync to purchase Addons just always return NotPurchased when WinUI3 app run as Administrator.

So user can not purchase any Addon in WinUI3 app when run as Administrator.
Any workaround on this critical block issue?

Steps to reproduce the bug

  1. Create WinUI3 project to use StoreProduct.RequestPurchaseAsync
  2. Run as Administrator and try to purchase.
  3. Store popup will blink for a second then return NotPurchased status.

Expected behavior

User able to purchase Addons when WinUI3 app run as Administrator.

Screenshots

No response

NuGet package version

Windows App SDK 1.6.3: 1.6.250108002

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 24H2 (22621, October 2024 Update)

IDE

Visual Studio 2022

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions