From 89b2ac93a069152cb9a74b7a5c8d02fdd6f295e4 Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Mon, 10 May 2021 11:23:21 +0900 Subject: [PATCH] Deprecate PaymentAddress, PayerErrors, and related members MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/w3c/payment-request/commit/486c07a (https://github.com/w3c/payment-request/pull/955) removed the PaymentAddress and PayerErrors objects from the Payment Request specification — as well as removing related members from the PaymentRequest, PaymentResponse, and PaymentDetailsUpdate objects. So this change adds Deprecated and Non-standard banners to the PaymentAddress and PayerErrors articles, as well as to he articles for all their member, and to the articles for the related members of the PaymentRequest, PaymentResponse, and PaymentDetailsUpdate objects. The change also removes all the Specifications tables for the deprecated features (they’re no longer in the spec). Related BCD change: https://github.com/mdn/browser-compat-data/pull/10413 --- .../web/api/payererrors/email/index.html | 21 ++------- files/en-us/web/api/payererrors/index.html | 29 +++--------- .../en-us/web/api/payererrors/name/index.html | 21 ++------- .../web/api/payererrors/phone/index.html | 19 +------- .../api/paymentaddress/addressline/index.html | 21 +-------- .../web/api/paymentaddress/city/index.html | 19 +------- .../web/api/paymentaddress/country/index.html | 19 +------- .../dependentlocality/index.html | 21 +-------- files/en-us/web/api/paymentaddress/index.html | 44 ++++++------------- .../paymentaddress/languagecode/index.html | 2 +- .../paymentaddress/organization/index.html | 21 +-------- .../web/api/paymentaddress/phone/index.html | 19 +------- .../api/paymentaddress/postalcode/index.html | 21 +-------- .../api/paymentaddress/recipient/index.html | 21 +-------- .../web/api/paymentaddress/region/index.html | 20 +-------- .../api/paymentaddress/regioncode/index.html | 2 +- .../api/paymentaddress/sortingcode/index.html | 21 +-------- .../web/api/paymentaddress/tojson/index.html | 19 +------- .../api/paymentdetailsupdate/error/index.html | 21 +-------- .../web/api/paymentdetailsupdate/index.html | 4 +- .../shippingaddresserrors/index.html | 21 +-------- files/en-us/web/api/paymentrequest/index.html | 10 ++--- .../onshippingaddresschange/index.html | 20 +-------- .../onshippingoptionchange/index.html | 20 +-------- .../paymentrequest/shippingaddress/index.html | 19 +------- .../shippingaddresschange_event/index.html | 19 +------- .../paymentrequest/shippingoption/index.html | 19 +------- .../shippingoptionchange_event/index.html | 19 +------- .../paymentrequest/shippingtype/index.html | 19 +------- .../en-us/web/api/paymentresponse/index.html | 12 ++--- .../onpayerdetailchange/index.html | 20 +-------- .../payerdetailchange_event/index.html | 19 +------- .../api/paymentresponse/payeremail/index.html | 19 +------- .../api/paymentresponse/payername/index.html | 19 +------- .../api/paymentresponse/payerphone/index.html | 19 +------- .../shippingaddress/index.html | 19 +------- .../paymentresponse/shippingoption/index.html | 19 +------- 37 files changed, 68 insertions(+), 629 deletions(-) diff --git a/files/en-us/web/api/payererrors/email/index.html b/files/en-us/web/api/payererrors/email/index.html index 1deb556db105d4a..77fafbb6e319247 100644 --- a/files/en-us/web/api/payererrors/email/index.html +++ b/files/en-us/web/api/payererrors/email/index.html @@ -14,7 +14,9 @@ - Validation - payment --- -
{{APIRef("Payment Request API")}}{{draft}}
+
{{APIRef("Payment Request API")}} +{{Deprecated_header}} +{{Non-standard_header}}

The email property is included in a {{domxref("PayerErrors")}} object if the {{domxref("PaymentResponse.payerEmail")}} @@ -59,23 +61,6 @@

Example

} -

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment','#dom-payererrors-email','PayerErrors.email')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PayerErrors.email")}}

diff --git a/files/en-us/web/api/payererrors/index.html b/files/en-us/web/api/payererrors/index.html index 06974d80d2a01ed..b569377e0ea9429 100644 --- a/files/en-us/web/api/payererrors/index.html +++ b/files/en-us/web/api/payererrors/index.html @@ -15,7 +15,9 @@ - payment - paymentAddress --- -
{{APIRef("Payment Request API")}}
+
{{APIRef("Payment Request API")}} +{{Deprecated_header}} +{{Non-standard_header}}

The PayerErrors dictionary is used by the Payment Request API to indicate the presence of—and to explain how to correct—validation errors in the payer details. For each field in the payment information that fails validation, the PayerErrors object contains a string explaining the error.

@@ -24,33 +26,14 @@

Properties

-
{{domxref("PayerErrors.email", "email")}} {{optional_inline}}
+
{{domxref("PayerErrors.email", "email")}} {{optional_inline}}{{Deprecated_inline}}
If present, this {{domxref("DOMString")}} is a string describing the validation error from which the payer's email address—as given by {{domxref("PaymentResponse.payerEmail")}}—currently suffers. If this property is absent from the PayerErrors object, the email address passed validation.
-
{{domxref("PayerErrors.name", "name")}} {{optional_inline}}
+
{{domxref("PayerErrors.name", "name")}} {{optional_inline}}{{Deprecated_inline}}
If this {{domxref("DOMString")}} is present in the object, the {{domxref("PaymentResponse.payerName")}} property failed validation, and this string explains what needs to be corrected. If this property is absent, the paer name is fine
-
{{domxref("PayerErrors.phone", "phone")}} {{optional_inline}}
+
{{domxref("PayerErrors.phone", "phone")}} {{optional_inline}}{{Deprecated_inline}}
If present, this string is an error message explaining why the payer's phone number ({{domxref("PaymentResponse.payerPhone")}}) failed validation. This property is absent if the phone number passed validation.
-

