Search completed in 1.21 seconds.
PaymentAddress - Web APIs
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. Properties
PaymentAddress.addressLine Read only An array of 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. ...
...andards for postal addresses. Properties
PaymentAddress.addressLine Read only An array of 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.
PaymentAddress.country Read only A DOMString specifying the country in which the address is located, using the 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".
PaymentAddress.city Read only A DOMString which contains the city or town portion of the address. ...
...or post office box number.
PaymentAddress.country Read only A DOMString specifying the country in which the address is located, using the 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".
PaymentAddress.city Read only A DOMString which contains the city or town portion of the address.
PaymentAddress.dependentLocality Read only A DOMString giving the dependent locality or sublocality within a city, for example, a neighborhood, borough, district, or UK dependent locality.
PaymentAddress.organization Read only A DOMString specifying the name of the organization, firm, company, or institution at the payment address. ...
...And 5 more matches
PaymentAddress.dependentLocality - Web APIs
This may be an empty string if no sublocality is available or required. It's used to provide disambiguation when a city may include areas that duplicate street names A sublocality is an area within a city, such as a neighborhood, borough, or district. ...
...This may be an empty string if no sublocality is available or required. It's used to provide disambiguation when a city may include areas that duplicate street names A sublocality is an area within a city, such as a neighborhood, borough, or district. ...
...borhood, borough, or district. In the United Kingdom, this is used to indicate the post town in the United Kingdom (known officially by the Royal Mail as the dependent locality). This is a disambiguating feature of addresses in places where a city may have areas that duplicate street names. Specifications Specification Status Comment Payment Request APIThe definition of '
PaymentAddress.dependentLocality' in that specification. Candidate Recommendation Initial definition. ...
PaymentAddress.addressLine - Web APIs
The addressLine read-only property of the
PaymentAddress interface is an array of DOMString objects, each specifying a line of the address that is not covered by one of the other properties of
PaymentAddress. These lines may include the street name, house number, apartment number, rural delivery route, descriptive instructions, or post office box. Syntax var
paymentAddressLines =
PaymentAddress.addressLine; Value An array of DOMString objects, each containing one line of the address. For example, the addressLine array for the Mozilla Space in London would have the following entries: Example showing addressLine entries for an address in London Index addressLine[] value 0 Metal Box Factory 1 Suite 441, 4th floor 2 30 Great Guildford Street ...
...the address. For example, the addressLine array for the Mozilla Space in London would have the following entries: Example showing addressLine entries for an address in London Index addressLine[] value 0 Metal Box Factory 1 Suite 441, 4th floor 2 30 Great Guildford Street These, combined with additional values for other properties of the
PaymentAddress, would represent the full address, which is: Mozilla Metal Box Factory Suite 441, 4th floor 30 Great Guildford Street London SE1 0HS United Kingdom Specifications Specification Status Comment Payment Request APIThe definition of '
PaymentAddress.addressLine' in that specification. Candidate Recommendation Initial definition. ...
PaymentAddress.country - Web APIs
The country read-only property of the
PaymentAddress interface is a string identifying the address's country using the ISO 3166-1 alpha-2 standard. The string is always in its canonical upper-case form. Some examples of valid country values: "US", "GB", "CN", or "JP". Syntax var paymentCountry =
PaymentAddress.country; Value A DOMString which contains the ISO3166-1 alpha-2 code identifying the country in which the address is located, or an empty string if no country is available, which frequently can be assumed to mean "same country as the site owner." Usage notes If the payment handler validates the address and determines that the value of country is invalid, a call to PaymentRequestUpdateEvent.updateWith() will be made with a details object containing a shippingAddressErrors field. That field ...
... Candidate Recommendation Initial definition. ...
PaymentAddress.postalCode - Web APIs
The postalCode read-only property of the
PaymentAddress interface returns a string containing a code used by a jurisdiction for mail routing, for example, the ZIP Code in the United States or the Postal Index Number (PIN code) in India. Syntax var paymentPostalCode =
PaymentAddress.postalCode; Value A DOMString which contains the postal code portion of the address. A postal code is a string (either numeric or alphanumeric) which is used by a postal service to optimize mail routing and delivery. Various countries use different terms for this. In most of the world, it's known as the "post code" or "postal code." In the United States, the ZIP code is used. India uses PIN codes. ...
... (either numeric or alphanumeric) which is used by a postal service to optimize mail routing and delivery. Various countries use different terms for this. In most of the world, it's known as the "post code" or "postal code." In the United States, the ZIP code is used. India uses PIN codes. Specifications Specification Status Comment Payment Request APIThe definition of '
PaymentAddress.postalCode' in that specification. Candidate Recommendation Initial definition. ...
PaymentAddress.region - Web APIs
This region has different names in different countries, such as: state, province, oblast, prefecture, or county. Usage notes In some countries, like Belgium, it's uncommon for people to provide a region as part of their postal address. In such cases, the browser returns an empty string as the value of region. ...
...part of their postal address. In such cases, the browser returns an empty string as the value of region. However, the address should still be acceptable to use for its intended purpose (e.g., to ship a product). However, always verify addresses to make sure what the user provides is usable. Specifications Specification Status Comment Payment Request APIThe definition of '
PaymentAddress.region' in that specification. Candidate Recommendation Initial definition. ...
PaymentAddress.regionCode - Web APIs
The code is derived from the ISO 3166-2 standard, which defines codes for identifying the subdivisions (e.g., states, provinces, autonomous regions, etc.) of all countries in the world. If the browser can't determine the region code, or the country doesn't use regions for postal addresses, it returns an empty string. Syntax var regionCode =
paymentAddress.regionCode; Value A DOMString indicating the one to three character alphanumeric code representing the region portion of the address. ...
... "CA" for California, or "11" for Lisbon, Portugal). The code is derived from the ISO 3166-2 standard, which defines codes for identifying the subdivisions (e.g., states, provinces, autonomous regions, etc.) of all countries in the world. If the browser can't determine the region code, or the country doesn't use regions for postal addresses, it returns an empty string. Syntax var regionCode =
paymentAddress.regionCode; Value A DOMString indicating the one to three character alphanumeric code representing the region portion of the address. This should correspond to region, but should be the ISO 3166--2 standard's region code. The string is empty if the region code couldn't be determined, isn't needed for the address's country, or was not provided. ...
PaymentAddress.city - Web APIs
The city read-only property of the
PaymentAddress interface returns a string containing the city or town portion of the address. Syntax var paymentCity =
PaymentAddress.city; Value A DOMString indicating the city or town portion of the address described by the
PaymentAddress object. Specifications Specification Status Comment Payment Request APIThe definition of '
PaymentAddress.city' in that specification. Candidate Recommendation Initial definition. ...
PaymentAddress.languageCode - Web APIs
The languageCode read-only property of the
PaymentAddress interface returns a string containing the BCP-47 language code for the address. This is used while localizing the displayy of the address, allowing the determination of the field separators and the order of fields when formatting the address. Syntax var paymentLanguageCode =
PaymentAddress.languageCode; Value A DOMString providing the BCP-47 format language code indicating the language the address was written in, such as "en-US", "pt-BR", or "ja-JP". ...
PaymentAddress.organization - Web APIs
The organization read-only property of the
PaymentAddress interface returns a string containing the name of the organization, firm, company, or institution at the address. Syntax var paymentOrganization =
PaymentAddress.organization; Value A DOMString whose value is the name of the organization or company located at the address described by the
PaymentAddress object. This should 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 Specification Status Comment Payment Request APIThe definition of '
PaymentAddress.organization' in that specification. Candidate Recommendation Initial definition. ...
PaymentAddress.phone - Web APIs
The read-only phone property of the
PaymentAddress interface returns a string containing the telephone number of the recipient or contact person. Syntax var paymentPhone =
PaymentAddress.phone; Value A DOMString containing the telephone number for the recipient of the shipment or of the responsible party for payment. If no phone number is available, this value is an empty string. Specifications Specification Status Comment Payment Request APIThe definition of '
PaymentAddress.phone' in that specification. Candidate Recommendation Initial definition. ...
PaymentAddress.recipient - Web APIs
The read-only recipient property of the
PaymentAddress interface returns a string containing the name of the recipient, purchaser, or contact person at the payment address. Syntax var paymentRecipient =
PaymentAddress.recipient; Value A DOMString giving the name of the person receiving or paying for the purchase, or the name of a contact person in other contexts. If no name is available, this string is empty. Specifications Specification Status Comment Payment Request APIThe definition of '
PaymentAddress.recipient' in that specification. Candidate Recommendation Initial definition. ...
PaymentAddress.sortingCode - Web APIs
The sortingCode read-only property of the
PaymentAddress interface returns a string containing a postal sorting code such as is used in France. Syntax var sortingCode =
PaymentAddress.sortingCode; Value A DOMString containing the sorting code portion of the address. Specifications Specification Status Comment Payment Request APIThe definition of '
PaymentAddress.sortingCode' in that specification. Candidate Recommendation Initial definition. ...
PaymentAddress.toJSON() - Web APIs
Return value A JSON object. Specifications Specification Status Comment Web IDLThe definition of 'toJSON()' in that specification. Candidate Recommendation Initial definition. Browser Compatibility The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. ...
Index - Web APIs
neric Sensor API, Property, Reference, Sensor, Sensor APIs, Sensors, z The z read-only property of the Accelerometer interface returns a double precision integer containing the acceleration of the device along the its z axis. 29 AddressErrors API, Address, AddressErrors, Dictionary, Errors, Interface, Payment Address, Payment Request, Payment Request API, Reference, payment,
paymentAddress The AddressErrors dictionary is used by the Payment Request API to to report validation errors in a physical address (typically a billing address or a shipping address). 30 AddressErrors.addressLine API, AddressErrors, Error, Payment Request, Payment Request API, Property, Reference, Validation, addressLine, payment An object based on AddressErrors includes an addressLi...
...Reference, Validation, payment, region An object based on AddressErrors includes a region property when the address's region property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it. 40 AddressErrors.regionCode API, Error, Payment Request, Payment Request API, Property, Read-only, Reference, Validation, payment,
paymentAddress, region, regionCode An object based on AddressErrors includes a regionCode property when the address's regionCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it. 41 AddressErrors.sortingCode API, Address, AddressErrors, Error, Payment Request, Payment Request API, Property, Read-only, Reference, Valida...
... string consisting of SVG path data. 2890 Path2D.addPath() API, Canvas, Method, Path2D, Path2D.addPath, Reference The Path2D.addPath() method of the Canvas 2D API adds one Path2D object to another Path2D object. 2891 PayerErrors API, Address, AddressErrors, Dictionary, Errors, Interface, Payment Address, Payment Request, Payment Request API, Reference, payment,
paymentAddress 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. 2892 PayerErrors.email API, Commerce, Email, Errors, PayerErrors, Payment Request, Payment Request API, Reference, Shopping, Validation, payment The email property is included in a PayerErrors object if the Pay...
...And 24 more matches
AddressErrors - Web APIs
The AddressErrors dictionary is used by the Payment Request API to to report validation errors in a physical address (typically a billing address or a shipping address). Any members which is present indicates that a validation error occurred for the member of the same name in an address described using
PaymentAddress. AddressErrors is the type of the object returned by shippingAddressErrors in the PaymentDetailsUpdate passed into PaymentRequestUpdateEvent.updateWith() by the shippingaddresschange event handler if a change to the address resulted in a validation error occurring. See the examples below to see how this works. Properties addressLine A DOMString which, if present, indicates that the addressLine property of the
PaymentAddress could not be validated. The contents of the string provide ...
...examples below to see how this works. Properties addressLine A DOMString which, if present, indicates that the addressLine property of the
PaymentAddress could not be validated. The contents of the string provide a human-readable explanation of the validation failure, and ideally suggestions to correct the problem. city A DOMString which, if present, indicates that the city property of the
PaymentAddress could not be validated. The contents of the string provide a human-readable explanation of the validation failure, and ideally suggestions to correct the problem. country A DOMString which, if present, indicates that the country property of the
PaymentAddress could not be validated. The contents of the string provide a human-readable explanation of the validation failure, and ideally suggestion...
...ggestions to correct the problem. country A DOMString which, if present, indicates that the country property of the
PaymentAddress could not be validated. The contents of the string provide a human-readable explanation of the validation failure, and ideally suggestions to correct the problem. dependentLocality A DOMString which, if present, indicates that the dependentLocality property of the
PaymentAddress could not be validated. The contents of the string provide a human-readable explanation of the validation failure, and ideally suggestions to correct the problem. organization A DOMString which, if present, indicates that the organization property of the
PaymentAddress could not be validated. The contents of the string provide a human-readable explanation of the validation failure, and ideally ...
...And 4 more matches
BasicCardResponse.billingAddress - Web APIs
Example Let's look at a sample payment request: var request = new PaymentRequest(supportedInstruments, details, options); // Call show() to trigger the browser's payment flow. request.show().then(function(instrumentResponse) { // Do something with the response from the UI. ...
...ls property that will contain response details. This has to conform to the structure defined by the BasicCardResponse dictionary, and may look something like this: { "cardNumber' : '9999999999999999", "cardholderName' : 'Mr. Dick Straw", "cardSecurityCode" : "999", "expiryMonth" : "07", "expiryYear" : "2021", "billingAddress" : { "country" : "GB", // etc. billing address is a
PaymentAddress object } } Specifications Specification Status Comment Basic Card PaymentThe definition of 'billingAddress' in that specification. Working Draft Initial definition. Browser Compatibility The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-d...
Payment Request API - Web APIs
t, such as clicking a "Purchase" button. The PaymentRequest allows the web page to exchange information with the user agent while the user provides input to complete the transaction. You can find a complete guide in Using the Payment Request API. Note: The API is available inside cross-origin <iframe> elements only if they have had the allowpaymentrequest attribute set on them. Interfaces
PaymentAddress An object that contains address information; used for billing and shipping addresses, for example. PaymentRequest An object that provides the API for creating and managing the user agent's payment interface. PaymentRequestEvent An event delivered to a payment handler when a PaymentRequest is made. PaymentRequestUpdateEvent Enables the web page to update the details of the payment request i...
...ned after the user selects a payment method and approves a payment request. MerchantValidationEvent Represents the browser requiring the merchant (website) to validate themselves as allowed to use a particular payment handler (e.g., registered as allowed to use Apple Pay). Dictionaries AddressErrors A dictionary containing strings providing descriptive explanations of any errors in any
PaymentAddress entries which have errors. PayerErrors A dictionary containing strings providing descriptive explanations of any errors in related to PaymentResponse's email, phone, and name attributes. PaymentDetailsUpdate An object describing changes that need to be made to the payment details in the event that the server needs to update information following the instantiation of the payment interface but ...
AddressErrors.addressLine - Web APIs
addressLineError = AddressErrors.addressLine; Value If an error occurred during validation of the address due to one of the strings in the addressLine array having an invalid value, this property is set to a DOMString providing a human-readable error message explaining the validation error. The text should also include, when possible, advice about how to go about correcting the error. If the
PaymentAddress object's addressLine property was determined to be valid, this property is not included in the AddressErrors dictionary. Specifications Specification Status Comment Payment Request APIThe definition of 'AddressErrors.addressLine' in that specification. Candidate Recommendation Initial definition. ...
AddressErrors.city - Web APIs
An object based on AddressErrors includes a city property when validation of the address fails for the value given for the address's city property. The returned string explains the error and should offer suggestions for how to correct it. Syntax var cityError = AddressErrors.city; Value If the value specified in the
PaymentAddress object's city property could not be validated, this property contains a DOMString offering a human-readable explanation of the validation error and offers suggestions for correcting it. If the city value was validated successfully, this property is not included in the AddressErrors object. Specifications Specification Status Comment Payment Request APIThe definition of 'AddressErrors.city' in that specification. Candidate Recommendation In...
AddressErrors.country - Web APIs
how to correct it. Syntax var countryError = AddressErrors.country; Value If an error occurred during validation of the address due to the country property having an invalid value, this property is set to a DOMString providing a human-readable error message explaining the validation error. The text should also include, when possible, advice about how to go about correcting the error. If the
PaymentAddress object's country property was determined to be valid, this property is not included in the dictionary. Specifications Specification Status Comment Payment Request APIThe definition of 'AddressErrors.country' in that specification. Candidate Recommendation Initial definition. ...
AddressErrors.dependentLocality - Web APIs
An object based on AddressErrors includes a dependentLocality property when the address's dependentLocality property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it. Syntax var localityError = AddressErrors.dependentLocality; Value If the value specified in the
PaymentAddress object's dependentLocality property could not be validated, this property contains a DOMString offering a human-readable explanation of the validation error and offers suggestions for correcting it. If the dependentLocality value was validated successfully, this property is not included in the AddressErrors object. Specifications Specification Status Comment Payment Request APIThe definition of 'AddressErrors.dependentLocality' in that ...
AddressErrors.languageCode - Web APIs
An object based on AddressErrors includes a languageCode property when the address's languageCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it. Syntax var languageError = AddressErrors.languageCode; Value If the value specified in the
PaymentAddress object's languageCode property could not be validated, this property contains a DOMString offering a human-readable explanation of the validation error and offers suggestions for correcting it. This validation might be as simple as ensuring the text of the string is compliant with the syntax defined in BCP-47, or as detailed as actually verifying that the specified string matches a value from a database. If the languageCode value was validated successfully, this property is...
AddressErrors.organization - Web APIs
An object based on AddressErrors includes an organization property when the address's organization property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it. Syntax var organizationError = AddressErrors.organization; Value If the value specified in the
PaymentAddress object's organization property could not be validated, this property contains a DOMString offering a human-readable explanation of the validation error and offers suggestions for correcting it. For example, if validation simply ensures that only permitted characters are included in the organization's name, this might return a string such as "The organization name may only contain the letters A-Z, digits, spaces, and commas." If the organization value was validated succes...
AddressErrors.phone - Web APIs
An object based on AddressErrors includes a phone property when the address's phone property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it. Syntax var phoneError = AddressErrors.phone; Value If the value specified in the
PaymentAddress object's phone property could not be validated, this property contains a DOMString offering a human-readable explanation of the validation error and offers suggestions for correcting it. If the phone value was validated successfully, this property is not included in the AddressErrors object. Specifications Specification Status Comment Payment Request APIThe definition of 'AddressErrors.phone' in that specification. Candidate Recommendation Initial definition. ...
AddressErrors.postalCode - Web APIs
An object based on AddressErrors includes a postalCode property when the address's postalCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it. Syntax var postcodeError = AddressErrors.postCode; Value If the value specified in the
PaymentAddress object's postalCode property could not be validated, this property contains a DOMString offering a human-readable explanation of the validation error and offers suggestions for correcting it. If the postalCode value was validated successfully, this property is not included in the AddressErrors object. Specifications Specification Status Comment Payment Request APIThe definition of 'AddressErrors.postalCode' in that specification. Candidate Recommendation ...
AddressErrors.recipient - Web APIs
An object based on AddressErrors includes a recipient property when the address's recipient property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it. Syntax var recipientError = AddressErrors.recipient; Value If the value specified in the
PaymentAddress object's recipient property could not be validated, this property contains a DOMString offering a human-readable explanation of the validation error and offers suggestions for correcting it. If the recipient value was validated successfully, this property is not included in the AddressErrors object. Specifications Specification Status Comment Payment Request APIThe definition of 'AddressErrors.recipient' in that specification. Candidate Recommendation I...
AddressErrors.region - Web APIs
An object based on AddressErrors includes a region property when the address's region property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it. Syntax var regionError = AddressErrors.region; Value If the value specified in the
PaymentAddress object's region property could not be validated, this property contains a DOMString offering a human-readable explanation of the validation error and offers suggestions for correcting it. If the region value was validated successfully, this property is not included in the AddressErrors object. Specifications Specification Status Comment Payment Request APIThe definition of 'AddressErrors.region' in that specification. Candidate Recommendation Initial definition. ...
AddressErrors.regionCode - Web APIs
An object based on AddressErrors includes a regionCode property when the address's regionCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it. Syntax var regionCodeError = AddressErrors.regionCode; Value If the value specified in the
PaymentAddress object's regionCode property could not be validated, this property contains a DOMString offering a human-readable explanation of the validation error and offers suggestions for correcting it. If the regionCode value was validated successfully, this property is not included in the AddressErrors object. Usage notes The region code is derived from the ISO 3166-2 country subdivision name standard. Specifications Specification Status Comment Payment Request ...
AddressErrors.sortingCode - Web APIs
An object based on AddressErrors includes a sortingCode property when the address's sortingCode property couldn't be validated. The returned string explains the error and should offer suggestions for how to correct it. Syntax var sortingCodeError = AddressErrors.sortingCode; Value If the value specified in the
PaymentAddress object's sortingCode property could not be validated, this property contains a DOMString offering a human-readable explanation of the validation error and offers suggestions for correcting it. If the sortingCode value was validated successfully, this property is not included in the AddressErrors object. Specifications Specification Status Comment Payment Request APIThe definition of 'AddressErrors.sortingCode' in that specification. Candidate Recom...
BasicCardRequest - Web APIs
ils property that will contain response details. This has to conform to the structure defined by the BasicCardResponse dictionary, and may look something like this: { "cardNumber' : '9999999999999999", "cardholderName' : 'Mr Dick Straw", "cardSecurityCode" : "999", "expiryMonth" : "07", "expiryYear" : "2021", "billingAddress" : { "country" : "GB", // etc. billing address is a
PaymentAddress object } } Specifications Specification Status Comment Basic Card PaymentThe definition of 'BasicCardRequest' in that specification. Working Draft Initial definition. ...
BasicCardResponse.cardNumber - Web APIs
ls property that will contain response details. This has to conform to the structure defined by the BasicCardResponse dictionary, and may look something like this: { "cardNumber' : '9999999999999999", "cardholderName' : 'Mr. Dick Straw", "cardSecurityCode" : "999", "expiryMonth" : "07", "expiryYear" : "2021", "billingAddress" : { "country" : "GB", // etc. billing address is a
PaymentAddress object } } Specifications Specification Status Comment Basic Card PaymentThe definition of 'cardNumber' in that specification. Working Draft Initial definition. Browser Compatibility The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data ...
BasicCardResponse.cardSecurityCode - Web APIs
ls property that will contain response details. This has to conform to the structure defined by the BasicCardResponse dictionary, and may look something like this: { "cardNumber' : '9999999999999999", "cardholderName' : 'Mr. Dick Straw", "cardSecurityCode" : "999", "expiryMonth" : "07", "expiryYear" : "2021", "billingAddress" : { "country" : "GB", // etc. billing address is a
PaymentAddress object } } Specifications Specification Status Comment Basic Card PaymentThe definition of 'cardSecurityCode' in that specification. Working Draft Initial definition. Browser Compatibility The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat...
BasicCardResponse.cardholderName - Web APIs
ls property that will contain response details. This has to conform to the structure defined by the BasicCardResponse dictionary, and may look something like this: { "cardNumber' : '9999999999999999", "cardholderName' : 'Mr. Dick Straw", "cardSecurityCode" : "999", "expiryMonth" : "07", "expiryYear" : "2021", "billingAddress" : { "country" : "GB", // etc. billing address is a
PaymentAddress object } } Specifications Specification Status Comment Basic Card PaymentThe definition of 'cardholderName' in that specification. Working Draft Initial definition. Browser Compatibility The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-d...
BasicCardResponse.expiryMonth - Web APIs
ls property that will contain response details. This has to conform to the structure defined by the BasicCardResponse dictionary, and may look something like this: { "cardNumber' : '9999999999999999", "cardholderName' : 'Mr. Dick Straw", "cardSecurityCode" : "999", "expiryMonth" : "07", "expiryYear" : "2021", "billingAddress" : { "country" : "GB", // etc. billing address is a
PaymentAddress object } } Specifications Specification Status Comment Basic Card PaymentThe definition of 'expiryMonth' in that specification. Working Draft Initial definition. Browser Compatibility The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data...
BasicCardResponse.expiryYear - Web APIs
ls property that will contain response details. This has to conform to the structure defined by the BasicCardResponse dictionary, and may look something like this: { "cardNumber' : '9999999999999999", "cardholderName' : 'Mr. Dick Straw", "cardSecurityCode" : "999", "expiryMonth" : "07", "expiryYear" : "2021", "billingAddress" : { "country" : "GB", // etc. billing address is a
PaymentAddress object } } Specifications Specification Status Comment Basic Card PaymentThe definition of 'expiryYear' in that specification. Working Draft Initial definition. Browser Compatibility The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data ...
BasicCardResponse - Web APIs
ls property that will contain response details. This has to conform to the structure defined by the BasicCardResponse dictionary, and may look something like this: { "cardNumber' : '9999999999999999", "cardholderName' : 'Mr. Dick Straw", "cardSecurityCode" : "999", "expiryMonth" : "07", "expiryYear" : "2021", "billingAddress" : { "country" : "GB", // etc. billing address is a
PaymentAddress object } } Specifications Specification Status Comment Basic Card PaymentThe definition of 'BasicCardResponse' in that specification. Working Draft Initial definition. Browser Compatibility The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compa...
PaymentDetailsUpdate.shippingAddressErrors - Web APIs
The PaymentDetailsUpdate dictionary's shippingAddressErrors property, if present, contains an AddressErrors object whose contents provide error messages for one or more of the values in the
PaymentAddress specified as PaymentRequest.shippingAddress. Syntax var addressErrors = PaymentDetailsUpdate.shippingAddressErrors; Value An AddressErrors object, which contains DOMStrings describing errors in the properties of a
PaymentAddress. For each property in
PaymentAddress, a property by the same name is found in shippingAddressErrors if and only if a validation error occurred for that property. In that case, the property in shippingAddressErrors is a string describing the validation error, ideally including suggestions about fixing the error. Specifications Specification Status ...
PaymentRequest.shippingAddress - Web APIs
You can trigger this by setting PaymentOptions.requestShipping to true when calling the PaymentRequest constructor. In the example below, the cost of shipping varies by geography. ...
PaymentRequest: shippingaddresschange event - Web APIs
the PaymentRequest object when the user selects a shipping address or changes details of their shipping address. Bubbles No Cancelable No Interface PaymentRequestUpdateEvent Event handler property onshippingaddresschange Usage notes Depending on the browser, the shipping address information may be redacted for privacy reasons. That is, the
PaymentAddress which contains the shipping address may have some portions of its content altered, obscured, or left out entirely in order to prevent identifying the user without their consent (since if they choose to have you ship products to them, you'll need their address). Example In this example, a handler for the shippingaddresschange event is set up to validate that the address meets requirements set by...
PaymentResponse.shippingAddress - Web APIs
Example Generally, the user agent will fill the shippingAddress property for you. You can trigger this by setting PaymentOptions.requestShipping to true when calling the PaymentRequest constructor. In the example below, the cost of shipping varies by geography. ...
Web APIs
t OES_fbo_render_mipmap OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object OVR_multiview2 OfflineAudioCompletionEvent OfflineAudioContext OffscreenCanvas OrientationSensor OscillatorNode OverconstrainedError P PageTransitionEvent PaintWorklet PannerNode ParentNode PasswordCredential Path2D PayerErrors
PaymentAddress PaymentCurrencyAmount PaymentDetailsBase PaymentDetailsUpdate PaymentItem PaymentMethodChangeEvent PaymentRequest PaymentRequestEvent PaymentRequestUpdateEvent PaymentResponse PaymentValidationErrors Pbkdf2Params Performance PerformanceEntry PerformanceEventTiming PerformanceFrameTiming PerformanceLongTaskTiming PerformanceMark PerformanceMeasure PerformanceNavigation PerformanceNavigat...