Payment request wants US phone number only

Issue #13827427 • Assigned to Josh H.


Aaron P.
Sep 18, 2017
This issue is public.
Found in
  • Microsoft Edge
Standard affected
Payment Request API

Found in build #
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

When using the PaymentRequest API and setting the requestPayerPhone option to true Edge will only allow you to enter a US phone number.

Either there should be no validation, or configurable validation to allow other locals to request the phone number of the user.

According the my browser user agent I’m not using en-US

> navigator.userAgent

"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16281"

> navigator.language


The spec seems to imply that the phone number just needs to match E.164 but doesn’t talk about enforcing validation by the browser.

Comparing with Chrome 63 I was able to submit with an AU phone number.


Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Molly D.”

  • I found a work-around for this, if you start would a country prefix, eg +61, it works. I was able to submit +61 41 111 111.

  • Microsoft Edge Team

    Changed Assigned To from “Molly D.” to “Kirupa C.”

    Changed Assigned To from “Kirupa C.” to “Josh H.”

You need to sign in to your Microsoft account to add a comment.

Sign in