Example

- -

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment','#dom-payererrors','PayerErrors')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PayerErrors")}}

diff --git a/files/en-us/web/api/payererrors/name/index.html b/files/en-us/web/api/payererrors/name/index.html index d9cb7722d56027e..565d64be020be6d 100644 --- a/files/en-us/web/api/payererrors/name/index.html +++ b/files/en-us/web/api/payererrors/name/index.html @@ -16,7 +16,9 @@ - name - payment --- -
{{APIRef("Payment Request API")}}{{draft}}
+
{{APIRef("Payment Request API")}} +{{Deprecated_header}} +{{Non-standard_header}}

The name property is included in a {{domxref("PayerErrors")}} object if the {{domxref("PaymentResponse.payerName", @@ -64,23 +66,6 @@

Example

} -

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment','#dom-payererrors-name','PayerErrors.name')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PayerErrors.name")}}

diff --git a/files/en-us/web/api/payererrors/phone/index.html b/files/en-us/web/api/payererrors/phone/index.html index f2d34cdf3f6fce1..4b2775ca59ea378 100644 --- a/files/en-us/web/api/payererrors/phone/index.html +++ b/files/en-us/web/api/payererrors/phone/index.html @@ -17,7 +17,7 @@ - Validation - payment --- -
{{APIRef("Payment Request API")}}{{draft}}
+
{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The phone property is found in a {{domxref("PayerErrors")}} object if the {{domxref("PaymentResponse.payerPhone", @@ -67,23 +67,6 @@

Example

} -

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment','#dom-payererrors-phone','PayerErrors.phone')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PayerErrors.phone")}}

diff --git a/files/en-us/web/api/paymentaddress/addressline/index.html b/files/en-us/web/api/paymentaddress/addressline/index.html index 5625504c98b3479..c9ef9f1ec9acec2 100644 --- a/files/en-us/web/api/paymentaddress/addressline/index.html +++ b/files/en-us/web/api/paymentaddress/addressline/index.html @@ -13,7 +13,7 @@ - payment - paymentAddress --- -

{{APIRef("Payment Request API")}}

+

{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The addressLine read-only property of the {{domxref('PaymentAddress')}} interface is an array of @@ -68,25 +68,6 @@

Value

London SE1 0HS
United Kingdom

-

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
- {{SpecName('Payment','#dom-paymentaddress-addressline','PaymentAddress.addressLine')}} - {{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentAddress.addressLine")}}

diff --git a/files/en-us/web/api/paymentaddress/city/index.html b/files/en-us/web/api/paymentaddress/city/index.html index 9d640d956222753..f8d8d041bb4d397 100644 --- a/files/en-us/web/api/paymentaddress/city/index.html +++ b/files/en-us/web/api/paymentaddress/city/index.html @@ -16,7 +16,7 @@ - town - village --- -
{{APIRef("Payment Request API")}}
+
{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}}

The city read-only property of the {{domxref('PaymentAddress')}} interface returns a string containing the city or @@ -32,23 +32,6 @@

Value

A {{domxref("DOMString")}} indicating the city or town portion of the address described by the {{domxref("PaymentAddress")}} object.

-

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment','#dom-paymentaddress-city','PaymentAddress.city')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentAddress.city")}}

diff --git a/files/en-us/web/api/paymentaddress/country/index.html b/files/en-us/web/api/paymentaddress/country/index.html index 57438b76934f343..0f99641bb2f51ef 100644 --- a/files/en-us/web/api/paymentaddress/country/index.html +++ b/files/en-us/web/api/paymentaddress/country/index.html @@ -13,7 +13,7 @@ - payment - paymentAddress --- -

{{APIRef("Payment Request API")}}

+

{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The country read-only property of the {{domxref('PaymentAddress')}} interface is a string identifying the address's country @@ -45,23 +45,6 @@

Usage notes

{{domxref("AddressErrors.country", "country")}} property is a string indicating the validation error that occurred and, if possible, suggests how to fix it.

-

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment','#dom-paymentaddress','PaymentAddress.country')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

diff --git a/files/en-us/web/api/paymentaddress/dependentlocality/index.html b/files/en-us/web/api/paymentaddress/dependentlocality/index.html index 8fa70b51751afc9..cfc2dcd0bbb947a 100644 --- a/files/en-us/web/api/paymentaddress/dependentlocality/index.html +++ b/files/en-us/web/api/paymentaddress/dependentlocality/index.html @@ -10,7 +10,7 @@ - Reference - paymentAddress --- -
{{APIRef("Payment Request API")}}
+
{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The read-only dependentLocality property of the {{domxref('PaymentAddress')}} interface is a string containing a @@ -35,25 +35,6 @@

Value

locality). This is a disambiguating feature of addresses in places where a city may have areas that duplicate street names.

-

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
- {{SpecName('Payment','#dom-paymentaddress-dependentlocality','PaymentAddress.dependentLocality')}} - {{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentAddress.dependentLocality")}}

diff --git a/files/en-us/web/api/paymentaddress/index.html b/files/en-us/web/api/paymentaddress/index.html index 7753c02b0194543..1f06870fc72195f 100644 --- a/files/en-us/web/api/paymentaddress/index.html +++ b/files/en-us/web/api/paymentaddress/index.html @@ -10,8 +10,7 @@ - Reference - paymentAddress --- -
{{APIRef("Payment Request API")}}{{SecureContext_Header}}
- +
{{APIRef("Payment Request API")}}{{SecureContext_Header}} {{Deprecated_header}}{{Non-standard_header}}

The PaymentAddress interface of the Payment Request API is used to store shipping or payment address information.

It may be useful to refer to the Universal Postal Union web site's Addressing S42 standard materials, which provide information about international standards for postal addresses.

@@ -19,27 +18,27 @@

Properties

-
{{domxref('PaymentAddress.addressLine')}} {{readonlyinline}}
+
{{domxref('PaymentAddress.addressLine')}} {{readonlyinline}}{{deprecated_inline}}
An array of {{domxref("DOMString")}} objects providing each line of the address not included among the other properties. The exact size and content varies by country or location and can include, for example, a street name, house number, apartment number, rural delivery route, descriptive instructions, or post office box number.
-
{{domxref('PaymentAddress.country')}} {{readonlyinline}} 
+
{{domxref('PaymentAddress.country')}} {{readonlyinline}}{{deprecated_inline}} 
A {{domxref("DOMString")}} specifying the country in which the address is located, using the {{interwiki("wikipedia", "ISO-3166-1 alpha-2")}} standard. The string is always given in its canonical upper-case form. Some examples of valid country values: "US", "GB", "CN", or "JP".
-
{{domxref('PaymentAddress.city')}} {{readonlyinline}}
+
{{domxref('PaymentAddress.city')}} {{readonlyinline}}{{deprecated_inline}}
A {{domxref("DOMString")}} which contains the city or town portion of the address.
-
{{domxref('PaymentAddress.dependentLocality')}} {{readonlyinline}}
+
{{domxref('PaymentAddress.dependentLocality')}} {{readonlyinline}}{{deprecated_inline}}
A {{domxref("DOMString")}} giving the dependent locality or sublocality within a city, for example, a neighborhood, borough, district, or UK dependent locality.
-
{{domxref('PaymentAddress.organization')}} {{readonlyinline}}
+
{{domxref('PaymentAddress.organization')}} {{readonlyinline}}{{deprecated_inline}}
A {{domxref("DOMString")}} specifying the name of the organization, firm, company, or institution at the payment address.
-
{{domxref('PaymentAddress.phone')}} {{readonlyinline}}
+
{{domxref('PaymentAddress.phone')}} {{readonlyinline}}{{deprecated_inline}}
A {{domxref("DOMString")}} specifying the telephone number of the recipient or contact person.
-
{{domxref('PaymentAddress.postalCode')}} {{readonlyinline}}
+
{{domxref('PaymentAddress.postalCode')}} {{readonlyinline}}{{deprecated_inline}}
A {{domxref("DOMString")}} specifying a code used by a jurisdiction for mail routing, for example, the ZIP code in the United States or the PIN code in India.
-
{{domxref('PaymentAddress.recipient')}} {{readonlyinline}}
+
{{domxref('PaymentAddress.recipient')}} {{readonlyinline}}{{deprecated_inline}}
A {{domxref("DOMString")}} giving the name of the recipient, purchaser, or contact person at the payment address.
-
{{domxref('PaymentAddress.region')}} {{readonlyinline}}
+
{{domxref('PaymentAddress.region')}} {{readonlyinline}}{{deprecated_inline}}
A {{domxref("DOMString")}} containing the top level administrative subdivision of the country, for example a state, province, oblast, or prefecture.
-
{{domxref('PaymentAddress.regionCode')}} {{readonlyinline}}
+
{{domxref('PaymentAddress.regionCode')}} {{readonlyinline}}{{deprecated_inline}}
A {{domxref("DOMString")}} specifying the region of the address, represented as a "code element" of an ISO3166-2 country subdivision name (e.g. "QLD" for Queensland, Australia, "CA" for California, and so on).
-
{{domxref('PaymentAddress.sortingCode')}} {{readonlyinline}}
+
{{domxref('PaymentAddress.sortingCode')}} {{readonlyinline}}{{deprecated_inline}}
A {{domxref("DOMString")}} providing a postal sorting code such as is used in France.
@@ -59,7 +58,7 @@

Obsolete properties

Methods

-
{{domxref('PaymentAddress.toJSON()')}}
+
{{domxref('PaymentAddress.toJSON()')}}{{deprecated_inline}}
A standard serializer that returns a JSON representation of the PaymentAddress object's properties.
@@ -124,23 +123,6 @@

Examples

} } -

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment','#paymentaddress-interface','PaymentAddress')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentAddress")}}

diff --git a/files/en-us/web/api/paymentaddress/languagecode/index.html b/files/en-us/web/api/paymentaddress/languagecode/index.html index b16db3a9a5d9ee5..8001c23584be8cc 100644 --- a/files/en-us/web/api/paymentaddress/languagecode/index.html +++ b/files/en-us/web/api/paymentaddress/languagecode/index.html @@ -17,7 +17,7 @@ - WebRTC API - rtc --- -

{{deprecated_header}}{{APIRef("Payment Request API")}}

+

{{deprecated_header}}{{APIRef("Payment Request API")}}{{Non-standard_header}}

The languageCode read-only property of the {{domxref('PaymentAddress')}} interface returns a string containing diff --git a/files/en-us/web/api/paymentaddress/organization/index.html b/files/en-us/web/api/paymentaddress/organization/index.html index 60530163c5f931f..2c3f8b5b17003e6 100644 --- a/files/en-us/web/api/paymentaddress/organization/index.html +++ b/files/en-us/web/api/paymentaddress/organization/index.html @@ -16,7 +16,7 @@ - organization - paymentAddress --- -

{{APIRef("Payment Request API")}}
+
{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The organization read-only property of the {{domxref('PaymentAddress')}} interface returns a string containing @@ -34,25 +34,6 @@

Value

be the name of the organization that is to receive the shipment for shipping addresses, or which is repsonsible for payment for payment addresses.

-

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
- {{SpecName('Payment','#dom-paymentaddress-organization','PaymentAddress.organization')}} - {{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentAddress.organization")}}

diff --git a/files/en-us/web/api/paymentaddress/phone/index.html b/files/en-us/web/api/paymentaddress/phone/index.html index ca27ec6a6888fc7..fdf4cccac2a55cf 100644 --- a/files/en-us/web/api/paymentaddress/phone/index.html +++ b/files/en-us/web/api/paymentaddress/phone/index.html @@ -16,7 +16,7 @@ - payment - paymentAddress --- -
{{APIRef("Payment Request API")}}
+
{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The read-only phone property of the {{domxref('PaymentAddress')}} interface returns a string containing the telephone number @@ -33,23 +33,6 @@

Value

shipment or of the responsible party for payment. If no phone number is available, this value is an empty string.

-

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment','#dom-paymentaddress-phone','PaymentAddress.phone')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentAddress.phone")}}

diff --git a/files/en-us/web/api/paymentaddress/postalcode/index.html b/files/en-us/web/api/paymentaddress/postalcode/index.html index b7dc5b4211ae4d6..ec7e055d07c859c 100644 --- a/files/en-us/web/api/paymentaddress/postalcode/index.html +++ b/files/en-us/web/api/paymentaddress/postalcode/index.html @@ -20,7 +20,7 @@ - paymentAddress - postalCode --- -
{{APIRef("Payment Request API")}}
+
{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The postalCode read-only property of the {{domxref('PaymentAddress')}} interface returns a string containing a code used by a @@ -43,25 +43,6 @@

Value

"post code" or "postal code." In the United States, the ZIP code is used. India uses PIN codes.

-

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
- {{SpecName('Payment','#dom-paymentaddress-postalcode','PaymentAddress.postalCode')}} - {{Spec2('Payment')}}Initial definition.
-

Browser compatibility

diff --git a/files/en-us/web/api/paymentaddress/recipient/index.html b/files/en-us/web/api/paymentaddress/recipient/index.html index 51215fd18d936b9..c702be2b9adcea2 100644 --- a/files/en-us/web/api/paymentaddress/recipient/index.html +++ b/files/en-us/web/api/paymentaddress/recipient/index.html @@ -10,7 +10,7 @@ - Reference - paymentAddress --- -
{{APIRef("Payment Request API")}}
+
{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The read-only recipient property of the {{domxref('PaymentAddress')}} interface returns a string containing the name of the @@ -27,25 +27,6 @@

Value

purchase, or the name of a contact person in other contexts. If no name is available, this string is empty.

-

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
- {{SpecName('Payment','#dom-paymentaddress-recipient','PaymentAddress.recipient')}} - {{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentAddress.recipient")}}

diff --git a/files/en-us/web/api/paymentaddress/region/index.html b/files/en-us/web/api/paymentaddress/region/index.html index 55d0a8fd05f9c3d..b29f0b17193a491 100644 --- a/files/en-us/web/api/paymentaddress/region/index.html +++ b/files/en-us/web/api/paymentaddress/region/index.html @@ -18,7 +18,7 @@ - region - state --- -
{{APIRef("Payment Request API")}}
+
{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The read-only region property of the {{domxref('PaymentAddress')}} interface returns a string containing the top-level @@ -44,24 +44,6 @@

Usage notes

intended purpose (e.g., to ship a product). However, always verify addresses to make sure what the user provides is usable.

-

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment','#dom-paymentaddress-region','PaymentAddress.region')}} - {{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentAddress.region")}}

diff --git a/files/en-us/web/api/paymentaddress/regioncode/index.html b/files/en-us/web/api/paymentaddress/regioncode/index.html index 6097d6368b2bc57..13450f7479fa99e 100644 --- a/files/en-us/web/api/paymentaddress/regioncode/index.html +++ b/files/en-us/web/api/paymentaddress/regioncode/index.html @@ -18,7 +18,7 @@ - regionCode - state --- -

{{APIRef("Payment Request API")}}{{deprecated_header}}

+

{{APIRef("Payment Request API")}}{{deprecated_header}}{{Non-standard_header}}

The regionCode read-only attribute of the {{domxref('PaymentAddress')}} interface returns a one-, two-, or three-alphanumeric code diff --git a/files/en-us/web/api/paymentaddress/sortingcode/index.html b/files/en-us/web/api/paymentaddress/sortingcode/index.html index 772a8c8b771e400..99a8d5eec2e3629 100644 --- a/files/en-us/web/api/paymentaddress/sortingcode/index.html +++ b/files/en-us/web/api/paymentaddress/sortingcode/index.html @@ -14,7 +14,7 @@ - paymentAddress - sortingCode --- -

{{APIRef("Payment Request API")}}
+
{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The sortingCode read-only property of the {{domxref('PaymentAddress')}} interface returns a string containing a postal sorting @@ -29,25 +29,6 @@

Value

A {{domxref("DOMString")}} containing the sorting code portion of the address.

-

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
- {{SpecName('Payment','#dom-paymentaddress-sortingcode','PaymentAddress.sortingCode')}} - {{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentAddress.sortingCode")}}

diff --git a/files/en-us/web/api/paymentaddress/tojson/index.html b/files/en-us/web/api/paymentaddress/tojson/index.html index 0bb46b2b1a3fb8b..5e4ec504c3c0988 100644 --- a/files/en-us/web/api/paymentaddress/tojson/index.html +++ b/files/en-us/web/api/paymentaddress/tojson/index.html @@ -11,7 +11,7 @@ - paymentAddress - toJSON --- -

{{APIRef("Payment Request API")}}{{SeeCompatTable}}

+

{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The toJSON() property of the {{domxref("PaymentAddress")}} interface is a standard serializer that returns a JSON @@ -32,23 +32,6 @@

A JSON object.

-

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('WebIDL','#default-tojson-steps','toJSON()')}}{{Spec2('WebIDL')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentAddress.toJSON")}}

diff --git a/files/en-us/web/api/paymentdetailsupdate/error/index.html b/files/en-us/web/api/paymentdetailsupdate/error/index.html index 0618e749181dbc6..dc717f056a9a663 100644 --- a/files/en-us/web/api/paymentdetailsupdate/error/index.html +++ b/files/en-us/web/api/paymentdetailsupdate/error/index.html @@ -11,7 +11,7 @@ - Reference - payment --- -

{{securecontext_header}}{{APIRef("Payment Request API")}}

+

{{securecontext_header}}{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The {{domxref("PaymentDetailsUpdate")}} dictionary's error property is a human-readable @@ -45,25 +45,6 @@

Value

their region or because their address is not served by any of the shipping companies you use.

-

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
- {{SpecName('Payment','#dom-paymentdetailsupdate-error','PaymentDetailsUpdate.error')}} - {{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentDetailsUpdate.error")}}

diff --git a/files/en-us/web/api/paymentdetailsupdate/index.html b/files/en-us/web/api/paymentdetailsupdate/index.html index cb14e53f956ac05..84749906bfaa0e0 100644 --- a/files/en-us/web/api/paymentdetailsupdate/index.html +++ b/files/en-us/web/api/paymentdetailsupdate/index.html @@ -24,11 +24,11 @@

Properties

{{domxref("PaymentDetailsBase.displayItems", "displayItems")}} {{optional_inline}}
An array of {{domxref("PaymentItem")}} objects, each describing one line item for the payment request. These represent the line items on a receipt or invoice.
-
{{domxref("PaymentDetailsUpdate.error", "error")}} {{optional_inline}}
+
{{domxref("PaymentDetailsUpdate.error", "error")}} {{optional_inline}}{{deprecated_inline}}
A {{domxref("DOMString")}} specifying an error message to present to the user. When calling {{domxref("PaymentDetailsUpdate.updateWith", "updateWith()")}}, including error in the updated data causes the {{Glossary("user agent")}} to display the text as a general error message. For address field specific errors, use shippingAddressErrors.
{{domxref("PaymentDetailsBase.modifiers", "modifiers")}} {{optional_inline}}
An array of {{domxref("PaymentDetailsModifier")}} objects, each describing a modifier for particular payment method identifiers. For example, you can use one to adjust the total payment amount based on the selected payment method ("5% cash discount!").
-
{{domxref("PaymentDetailsUpdate.shippingAddressErrors", "shippingAddressErrors")}} {{optional_inline}}
+
{{domxref("PaymentDetailsUpdate.shippingAddressErrors", "shippingAddressErrors")}} {{optional_inline}}{{deprecated_inline}}
An {{domxref("AddressErrors")}} object which includes an error message for each property of the shipping address that could not be validated.
{{domxref("PaymentDetailsBase.shippingOptions", "shippingOptions")}} {{optional_inline}}
An array of {{domxref("PaymentShippingOption")}} objects, each describing one available shipping option from which the user may choose.
diff --git a/files/en-us/web/api/paymentdetailsupdate/shippingaddresserrors/index.html b/files/en-us/web/api/paymentdetailsupdate/shippingaddresserrors/index.html index 70f06b0117b1bb9..d8dd80b60613983 100644 --- a/files/en-us/web/api/paymentdetailsupdate/shippingaddresserrors/index.html +++ b/files/en-us/web/api/paymentdetailsupdate/shippingaddresserrors/index.html @@ -15,7 +15,7 @@ - payment - shippingAddressErrors --- -
{{APIRef("Payment Request API")}}{{securecontext_header}}
+
{{APIRef("Payment Request API")}}{{securecontext_header}}{{Deprecated_header}}{{Non-standard_header}}

The {{domxref("PaymentDetailsUpdate")}} dictionary's shippingAddressErrors property, if present,  contains an @@ -38,25 +38,6 @@

Value

describing the validation error, ideally including suggestions about fixing the error.

-

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
- {{SpecName('Payment','#dom-paymentdetailsupdate-shippingaddresserrors','PaymentDetailsUpdate.shippingAddressErrors')}} - {{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentDetailsUpdate.shippingAddressErrors")}}

diff --git a/files/en-us/web/api/paymentrequest/index.html b/files/en-us/web/api/paymentrequest/index.html index 4b2efb743bce22f..7d930ba8baba327 100644 --- a/files/en-us/web/api/paymentrequest/index.html +++ b/files/en-us/web/api/paymentrequest/index.html @@ -30,11 +30,11 @@

Properties

{{domxref('PaymentRequest.id')}} {{readonlyinline}}{{securecontext_inline}}
An unique identifier for a particular PaymentRequest, which can be set via details.id. When none is set, it defaults to a UUID.
-
{{domxref('PaymentRequest.shippingAddress')}} {{readonlyinline}} {{securecontext_inline}}
+
{{domxref('PaymentRequest.shippingAddress')}} {{readonlyinline}} {{securecontext_inline}}{{deprecated_inline}}
If requested via payment options, returns the shipping address chosen by the user for the purposes of calculating shipping. This property is only populated if the constructor is called with the requestShipping flag set to true. Additionally, in some browsers, the parts of the address will be redacted for privacy until the user indicates they are ready to complete the transaction (i.e., they hit "Pay").
-
{{domxref('PaymentRequest.shippingOption')}} {{readonlyinline}} {{securecontext_inline}}
+
{{domxref('PaymentRequest.shippingOption')}} {{readonlyinline}} {{securecontext_inline}}{{deprecated_inline}}
Returns the identifier of the selected shipping option. This property is only populated if the constructor is called with the requestShipping flag set to true.
-
{{domxref('PaymentRequest.shippingType')}} {{readonlyinline}} {{securecontext_inline}}
+
{{domxref('PaymentRequest.shippingType')}} {{readonlyinline}} {{securecontext_inline}}{{deprecated_inline}}
Returns the type of shipping used to fulfill the transaction. This will be one of shipping, delivery, pickup, or null if a value was not provided in the constructor.
@@ -58,10 +58,10 @@

Events

{{domxref("PaymentRequest.paymentmethodchange_event", "paymentmethodchange")}} {{securecontext_inline}}
With some payment handlers (e.g., Apple Pay), dispatched whenever the user changes payment instrument, like switching from a credit card to a debit card.
Also available using the {{domxref("PaymentRequest.onpaymentmethodchange", "onpaymentmethodchange")}} event handler property.
-
{{domxref("PaymentRequest.shippingaddresschange_event", "shippingaddresschange")}} {{securecontext_inline}}
+
{{domxref("PaymentRequest.shippingaddresschange_event", "shippingaddresschange")}} {{securecontext_inline}}{{deprecated_inline}}
Dispatched whenever the user changes their shipping address.
Also available using the {{domxref("PaymentRequest.onshippingaddresschange", "onshippingaddresschange")}} event handler property.
-
{{domxref("PaymentRequest.shippingoptionchange_event", "shippingoptionchange")}} {{securecontext_inline}}
+
{{domxref("PaymentRequest.shippingoptionchange_event", "shippingoptionchange")}} {{securecontext_inline}}{{deprecated_inline}}
Dispatched whenever the user changes a shipping option.
Also available using the {{domxref("PaymentRequest.onshippingoptionchange", "onshippingoptionchange")}} event handler property.
diff --git a/files/en-us/web/api/paymentrequest/onshippingaddresschange/index.html b/files/en-us/web/api/paymentrequest/onshippingaddresschange/index.html index dec6df58e711e83..a55634af96a1f70 100644 --- a/files/en-us/web/api/paymentrequest/onshippingaddresschange/index.html +++ b/files/en-us/web/api/paymentrequest/onshippingaddresschange/index.html @@ -12,7 +12,7 @@ - Secure context - onshippingaddresschange --- -

{{securecontext_header}}{{APIRef("Payment Request API")}}

+

{{securecontext_header}}{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The onshippingaddresschange event of the {{domxref("PaymentRequest")}} interface is fired whenever the user changes their @@ -50,24 +50,6 @@

Examples

}); -

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment', '#onshippingaddresschange-attribute', - 'onshippingaddresschange')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentRequest.onshippingaddresschange")}}

diff --git a/files/en-us/web/api/paymentrequest/onshippingoptionchange/index.html b/files/en-us/web/api/paymentrequest/onshippingoptionchange/index.html index 777673c6631b5cf..34b416e23a04dc9 100644 --- a/files/en-us/web/api/paymentrequest/onshippingoptionchange/index.html +++ b/files/en-us/web/api/paymentrequest/onshippingoptionchange/index.html @@ -11,7 +11,7 @@ - Secure context - onshippingoptionchange --- -

{{securecontext_header}}{{SeeCompatTable}}{{APIRef("Payment Request API")}}

+

{{securecontext_header}}{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The onshippingoptionchange event of the {{domxref("PaymentRequest")}} interface is fired whenever the user changes a shipping @@ -77,24 +77,6 @@

Examples

}); -

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment', '#onshippingoptionchange-attribute', - 'onshippingoptionchange')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentRequest.onshippingoptionchange")}}

diff --git a/files/en-us/web/api/paymentrequest/shippingaddress/index.html b/files/en-us/web/api/paymentrequest/shippingaddress/index.html index f2d28ec3c31d27f..8714c80f408498f 100644 --- a/files/en-us/web/api/paymentrequest/shippingaddress/index.html +++ b/files/en-us/web/api/paymentrequest/shippingaddress/index.html @@ -12,7 +12,7 @@ - Secure context - shippingAddress --- -

{{securecontext_header}}{{SeeCompatTable}}{{APIRef("Payment Request API")}}

+

{{securecontext_header}}{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The shippingAddress read-only property of the {{domxref('PaymentRequest')}} interface returns the shipping address provided by the @@ -79,23 +79,6 @@

Example

} -

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment','#shippingaddress-attribute','shippingaddress')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentRequest.shippingAddress")}}

diff --git a/files/en-us/web/api/paymentrequest/shippingaddresschange_event/index.html b/files/en-us/web/api/paymentrequest/shippingaddresschange_event/index.html index c853df26034d9e8..2f550cc15b39cb2 100644 --- a/files/en-us/web/api/paymentrequest/shippingaddresschange_event/index.html +++ b/files/en-us/web/api/paymentrequest/shippingaddresschange_event/index.html @@ -15,7 +15,7 @@ - payment - shippingaddresschange --- -

{{securecontext_header}}{{APIRef("Payment Request API")}}

+

{{securecontext_header}}{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The shippingaddresschange event is sent to the {{domxref("PaymentRequest")}} object when the user selects a shipping address or changes details of their shipping address.

@@ -72,23 +72,6 @@

Example

event.updateWith(detailsUpdate); }; -

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment','#dfn-shippingaddresschange','shippingaddresschange')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

diff --git a/files/en-us/web/api/paymentrequest/shippingoption/index.html b/files/en-us/web/api/paymentrequest/shippingoption/index.html index 882e620e5d171bf..791d6489dc362f2 100644 --- a/files/en-us/web/api/paymentrequest/shippingoption/index.html +++ b/files/en-us/web/api/paymentrequest/shippingoption/index.html @@ -11,7 +11,7 @@ - Secure context - shippingOption --- -

{{securecontext_header}}{{SeeCompatTable}}{{APIRef("Payment Request API")}}

+

{{securecontext_header}}{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The shippingOption read-only attribute of the {{domxref('PaymentRequest')}} interface returns either the id of a selected shipping @@ -69,23 +69,6 @@

Example

} -

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment','#shippingoption-attribute','shippingOption')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentRequest.shippingOption")}}

diff --git a/files/en-us/web/api/paymentrequest/shippingoptionchange_event/index.html b/files/en-us/web/api/paymentrequest/shippingoptionchange_event/index.html index 1849a91e29b12de..a5802c905963697 100644 --- a/files/en-us/web/api/paymentrequest/shippingoptionchange_event/index.html +++ b/files/en-us/web/api/paymentrequest/shippingoptionchange_event/index.html @@ -14,7 +14,7 @@ - payment - shippingoptionchange --- -

{{securecontext_header}}{{APIRef("Payment Request API")}}

+

{{securecontext_header}}{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

For payment requests that request shipping information, and for which shipping options are offered, the shippingoptionchange event is sent to the {{domxref("PaymentRequest")}} whenever the user chooses a shipping option from the list of available options. The string identifying the currently-selected shipping option can be found in the {{domxref("PaymentRequest.shippingOption", "shippingOption")}} property.

@@ -68,23 +68,6 @@

Examples

event.updateWith({ total }); }; -

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment','#dfn-shippingoptionchange','shippingoptionchange')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

diff --git a/files/en-us/web/api/paymentrequest/shippingtype/index.html b/files/en-us/web/api/paymentrequest/shippingtype/index.html index 6984e2f66a72f56..2922b91078e58ac 100644 --- a/files/en-us/web/api/paymentrequest/shippingtype/index.html +++ b/files/en-us/web/api/paymentrequest/shippingtype/index.html @@ -11,7 +11,7 @@ - Secure context - shippingType --- -

{{SeeCompatTable}}{{APIRef("Payment Request API")}}

+

{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The shippingType read-only property of the {{domxref("PaymentRequest")}} interface returns one of "shipping", @@ -28,23 +28,6 @@

Value

One of "shipping", "delivery", "pickup", or null.

-

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment','#dom-paymentrequest-shippingtype','shippingType')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentRequest.shippingType")}}

diff --git a/files/en-us/web/api/paymentresponse/index.html b/files/en-us/web/api/paymentresponse/index.html index 30bfe5f48a60d73..7fd1a37c16d1186 100644 --- a/files/en-us/web/api/paymentresponse/index.html +++ b/files/en-us/web/api/paymentresponse/index.html @@ -21,17 +21,17 @@

Properties

Returns a JSON-serializable object that provides a payment method specific message used by the merchant to process the transaction and determine successful fund transfer. The contents of the object depend on the payment method being used; for example, if the Basic Card payment method is used, this object must conform to the structure defined in the {{domxref("BasicCardResponse")}} dictionary.
{{domxref('PaymentResponse.methodName')}} {{readonlyinline}} {{securecontext_inline}}
Returns the payment method identifier for the payment method that the user selected, for example, Visa, Mastercard, Paypal, etc.. 
-
{{domxref('PaymentResponse.payerEmail')}} {{readonlyinline}} {{securecontext_inline}}
+
{{domxref('PaymentResponse.payerEmail')}} {{readonlyinline}} {{securecontext_inline}}{{deprecated_inline}}
Returns the email address supplied by the user. This option is only present when the requestPayerEmail option is set to true in the options parameter of the {{domxref('PaymentRequest.PaymentRequest','PaymentRequest()')}} constructor.
-
{{domxref('PaymentResponse.payerName')}} {{readonlyinline}} {{securecontext_inline}}
+
{{domxref('PaymentResponse.payerName')}} {{readonlyinline}} {{securecontext_inline}}{{deprecated_inline}}
Returns the name supplied by the user. This option is only present when the requestPayerName option is set to true in the options parameter of the {{domxref('PaymentRequest.PaymentRequest','PaymentRequest()')}} constructor.
-
{{domxref('PaymentResponse.payerPhone')}} {{readonlyinline}} {{securecontext_inline}}
+
{{domxref('PaymentResponse.payerPhone')}} {{readonlyinline}} {{securecontext_inline}}{{deprecated_inline}}
Returns the phone number supplied by the user. This option is only present when the requestPayerPhone option is set to true in the options parameter of the {{domxref('PaymentRequest.PaymentRequest','PaymentRequest()')}} constructor.
{{domxref('PaymentResponse.requestId')}} {{readonlyinline}} {{securecontext_inline}}
Returns the identifier of the {{domxref('PaymentRequest')}} that produced the current response. This is the same value supplied in the {{domxref('PaymentRequest.PaymentRequest','PaymentRequest()')}} constructor by details.id.
-
{{domxref('PaymentResponse.shippingAddress')}} {{readonlyinline}} {{securecontext_inline}}
+
{{domxref('PaymentResponse.shippingAddress')}} {{readonlyinline}} {{securecontext_inline}}{{deprecated_inline}}
Returns the shipping Address supplied by the user. This option is only present when the requestShipping option is set to true in the options parameter of the {{domxref('PaymentRequest.PaymentRequest','PaymentRequest()')}} constructor.
-
{{domxref('PaymentResponse.shippingOption')}} {{readonlyinline}} {{securecontext_inline}}
+
{{domxref('PaymentResponse.shippingOption')}} {{readonlyinline}} {{securecontext_inline}}{{deprecated_inline}}
Returns the ID attribute of the shipping option selected by the user. This option is only present when the requestShipping option is set to true in the options parameter of the {{domxref('PaymentRequest.PaymentRequest','PaymentRequest()')}} constructor.
@@ -49,7 +49,7 @@

Events

Listen to this event using addEventListener() or by assigning an event listener to the oneventname property of this interface.

-
payerdetailchange{{securecontext_inline}}
+
payerdetailchange{{securecontext_inline}}{{deprecated_inline}}
Fired during a retry when the user makes changes to their personal information while filling out a payment request form. Allows the developer to revalidate any requested user data (e.g., the phone number or the email address) if it changes.
Also available via the onpayerdetailchange property.
diff --git a/files/en-us/web/api/paymentresponse/onpayerdetailchange/index.html b/files/en-us/web/api/paymentresponse/onpayerdetailchange/index.html index c2821bd36859943..c47cd6311938cf6 100644 --- a/files/en-us/web/api/paymentresponse/onpayerdetailchange/index.html +++ b/files/en-us/web/api/paymentresponse/onpayerdetailchange/index.html @@ -16,7 +16,7 @@ - payment - validate --- -
{{securecontext_header}}{{APIRef("Payment Request API")}}
+
{{securecontext_header}}{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The {{domxref("PaymentResponse")}} object's onpayerdetailchange property is an event handler which @@ -111,24 +111,6 @@

Examples

}); -

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment', '#dom-paymentresponse-onpayerdetailchange', - 'onpayerdetailchange')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentResponse.onpayerdetailchange")}}

diff --git a/files/en-us/web/api/paymentresponse/payerdetailchange_event/index.html b/files/en-us/web/api/paymentresponse/payerdetailchange_event/index.html index 99d79ada81da70e..3117b86b97bb97f 100644 --- a/files/en-us/web/api/paymentresponse/payerdetailchange_event/index.html +++ b/files/en-us/web/api/paymentresponse/payerdetailchange_event/index.html @@ -13,7 +13,7 @@ - payment - validate --- -
{{securecontext_header}}{{APIRef("Payment Request API")}}
+
{{securecontext_header}}{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

payerdetailchange events are delivered by the Payment Request API to a {{domxref("PaymentResponse")}} object when the user makes changes to their personal information while filling out a payment request form.

@@ -122,23 +122,6 @@

addEventListener equivalent

... } -

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment', '#dfn-payerdetailchange', 'payerdetailchange event')}}{{Spec2("Payment")}}
-

Browser compatibility

{{Compat("api.PaymentResponse.payerdetailchange_event")}}

diff --git a/files/en-us/web/api/paymentresponse/payeremail/index.html b/files/en-us/web/api/paymentresponse/payeremail/index.html index 936e2668e6981d5..6b43bc6cc07ced5 100644 --- a/files/en-us/web/api/paymentresponse/payeremail/index.html +++ b/files/en-us/web/api/paymentresponse/payeremail/index.html @@ -12,7 +12,7 @@ - Secure context - payerEmail --- -

{{securecontext_header}}{{SeeCompatTable}}{{APIRef("Payment Request API")}}

+

{{securecontext_header}}{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The payerEmail read-only property of the {{domxref("PaymentResponse")}} interface returns the email address supplied by the user. This option is only present @@ -25,23 +25,6 @@

Syntax

var payerEmail = PaymentResponse.payerEmail;
-

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentResponse.payerEmail")}}

diff --git a/files/en-us/web/api/paymentresponse/payername/index.html b/files/en-us/web/api/paymentresponse/payername/index.html index 41c99b4e9a5bc86..f95b881ae635f9a 100644 --- a/files/en-us/web/api/paymentresponse/payername/index.html +++ b/files/en-us/web/api/paymentresponse/payername/index.html @@ -11,7 +11,7 @@ - Reference - Secure context --- -

{{securecontext_header}}{{SeeCompatTable}}{{APIRef("Payment Request API")}}

+

{{securecontext_header}}{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The payerName read-only property of the {{domxref("PaymentResponse")}} interface returns the name supplied by the user. This @@ -28,23 +28,6 @@

Value

A string containing the payer name.

-

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment','#dom-paymentresponse-payername','payerName')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentResponse.payerName")}}

diff --git a/files/en-us/web/api/paymentresponse/payerphone/index.html b/files/en-us/web/api/paymentresponse/payerphone/index.html index 99b363c07b4e7a5..eddf2ec954f8f67 100644 --- a/files/en-us/web/api/paymentresponse/payerphone/index.html +++ b/files/en-us/web/api/paymentresponse/payerphone/index.html @@ -12,7 +12,7 @@ - Secure context - payerPhone --- -

{{securecontext_header}}{{SeeCompatTable}}{{APIRef("Payment Request API")}}

+

{{securecontext_header}}{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The payerPhone read-only property of the {{domxref("PaymentResponse")}} interface returns the phone number supplied by the user. This option is only present @@ -25,23 +25,6 @@

Syntax

var payerPhone = PaymentResponse.payerPhone;
-

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentResponse.payerPhone")}}

diff --git a/files/en-us/web/api/paymentresponse/shippingaddress/index.html b/files/en-us/web/api/paymentresponse/shippingaddress/index.html index 48d0186fbfae72f..3f57e32cfd7728c 100644 --- a/files/en-us/web/api/paymentresponse/shippingaddress/index.html +++ b/files/en-us/web/api/paymentresponse/shippingaddress/index.html @@ -12,7 +12,7 @@ - Secure context - shippingAddress --- -

{{securecontext_header}}{{SeeCompatTable}}{{APIRef("Payment Request API")}}

+

{{securecontext_header}}{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The shippingAddress read-only property of the PaymentRequest interface returns a {{domxref('PaymentAddress')}} object @@ -84,23 +84,6 @@

Example

} -

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentResponse.shippingAddress")}}

diff --git a/files/en-us/web/api/paymentresponse/shippingoption/index.html b/files/en-us/web/api/paymentresponse/shippingoption/index.html index 1e9339a5e0eb3e1..b7237b2ca7be2c8 100644 --- a/files/en-us/web/api/paymentresponse/shippingoption/index.html +++ b/files/en-us/web/api/paymentresponse/shippingoption/index.html @@ -12,7 +12,7 @@ - Secure context - shippingOption --- -

{{securecontext_header}}{{SeeCompatTable}}{{APIRef("Payment Request API")}}

+

{{securecontext_header}}{{APIRef("Payment Request API")}}{{Deprecated_header}}{{Non-standard_header}}

The shippingOption read-only property of the PaymentRequest interface returns the ID attribute of the shipping @@ -69,23 +69,6 @@

Example

} -

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Payment')}}{{Spec2('Payment')}}Initial definition.
-

Browser compatibility

{{Compat("api.PaymentResponse.shippingOption")}}