Skip to content

[Digital Goods] Supported account-bound Durable entitlement verification for a Microsoft Store PWA #1417

Open

Description

@avihd5-tech

Hello Microsoft Edge / Microsoft Store team,

We are planning Game Buddy, a local-first Windows PWA distributed through Microsoft Store. The app is free, with a planned one-time Durable/Forever Plus Local add-on. There is no separate Game Buddy account, cloud sync or subscription. This is documentation-only preflight; no Store product, package, backend verifier or purchase has been created for this proof.

Microsoft Learn describes Digital Goods current purchases but recommends direct developer-to-provider verification before entitlement is granted. The Edge explainer describes the purchase token used for purchase-list operations as an add-on Product ID rather than a unique purchase identifier. We need the supported production flow that binds entitlement to the actual current Store account.

Could you clarify the following parts of this single integration question?

  1. Store-account credential: Can a Store-installed Edge PWA obtain a credential bound to the active Microsoft Store account for Collections API verification? How is this account distinguished from the Windows user and Edge profile, and how are changes of Store account detected?

  2. JavaScript key API: Is there a supported JavaScript API in Edge/PWA to generate a Store ID key or customer collections identifier? Please identify the API, supported versions and package requirements. A WinRT/UWP JavaScript projection would not establish browser availability.

  3. Current entitlement: Is Digital Goods listPurchases() itself an approved trusted source for a Durable/Forever entitlement, or is additional Microsoft verification needed? What freshness, caching and account-switch guarantees apply, and how should the verification recommendation in Learn be implemented?

  4. Backend binding: If a verifier is needed, what exact flow binds the Digital Goods result to that Store customer without an independent application account? Please identify the credential, verification endpoint, required registrations, and protection against replay or using account A's evidence while B is active.

  5. Token semantics: What does purchaseToken represent today for listPurchases(), listPurchaseHistory() and PaymentResponse.details: a product, transaction, customer or another value? Can any of these values independently prove a particular customer's current ownership?

  6. Refund/revocation: What supported mechanism reports loss of a Durable/Forever entitlement to a PWA? How should revocation be distinguished from a timeout, Store outage or stale response? Does an approved refund always revoke this entitlement, and what propagation guarantees apply?

  7. Minimum alternative and offline: If pure PWA lacks sufficient trusted Store context, what minimum supported host/bridge or other API do you recommend? For Windows.Services.Store, should current-user ownership use GetUserCollectionAsync/IsInUserCollection rather than device-cached AddOnLicenses? Please clarify A-to-B isolation when the Windows user is unchanged, legitimate shared-use licenses, offline persistence without an app-imposed expiry, and online restoration after reinstall or storage clearing.

  8. Promotional-code parity: Does redemption of a code for the final Durable/Forever add-on produce ownership surfaced equivalently for restore without a second charge, account switching and offline use? Which paid-purchase or revocation scenarios cannot be established by redemption?

  9. Restricted proof distribution: Can this integration be tested with Private Audience or another restricted Store route without public release? What publication/certification prerequisites apply to the parent app, add-on and promotional code?

Please provide current Microsoft documentation or a supported sample covering the complete account-bound flow, and identify steps requiring native code or a backend. If another Microsoft team owns this integration, please identify the appropriate technical escalation channel.

Thank you,
Game Buddy

References:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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