Secure context
This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
Experimental
This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The payerPhone
read-only property of the PaymentResponse
interface returns the phone number supplied by the user. This option is only present
when the requestPayerPhone
option is set to true
in the
PaymentOptions
object passed to the
PaymentRequest
constructor.
Syntax
var payerPhone = PaymentResponse.payerPhone;
Specifications
Specification | Status | Comment |
---|---|---|
Payment Request API | Candidate Recommendation | Initial definition. |
Browser compatibility
BCD tables only load in the browser