GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for PaymentRequest.

Developer library 6

Firefox 61 release notes for developers

other properties have no default values ([Firefox bug 973638](https://bugzil.la/973638)). - The [Payment Request API](/docs/Web/API/Payment_Request_API) method PaymentRequest.show() now supports using a Promise to let the client-side code provide updated payment details prior to activating the payment interface ([Firefox bug 1441709](https://bugzil.la/1441709)). #### DOM events _No changes._ #### Service workers

CanMakePaymentEvent

event, fired on a payment app's service worker to check whether it is ready to handle a payment. Specifically, it is fired when the merchant website calls the PaymentRequest() constructor. ## Constructor - CanMakePaymentEvent() - : Creates a new `CanMakePaymentEvent` object instance. ## Instance methods - respondWith() - : Enables the service worker to respond appropriately to signal whether it is ready

PaymentAddress

JSON-serializable plain object representing the `PaymentAddress` object. Automatically called by JSON.stringify(). ## Examples In the following example, the PaymentRequest() constructor is used to create a new payment request, which takes three objects as parameters — one containing details of the payment methods that can be used for the payment, one containing details of the actual order (such as items bought and

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress

PaymentRequest

Payment Request API The [Payment Request API's](/docs/Web/API/Payment_Request_API) **`PaymentRequest`** interface is the primary access point into the API, and lets web content and apps accept payments from the end user on behalf of the operator of the site or the publisher of the app. ## Constructor - PaymentRequest() - : Creates a new `PaymentRequest` object. ## Instance properties - PaymentRequest.id -

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequest

PaymentRequest: shippingType property

Payment Request API The **`shippingType`** read-only property of the PaymentRequest interface returns one of `"shipping"`, `"delivery"`, `"pickup"`, or `null` if one was not provided by the constructor. ## Value One of `"shipping"`, `"delivery"`, `"pickup"`, or `null`. ## Browser compatibility

PaymentRequest: shippingOption property

Payment Request API The **`shippingOption`** read-only attribute of the PaymentRequest interface returns either the id of a selected shipping option, null (if no shipping option was set to be selected) or a shipping option selected by the user. It is initially `null` by when no "selected" shipping options are provided. This attribute is only populated if the constructor is called with the `requestShipping` flag set

JSON results · Services directory