MicrosoftEdge / MicrosoftEdge/MSEdgeExplainers

[Digital Goods] PaymentRequest supportedMethods not works

Open
#1,249 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Digital Goods API
Dominant language
HTML
Stars
1.4k
Forks
286
Avg merge
3d 1h
Merged PRs (30d)
8

Description

I am testing the purchase flow within the Microsoft Store–installed PWA.

I can obtain digital goods according to the following documentation, but when I initiate a purchase, the purchase dialog pops up and disappears immediately.

https://learn.microsoft.com/en-us/microsoft-edge/progressive-web-apps/how-to/digital-goods-api#purchasing-an-item-paymentrequest-constructor-and-show-method

const request = new PaymentRequest([

	  {

			supportedMethods:"https://store.microsoft.com/billing",

            data: { sku: "lse12" }

	  }

	]);

	request.canMakePayment().then(result => {

	  if (result) {

	    console.log("This browser supports the specified payment method.")

	  } else {

	    console.log("This browser does NOT support the specified payment method.")

	  }

	}).catch(err => {

	   console.error("canMakePayment Error", err);

	});

	request.show()

	  .then(response => {

	    console.log("Success", response);

	    response.complete("success");

	  })

	  .catch(err => {

	    console.error("Pay Error", err);

	  });

This browser supports the specified payment method.

The console shows the following error.

Cross-site redirect from "https://store.microsoft.com/billing" to "https://www.microsoftstore.com/" not allowed for payment manifests.

Pay Error AbortError: User closed the payment app.

curl -I https://store.microsoft.com/billing
  HTTP/1.1 301 Moved Permanently
  Date: Tue, 10 Feb 2026 09:52:20 GMT
  Server: Kestrel
  Location: https://www.microsoftstore.com/
  Strict-Transport-Security: max-age=31536000

I also tested the alternative URL : https://www.microsoftstore.com/billing. Unfortunately, it also returns a 301 redirect (to https://www.microsoft.com/store/b/home), so it does not work either.

I am concerned about why the official payment URL (https://store.microsoft.com/billing) is returning a 301 redirect. Is this a known bug, or is there a specific configuration required in Partner Center to avoid this issue?

This problem is currently blocking users from making purchases, which is causing significant disruption.

Looking forward to your help.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the PaymentRequest purchasing flow and reproduce the redirect using the two payment URLs in the report, including the shown curl checks. Investigate whether the payment manifest rejects the redirects and whether Partner Center has a required configuration. Done means documenting the cause and a verified URL or configuration that keeps purchases working.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
payments, web-dev
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.