PaymentRequest: payerName property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.
ThepayerName read-only property of thePaymentResponse interface returns the name supplied by the user. Thisoption is only present when therequestPayerName option is set totrue in the options parameter of thePaymentRequest() constructor.
In this article
Value
A string containing the payer name.
Specifications
| Specification |
|---|
| Payment Request API> # payername-attribute> |